CVE-2026-143224: spi: virtio: move teardown to .remove()

Published Dec 3, 2026
·
Updated

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 virtiodriver, 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 WARNON 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.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7
  3. Compensating control

    For spi-virtio, move cleanup actions to the driver's .remove() callback, ensure the callback is non-empty, and adapt the surrounding code to the new teardown behavior.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:20 AM
Data Sourced
via MITRE·09:20 AM
Description
Data Sourced
via OSV·09:20 AM
DescriptionAffected Software
Data Sourced
via NVD·10:18 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel spi-virtio driver are affected during driver or device teardown. The issue concerns the virtio SPI driver lifecycle rather than normal SPI transaction handling.

2

What is required to trigger the problem?

The spi-virtio driver must be removed or its device torn down while it is still under virtio framework control. The framework checks whether the device was reset during teardown, but the original cleanup occurred too late through a devm cleanup action.

3

How can I tell whether a system is affected?

An affected system can emit a WARN_ON condition during spi-virtio teardown because the virtio device remains running when the framework performs its status check. Review kernel logs around removal of the spi-virtio driver or associated virtio device.

4

What is the mitigation if an update cannot be applied immediately?

No configuration-based mitigation is provided. Limit exposure by avoiding removal or teardown of devices using the spi-virtio driver until a kernel containing the corrected teardown behavior can be deployed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203