CVE-2026-143224
not scored yetspi: virtio: move teardown to .remove()
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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= f98cabe3f6cf6396b3ae0264800d9b53d7612433, < feaaed040262e1a74c9e3cff91fd9d27849a4661; >= f98cabe3f6cf6396b3ae0264800d9b53d7612433, < 0f453d221d53bbe5ce00c2f80c9948f5570cb55d; >= f98cabe3f6cf6396b3ae0264800d9b53d7612433, < 9060f5ba658c9b0a7332be55b3d8abfc2b08618b | feaaed040262e1a74c9e3cff91fd9d27849a4661, 0f453d221d53bbe5ce00c2f80c9948f5570cb55d, 9060f5ba658c9b0a7332be55b3d8abfc2b08618b |
| CVE List | Linux | Linux | = 6.18 |
References
- https://git.kernel.org/stable/c/0f453d221d53bbe5ce00c2f80c9948f5570cb55d
- https://git.kernel.org/stable/c/9060f5ba658c9b0a7332be55b3d8abfc2b08618b
- https://git.kernel.org/stable/c/feaaed040262e1a74c9e3cff91fd9d27849a4661
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)