CVE-2024-26770
published 2024-04-03CVE-2024-26770: In the Linux kernel, the following vulnerability has been resolved: HID: nvidia-shield: Add missing null pointer checks to LED initialization devm_kasprintf()…
PriorityP419medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.24%
14.8th percentile
In the Linux kernel, the following vulnerability has been resolved:
HID: nvidia-shield: Add missing null pointer checks to LED initialization
devm_kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure. Ensure the allocation was successful
by checking the pointer validity.
[[email protected]: tweak changelog a bit]
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.7.7-1 (forky) | linux 6.7.7-1 (forky) |
| linux | linux | — | — |
| linux | linux | >= 09308562d4afb1abc66366608fa1cb9de783272f < 83527a13740f57b45f162e3af4c7db4b88521100 | 83527a13740f57b45f162e3af4c7db4b88521100 |
| linux | linux | >= 09308562d4afb1abc66366608fa1cb9de783272f < e71cc4a1e584293deafff1a7dea614b0210d0443 | e71cc4a1e584293deafff1a7dea614b0210d0443 |
| linux | linux | >= 09308562d4afb1abc66366608fa1cb9de783272f < b6eda11c44dc89a681e1c105f0f4660e69b1e183 | b6eda11c44dc89a681e1c105f0f4660e69b1e183 |
| linux | linux_kernel | < 6.6.19 | 6.6.19 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 6.7.7-1 | 6.7.7-1 |
| linux | linux_kernel | >= 0 < 6.7.7-1 | 6.7.7-1 |
| linux | linux_kernel | >= 6.7 < 6.7.7 | 6.7.7 |
| msrc | cbl2_kernel_5.15.186.1-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_kernel_5.15.200.1-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_kernel_5.15.202.1-1_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5LOW
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
HID: nvidia-shield: Add missing null pointer checks to LED initialization
vendor_msrc·2024-04-09·CVSS 5.5
CVE-2024-26770 [MEDIUM] CWE-476 HID: nvidia-shield: Add missing null pointer checks to LED initialization
HID: nvidia-shield: Add missing null pointer checks to LED initialization
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
Linux: Linux
Customer Action Required: Yes
Red Hat
kernel: HID: nvidia-shield: Add missing null pointer checks to LED initialization
vendor_redhat·2024-04-03·CVSS 5.5
CVE-2024-26770 [MEDIUM] CWE-170 kernel: HID: nvidia-shield: Add missing null pointer checks to LED initialization
kernel: HID: nvidia-shield: Add missing null pointer checks to LED initialization
In the Linux kernel, the following vulnerability has been resolved:
HID: nvidia-shield: Add missing null pointer checks to LED initialization
devm_kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure. Ensure the allocation was successful
by checking the pointer validity.
[[email protected]: tweak changelog a bit]
A vulnerability was found in the Linux kernel during LED initialization in the devm_kasprintf() function, which returns a pointer to dynamically allocated memory. This pointer could return NULL if the function fails, which could result in crashes or undefined behavior.
Statement: Red Hat Enterprise Linux 8 is not affected because nvidia-shield code is not pre
Debian
CVE-2024-26770: linux - In the Linux kernel, the following vulnerability has been resolved: HID: nvidia...
vendor_debian·2024·CVSS 5.5
CVE-2024-26770 [MEDIUM] CVE-2024-26770: linux - In the Linux kernel, the following vulnerability has been resolved: HID: nvidia...
In the Linux kernel, the following vulnerability has been resolved: HID: nvidia-shield: Add missing null pointer checks to LED initialization devm_kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Ensure the allocation was successful by checking the pointer validity. [[email protected]: tweak changelog a bit]
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved (fixed in 6.7.7-1)
sid: resolved (fixed in 6.7.7-1)
trixie: resolved (fixed in 6.7.7-1)
OSV
CVE-2024-26770: In the Linux kernel, the following vulnerability has been resolved: HID: nvidia-shield: Add missing null pointer checks to LED initialization devm_kas
osv·2024-04-03·CVSS 5.5
CVE-2024-26770 [MEDIUM] CVE-2024-26770: In the Linux kernel, the following vulnerability has been resolved: HID: nvidia-shield: Add missing null pointer checks to LED initialization devm_kas
In the Linux kernel, the following vulnerability has been resolved: HID: nvidia-shield: Add missing null pointer checks to LED initialization devm_kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Ensure the allocation was successful by checking the pointer validity. [[email protected]: tweak changelog a bit]
GHSA
GHSA-jp9p-8gwp-x6cf: In the Linux kernel, the following vulnerability has been resolved:
HID: nvidia-shield: Add missing null pointer checks to LED initialization
devm_k
ghsa_unreviewed·2024-04-03
CVE-2024-26770 [MEDIUM] CWE-476 GHSA-jp9p-8gwp-x6cf: In the Linux kernel, the following vulnerability has been resolved:
HID: nvidia-shield: Add missing null pointer checks to LED initialization
devm_k
In the Linux kernel, the following vulnerability has been resolved:
HID: nvidia-shield: Add missing null pointer checks to LED initialization
devm_kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure. Ensure the allocation was successful
by checking the pointer validity.
[[email protected]: tweak changelog a bit]
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/83527a13740f57b45f162e3af4c7db4b88521100https://git.kernel.org/stable/c/b6eda11c44dc89a681e1c105f0f4660e69b1e183https://git.kernel.org/stable/c/e71cc4a1e584293deafff1a7dea614b0210d0443https://git.kernel.org/stable/c/83527a13740f57b45f162e3af4c7db4b88521100https://git.kernel.org/stable/c/b6eda11c44dc89a681e1c105f0f4660e69b1e183https://git.kernel.org/stable/c/e71cc4a1e584293deafff1a7dea614b0210d0443
2024-04-03
Published