CVE-2024-38637

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-38637
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38637.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-38637
Downstream
Related
Published
2024-06-21T10:18:25.560Z
Modified
2025-11-28T02:35:18.855843Z
Summary
greybus: lights: check return of get_channel_from_mode
Details

In the Linux kernel, the following vulnerability has been resolved:

greybus: lights: check return of getchannelfrom_mode

If channel for the given node is not found we return null from getchannelfrom_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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38637.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2870b52bae4c81823ffcb3ed2b0626fb39d64f48
Fixed
8f4a76d477f0cc3c54d512f07f6f88c8e1c1e07b
Fixed
e2c64246e5dc8c0d35ec41770b85e2b4cafdff21
Fixed
eac10cf3a97ffd4b4deb0a29f57c118225a42850
Fixed
330f6bcdcef03f70f81db5f2ed6747af656a09f2
Fixed
9b41a9b9c8be8c552f10633453fdb509e83b66f8
Fixed
518e2c46b5dbce40b1aa0100001d03c3ceaa7d38
Fixed
895cdd9aa9546523df839f9cc1488a0ecc1e0731
Fixed
a1ba19a1ae7cd1e324685ded4ab563e78fe68648

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.9.0
Fixed
4.19.316
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.278
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.219
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.161
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.93
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.33
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.4