In the Linux kernel, the following vulnerability has been resolved: greybus: lights: check return of get_channel_from_mode If channel for the given node is not found we return null from get_channel_from_mode. Make sure we validate the return pointer before using it in two of the missing places. This was originally reported in [0]: Found by Linux Verification Center (linuxtesting.org) with SVACE. [0] https://lore.kernel.org/all/[email protected]
git.kernel.org/linus/a1ba19a1ae7cd1e324685ded4ab563e78fe68648
git.kernel.org/stable/c/330f6bcdcef03f70f81db5f2ed6747af656a09f2
git.kernel.org/stable/c/518e2c46b5dbce40b1aa0100001d03c3ceaa7d38
git.kernel.org/stable/c/895cdd9aa9546523df839f9cc1488a0ecc1e0731
git.kernel.org/stable/c/8f4a76d477f0cc3c54d512f07f6f88c8e1c1e07b
git.kernel.org/stable/c/9b41a9b9c8be8c552f10633453fdb509e83b66f8
git.kernel.org/stable/c/a1ba19a1ae7cd1e324685ded4ab563e78fe68648
git.kernel.org/stable/c/e2c64246e5dc8c0d35ec41770b85e2b4cafdff21
git.kernel.org/stable/c/eac10cf3a97ffd4b4deb0a29f57c118225a42850
ubuntu.com/security/CVE-2024-38637
ubuntu.com/security/notices/USN-6951-1
ubuntu.com/security/notices/USN-6951-2
ubuntu.com/security/notices/USN-6951-3
ubuntu.com/security/notices/USN-6951-4
ubuntu.com/security/notices/USN-6953-1
ubuntu.com/security/notices/USN-6979-1
ubuntu.com/security/notices/USN-6999-1
ubuntu.com/security/notices/USN-6999-2
ubuntu.com/security/notices/USN-7004-1
ubuntu.com/security/notices/USN-7005-1
ubuntu.com/security/notices/USN-7005-2
ubuntu.com/security/notices/USN-7007-1
ubuntu.com/security/notices/USN-7007-2
ubuntu.com/security/notices/USN-7007-3
ubuntu.com/security/notices/USN-7008-1
ubuntu.com/security/notices/USN-7009-1
ubuntu.com/security/notices/USN-7009-2
ubuntu.com/security/notices/USN-7019-1
ubuntu.com/security/notices/USN-7029-1
www.cve.org/CVERecord?id=CVE-2024-38637