CVE-2026-97987: virtio_input: reset device if input_register_device() fails

Published Sep 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

virtioinput: reset device if inputregisterdevice() fails

Probe marks the device DRIVEROK with virtiodeviceready() before calling inputregisterdevice(). If registration fails, the error path cleared vi->ready and called delvqs() while the device was still live, so the device could keep DMA to queues that were already torn down.

Match remove/freeze: call virtioresetdevice() on that path before tearing down the virtqueues.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the virtio_input registration-failure path, call virtio_reset_device() before tearing down the virtqueues with del_vqs(), so the device cannot continue DMA to queues that have already been removed.

Event History

Sep 25, 2026
CVE Published
via MITRE·10:23 AM
Data Sourced
via MITRE·10:23 AM
Description
Data Sourced
via NVD·11:17 AM
Description

Frequently Asked Questions

1

When is a system exposed to this issue?

The affected path is reached when a virtio input device is being probed and input_register_device() fails. The issue concerns teardown after that registration failure, when virtqueues could be removed while the device remains live.

2

What is the immediate technical consequence of the faulty error path?

The device may retain DMA access to virtqueues after those queues have been torn down. The resolved code resets the virtio device before deleting the virtqueues, matching the remove and freeze paths.

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