Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
5.5
CVE-2024-35883: Linux kernel can crash from failed memory allocation
CVE-2024-35883 · published 2 years ago
Summary
The Linux kernel's SPI driver for certain PCI devices may try to use memory that wasn't successfully allocated, which can cause the system to stop working. Updating to a kernel version that includes the fix prevents this crash. Apply the latest kernel updates from your Linux distribution as soon as possible.
What to do
- Update debian linux to version 6.8.9-1.
- Update linux kernel to version 6.8.5.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Debian:13 | debian | linux |
< 6.8.9-1 Fix: upgrade to 6.8.9-1
|
| – | linux | linux_kernel |
>= 6.2, < 6.6.26 >= 6.7, < 6.8.5 6.9 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Linux | linux | kernel |
>= 6.7.0, < 6.8.5 Fix: upgrade to 6.8.5
|
Original advisory text
spi: mchp-pci1xxx: Fix a possible null pointer dereference in pci1xxx_spi_probe
In the Linux kernel, the following vulnerability has been resolved: spi: mchp-pci1xxx: Fix a possible null pointer dereference in pci1xxx_spi_probe In function pci1xxxx_spi_probe, there is a potential null pointer that may be caused by a failed memory allocation by the function devm_kzalloc. Hence, a null pointer check needs to be added to prevent null pointer dereferencing later in the code. To fix this issue, spi_bus->spi_int[iter] should be checked. The memory allocated by devm_kzalloc will be automatically released, so just directly return -ENOMEM without worrying about memory leaks.
References
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git Product
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35883... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2024-35883 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2024-35883 Vendor Advisory
- https://git.kernel.org/stable/c/1f886a7bfb3faf4c1021e73f045538008ce7634e URL
- https://git.kernel.org/stable/c/4b31a226097cf8cc3c9de5e855d97757fdb2bf06 URL
- https://git.kernel.org/stable/c/95e5d9eb26705a9a76d2ef8bcba9ee2e195d653d URL
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Severity
5.5
Medium
Type
CWE-476NULL Pointer Dereference
Timeline
Published19 May 2024
Updated4 Nov 2026
First seen12 Mar 2026
Track software like this
Free during beta