spi: virtio: move teardown to .remove()
Summary
| CVE | CVE-2026-143224 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:18:01 UTC |
| Updated | 2026-12-03 10:18:01 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: spi: virtio: move teardown to .remove() The .remove() callback is not marked as optional for a virtio_driver, and thus a missing one is a bug. Moreover, the virtio framework expects a driver to reset the device it controls during teardown and explicitly checks for this reading the device status and WARNing in case it is still running. Any devm cleanup action gets however called after that check, leading to the WARN_ON condition to always be true for spi-virtio; thus, an empty remove() is not an option. Move the cleanup actions to the .remove() callback of the driver and adapt the surrounding code to the new behavior. |
Risk And Classification
EPSS: 0.002060000 probability, percentile 0.113170000 (date 2026-12-03)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected f98cabe3f6cf6396b3ae0264800d9b53d7612433 feaaed040262e1a74c9e3cff91fd9d27849a4661 git | Not specified |
| CNA | Linux | Linux | affected f98cabe3f6cf6396b3ae0264800d9b53d7612433 0f453d221d53bbe5ce00c2f80c9948f5570cb55d git | Not specified |
| CNA | Linux | Linux | affected f98cabe3f6cf6396b3ae0264800d9b53d7612433 9060f5ba658c9b0a7332be55b3d8abfc2b08618b git | Not specified |
| CNA | Linux | Linux | affected 6.18 | Not specified |
| CNA | Linux | Linux | unaffected 6.18 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.66 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.7 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/feaaed040262e1a74c9e3cff91fd9d27849a4661 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/9060f5ba658c9b0a7332be55b3d8abfc2b08618b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0f453d221d53bbe5ce00c2f80c9948f5570cb55d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.