CVE-2026-97987 PUBLISHED

virtio_input: reset device if input_register_device() fails

Assigner: Linux
Reserved: 25.09.2026 Published: 25.09.2026 Updated: 25.09.2026

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

virtio_input: reset device if input_register_device() fails

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

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

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 271c865161c57cfabca45b93eaa712b19da365bc to 9a7e107734137f098f9b81e5615aa5a02c5395c7 (excl.)
  • affected from 271c865161c57cfabca45b93eaa712b19da365bc to 8407da8974326c1ffdfe6a5a9bfc8fed3212bbdf (excl.)
  • affected from 271c865161c57cfabca45b93eaa712b19da365bc to 668ebfea7ba623450b12fdeaa0d080464d0c0a14 (excl.)
  • affected from 271c865161c57cfabca45b93eaa712b19da365bc to 81489b32a21c9360f8750d1fb600155d27452e19 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.1 is affected
  • unaffected from 0 to 4.1 (excl.)
  • unaffected from 6.12.111 to 6.12.* (incl.)
  • unaffected from 6.18.53 to 6.18.* (incl.)
  • unaffected from 7.2.7 to 7.2.* (incl.)
  • unaffected from 7.3-rc3 to * (incl.)

References