Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2024-26866

medium

In the Linux kernel, the following vulnerability has been resolved: spi: lpspi: Avoid potential use-after-free in probe() fsl_lpspi_probe() is allocating/dis…

Vendor / product: Linux — linux kernel

In the Linux kernel, the following vulnerability has been resolved: spi: lpspi: Avoid potential use-after-free in probe() fsl_lpspi_probe() is allocating/disposing memory manually with spi_alloc_host()/spi_alloc_target(), but uses devm_spi_register_controller(). In case of error after the latter call the memory will be explicitly freed in the probe function by spi_controller_put() call, but used afterwards by "devm" management outside probe() (spi_unregister_controller()

CVSS
5.5
5.5 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2024-04-17 11:15
Modified: 2026-10-30 13:17
NVD status: Modified
Last synced 3 days ago
Verified against the source API 2026-10-30 13:38 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

linux / linux_kernel ≥4.10 <6.6.23, ≥6.7 <6.7.11, ≥6.8 <6.8.2

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/1543418e82789cc383cd36d41469983c64e3fc7f
Patch / mitigation: https://git.kernel.org/stable/c/2ae0ab0143fcc06190713ed81a6486ed0ad3c861
Patch / mitigation: https://git.kernel.org/stable/c/996ce839606afd0fef91355627868022aa73eb68
Patch / mitigation: https://git.kernel.org/stable/c/da83ed350e4604b976e94239b08d8e2e7eaee7ea
Patch / mitigation: https://git.kernel.org/stable/c/1543418e82789cc383cd36d41469983c64e3fc7f
Patch / mitigation: https://git.kernel.org/stable/c/2ae0ab0143fcc06190713ed81a6486ed0ad3c861
Patch / mitigation: https://git.kernel.org/stable/c/996ce839606afd0fef91355627868022aa73eb68
Patch / mitigation: https://git.kernel.org/stable/c/da83ed350e4604b976e94239b08d8e2e7eaee7ea

References

Data sources

NVD CVE API 2.0 — fetched 2026-10-30 13:38 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs