CVE-2024-38637
greybus: lights: check return of get_channel_from_mode
Check your servers for CVE-2024-38637
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-38637 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before 8f4a76d477f0cc3c54d512f07f6f88c8e1c1e07b affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before e2c64246e5dc8c0d35ec41770b85e2b4cafdff21 affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before eac10cf3a97ffd4b4deb0a29f57c118225a42850 affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before 330f6bcdcef03f70f81db5f2ed6747af656a09f2 affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before 9b41a9b9c8be8c552f10633453fdb509e83b66f8 affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before 518e2c46b5dbce40b1aa0100001d03c3ceaa7d38 affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before 895cdd9aa9546523df839f9cc1488a0ecc1e0731 affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before a1ba19a1ae7cd1e324685ded4ab563e78fe68648
Other versions: unaffected
|
| Linux |
affected 4.9 unaffected before 4.9 unaffected from 4.19.316 up to and including 4.19.* unaffected from 5.4.278 up to and including 5.4.* unaffected from 5.10.219 up to and including 5.10.* unaffected from 5.15.161 up to and including 5.15.* unaffected from 6.1.93 up to and including 6.1.* unaffected from 6.6.33 up to and including 6.6.* unaffected from 6.9.4 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-38637 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-38637
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-38637
trivy image --scanners vuln IMAGE | grep CVE-2024-38637
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/8f4a76d477f0cc3c54d512f07f6f88c8e1c1e07b git.kernel.org
- https://git.kernel.org/stable/c/e2c64246e5dc8c0d35ec41770b85e2b4cafdff21 git.kernel.org
- https://git.kernel.org/stable/c/eac10cf3a97ffd4b4deb0a29f57c118225a42850 git.kernel.org
- https://git.kernel.org/stable/c/330f6bcdcef03f70f81db5f2ed6747af656a09f2 git.kernel.org
- https://git.kernel.org/stable/c/9b41a9b9c8be8c552f10633453fdb509e83b66f8 git.kernel.org
- https://git.kernel.org/stable/c/518e2c46b5dbce40b1aa0100001d03c3ceaa7d38 git.kernel.org
- https://git.kernel.org/stable/c/895cdd9aa9546523df839f9cc1488a0ecc1e0731 git.kernel.org
- https://git.kernel.org/stable/c/a1ba19a1ae7cd1e324685ded4ab563e78fe68648 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
Source: the record CVE-2024-38637 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse