Skip to main content
Network Thinking Solutions Logo

CVE-2026-23068

Linux kernel: spi: spi-sprd-adi: Fix double free in probe error path

All CVEs
CVE-2026-23068Published 2/4/2026

Linux kernel: spi: spi-sprd-adi: Fix double free in probe error path

Vendor advisory
CVSS7.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: spi: spi-sprd-adi: Fix double free in probe error path The driver currently uses spi_alloc_host() to allocate the controller but registers it using devm_spi_register_controller(). If devm_register_restart_handler() fails, the code jumps to the put_ctlr label and calls spi_controller_put(). However, since the controller was registered via a devm function, the device core will automatically call spi_controller_put() again when the probe fails. This results in a double-free of the spi_controller structure. Fix this by switching to devm_spi_alloc_host() and removing the manual spi_controller_put() call.

Published
2/4/2026
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.17, < 6.1.162

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.122

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.68

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.18.8

Verify advisory

Source
linux kernel
linux
6.19

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ ac1775012058e13ef1522938e27f5973d9e3f053, < bddd3d10d039729b81cfb0804520c8832a701a0e

Verify advisory

Source
Linux
Linux
≥ ac1775012058e13ef1522938e27f5973d9e3f053, < 417cdfd9b9f986e95bfcb1d68eb443e6e0a15f8c

Verify advisory

Source
Linux
Linux
≥ ac1775012058e13ef1522938e27f5973d9e3f053, < 346775f2b4cf839177e8e86b94aa180a06dc15b0

Verify advisory

Source
Linux
Linux
≥ ac1775012058e13ef1522938e27f5973d9e3f053, < f6d6b3f172df118db582fe5ec43ae223a55d99cf

Verify advisory

Source
Linux
Linux
≥ ac1775012058e13ef1522938e27f5973d9e3f053, < 383d4f5cffcc8df930d95b06518a9d25a6d74aac

Verify advisory

Source
Linux
Linux
4.17

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.