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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 7% of CVEs (2026-11-30)
- Published: 2026-09-25T10:23:21.388Z
- Modified: 2026-10-19T10:17:50.063Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 271c865161c57cfabca45b93eaa712b19da365bc before 087b9ee4d36968329c846e6846e4e50f66532888; from 271c865161c57cfabca45b93eaa712b19da365bc before 16c90260ae7ae32d7ac9128fb5da404c37154765; from 271c865161c57cfabca45b93eaa712b19da365bc before 9a7e107734137f098f9b81e5615aa5a02c5395c7; from 271c865161c57cfabca45b93eaa712b19da365bc before 8407da8974326c1ffdfe6a5a9bfc8fed3212bbdf; from 271c865161c57cfabca45b93eaa712b19da365bc before 668ebfea7ba623450b12fdeaa0d080464d0c0a14; from 271c865161c57cfabca45b93eaa712b19da365bc before 81489b32a21c9360f8750d1fb600155d27452e19; 4.1 (not affected: before 4.1; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/087b9ee4d36968329c846e6846e4e50f66532888>
- <https://git.kernel.org/stable/c/16c90260ae7ae32d7ac9128fb5da404c37154765>
- <https://git.kernel.org/stable/c/9a7e107734137f098f9b81e5615aa5a02c5395c7>
- <https://git.kernel.org/stable/c/8407da8974326c1ffdfe6a5a9bfc8fed3212bbdf>
- <https://git.kernel.org/stable/c/668ebfea7ba623450b12fdeaa0d080464d0c0a14>
- <https://git.kernel.org/stable/c/81489b32a21c9360f8750d1fb600155d27452e19>

## Sources

- CVE List: [CVE-2026-97987](https://www.cve.org/CVERecord?id=CVE-2026-97987), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-97987](https://nvd.nist.gov/vuln/detail/CVE-2026-97987), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-97987 · Whole record: https://cve.day/CVE-2026-97987.json · Rebuilt by cve.day 2026-11-25T22:59:41.013Z
