CVE-2024-38637

greybus: lights: check return of get_channel_from_mode

MEDIUM
5.5
CVSS Score
Published: June 21, 2024 at 10:18 AM UTC
Updated: June 17, 2026 at 07:40 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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/[email protected]

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.20 ≤ v < 5.4.2784.9 ≤ v < 4.19.3164.9 ≤ v < 5.10.2194.9 ≤ v < 5.15.1614.9 ≤ v < 5.4.2784.9 ≤ v < 6.1.934.9 ≤ v < 6.104.9 ≤ v < 6.6.334.9 ≤ v < 6.9.45.11 ≤ v < 5.15.1615.16 ≤ v < 6.1.935.5 ≤ v < 5.10.2196.2 ≤ v < 6.6.336.7 ≤ v < 6.9.42870b52bae4c81823ffcb3ed2b0626fb39d64f484.9
Vendor states this is fixed in 330f6bcdcef03f70f81db5f2ed6747af656a09f2 (fixed)
Vendor states this is fixed in 518e2c46b5dbce40b1aa0100001d03c3ceaa7d38 (fixed)
Vendor states this is fixed in 895cdd9aa9546523df839f9cc1488a0ecc1e0731 (fixed)
Vendor states this is fixed in 8f4a76d477f0cc3c54d512f07f6f88c8e1c1e07b (fixed)
Vendor states this is fixed in 9b41a9b9c8be8c552f10633453fdb509e83b66f8 (fixed)
Vendor states this is fixed in a1ba19a1ae7cd1e324685ded4ab563e78fe68648 (fixed)
Vendor states this is fixed in e2c64246e5dc8c0d35ec41770b85e2b4cafdff21 (fixed)
Vendor states this is fixed in eac10cf3a97ffd4b4deb0a29f57c118225a42850 (fixed)
Vendor states this is fixed in 4.19.316 (unaffected)
Vendor states this is fixed in 4.9 (unaffected)
Vendor states this is fixed in 5.10.219 (unaffected)
Vendor states this is fixed in 5.15.161 (unaffected)
Vendor states this is fixed in 5.4.278 (unaffected)
Vendor states this is fixed in 6.1.93 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.33 (unaffected)
Vendor states this is fixed in 6.9.4 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/330f6bcdcef03f70f81db5f2ed6747af656a09f2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/518e2c46b5dbce40b1aa0100001d03c3ceaa7d38
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/895cdd9aa9546523df839f9cc1488a0ecc1e0731
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8f4a76d477f0cc3c54d512f07f6f88c8e1c1e07b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9b41a9b9c8be8c552f10633453fdb509e83b66f8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a1ba19a1ae7cd1e324685ded4ab563e78fe68648
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e2c64246e5dc8c0d35ec41770b85e2b4cafdff21
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eac10cf3a97ffd4b4deb0a29f57c118225a42850

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card