CVE-2024-35883
kernel: spi: mchp-pci1xxx: Fix a possible null pointer dereference in pci1xxx_spi_probe
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 19, 2024
Updated · November 21, 2025
Description
A vulnerability was found in the Linux kernel's spi spi-pci1xxxx.c driver in the pci1xxxx_spi_probe() function. The issue occurred due to inadequate checks, which can lead to a NULL pointer dereference. This flaw is caused by a failed memory allocation in the devm_kzalloc() function, which is saved in spi_bus->spi_int[iter] and then used without checking, possibly leading to system instability.
Statement
Red Hat Enterprise Linux is not impacted by this CVE, as the vulnerability in question does not affect the specific versions or configurations of the Linux kernel used in its distributions. This ensures that users of Red Hat Enterprise Linux are not exposed to the potential risks associated with this issue, and no further action or mitigation is necessary for systems running this operating system.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE not specified