VDB

CVE-2024-35883

CVE-2024-35883 PUBLISHED

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

Reported by linux · Published May 19, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinux95e5d9eb26705a9a76d2ef8bcba9ee2e195d653d, 6.2, 4b31a226097cf8cc3c9de5e855d97757fdb2bf06, 1f886a7bfb3faf4c1021e73f045538008ce7634e

Affected products

VendorProductVersions
LinuxLinux1cc0cbea7167af524a7f7b2d0d2f19f7a324e807, 1cc0cbea7167af524a7f7b2d0d2f19f7a324e807, 1cc0cbea7167af524a7f7b2d0d2f19f7a324e807
LinuxLinux6.2, 0, 6.6.26
LinuxLinux6.9, 6.2, 6.6.26
linuxlinux_kernel6.2, 6.2, 6.2

Timeline

  • May 19, 2024 CVE Published
  • May 20, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 10, 2026 Security Advisory (436 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (331 in total, the first dated here)
  • Nov 15, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-35883
vulnetix vdb fixes CVE-2024-35883

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35883/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›