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 VendorProductAffected 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.
Fix within
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
Exploitation
<1% chance of attack within 30 days
Type
CWE-476NULL Pointer Dereference
Timeline
Published19 May 2024
Updated4 Nov 2026
First seen12 Mar 2026
Sources
CVE-2024-35883 · NVD
Track software like this
Free during beta