CVE-2024-38637

published 21 Jun 2024 · updated 11 May 2026

greybus: lights: check return of get_channel_from_mode

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 330f6bcdcef03f70f81db5f2ed6747af656a09f2, Kernel 518e2c46b5dbce40b1aa0100001d03c3ceaa7d38, Kernel 895cdd9aa9546523df839f9cc1488a0ecc1e0731 and 5 more.

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/20240301190425.120605-1-m.lobanov@rosalinux.ru

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.9, >=2870b52bae4c81823ffcb3ed2b0626fb39d64f48 <330f6bcdcef03f70f81db5f2ed6747af656a09f2, >=2870b52bae4c81823ffcb3ed2b0626fb39d64f48 <518e2c46b5dbce40b1aa0100001d03c3ceaa7d38, >=2870b52bae4c81823ffcb3ed2b0626fb39d64f48 <895cdd9aa9546523df839f9cc1488a0ecc1e0731, >=2870b52bae4c81823ffcb3ed2b0626fb39d64f48 <8f4a76d477f0cc3c54d512f07f6f88c8e1c1e07b, >=2870b52bae4c81823ffcb3ed2b0626fb39d64f48 <9b41a9b9c8be8c552f10633453fdb509e83b66f8, >=2870b52bae4c81823ffcb3ed2b0626fb39d64f48 <a1ba19a1ae7cd1e324685ded4ab563e78fe68648, >=2870b52bae4c81823ffcb3ed2b0626fb39d64f48 <e2c64246e5dc8c0d35ec41770b85e2b4cafdff21, >=2870b52bae4c81823ffcb3ed2b0626fb39d64f48 <eac10cf3a97ffd4b4deb0a29f57c118225a42850330f6bcdcef03f70f81db5f2ed6747af656a09f2, 518e2c46b5dbce40b1aa0100001d03c3ceaa7d38, 895cdd9aa9546523df839f9cc1488a0ecc1e0731, 8f4a76d477f0cc3c54d512f07f6f88c8e1c1e07b, 9b41a9b9c8be8c552f10633453fdb509e83b66f8, a1ba19a1ae7cd1e324685ded4ab563e78fe68648, e2c64246e5dc8c0d35ec41770b85e2b4cafdff21, eac10cf3a97ffd4b4deb0a29f57c118225a42850

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-38637 severity on Zeptric[![CVE-2024-38637](https://zeptric.io/badge/cve/CVE-2024-38637.svg)](https://zeptric.io/cve/CVE-2024-38637)