CVE-2024-35883spi: mchp-pci1xxx: Fix a possible null pointer dereference in pci1xxx_spi_probe
- 5.5MediumCVSS base score
- 0.23%Exploitation in 30 daysEPSS · top 86% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By Linux
- 2 days later
· 2 days later
Published
- 24 months later
· 24 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.23% · top 86% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 1cc0cbea7167af524a7f7b2d0d2f19f7a324e807 – < 4b31a226097cf8cc3c9de5e855d97757fdb2bf06
- affected 1cc0cbea7167af524a7f7b2d0d2f19f7a324e807 – < 95e5d9eb26705a9a76d2ef8bcba9ee2e195d653d
- affected 1cc0cbea7167af524a7f7b2d0d2f19f7a324e807 – < 1f886a7bfb3faf4c1021e73f045538008ce7634e
- affected 6.2
- unaffected < 6.2
- unaffected 6.6.26 – ≤ 6.6.*
- unaffected 6.8.5 – ≤ 6.8.*
- unaffected 6.9 – ≤ *
References
References3
- https://git.kernel.org/stable/c/4b31a226097cf8cc3c9de5e855d97757fdb2bf06 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/95e5d9eb26705a9a76d2ef8bcba9ee2e195d653d (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/1f886a7bfb3faf4c1021e73f045538008ce7634e (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-35601 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-35883)Record last updated .