CVE-2024-35883: spi: mchp-pci1xxx: Fix a possible null pointer dereference in pci1xxx_spi_probe

Published May 19, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

spi: mchp-pci1xxx: Fix a possible null pointer dereference in pci1xxxspiprobe

In function pci1xxxxspiprobe, there is a potential null pointer that may be caused by a failed memory allocation by the function devmkzalloc. Hence, a null pointer check needs to be added to prevent null pointer dereferencing later in the code.

To fix this issue, spibus->spiint[iter] should be checked. The memory allocated by devmkzalloc will be automatically released, so just directly return -ENOMEM without worrying about memory leaks.

Affected Software

5 affected componentsFixes available
Linux Linux kernel>=6.2<6.6.26
Linux Linux kernel>=6.7<6.8.5
Linux Linux kernel=6.9-rc1
Linux Linux kernel=6.9-rc2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1

Event History

May 19, 2024
CVE Published
via MITRE·08:34 AM
Data Sourced
via MITRE·08:34 AM
Description
Jul 15, 2024
Data Sourced
via Launchpad·07:46 PM
Description
Jan 11, 2025
Data Sourced
via Ubuntu·08:25 PM
RemedyDescriptionSeverityAffected Software
Apr 27, 2025
Data Sourced
via Debian·12:22 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35883?

CVE-2024-35883 has a severity rating that is categorized under the Common Vulnerability Scoring System due to its potential to cause a null pointer dereference.

2

How do I fix CVE-2024-35883?

To fix CVE-2024-35883, update the Linux kernel to the latest available version that addresses this vulnerability.

3

Which versions of the Linux kernel are affected by CVE-2024-35883?

CVE-2024-35883 affects Linux kernel versions from 6.2 to 6.6.26 and from 6.7 to 6.8.5, along with 6.9-rc1 and 6.9-rc2.

4

What causes the vulnerability CVE-2024-35883?

CVE-2024-35883 is caused by a possible null pointer dereference that may result from a failed memory allocation in the pci1xxx_spi_probe function.

5

Is there a patch available for CVE-2024-35883?

Yes, there are specific patched versions available such as 6.12.11-1 and 6.12.12-1 in the Debian package system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203