CVE-2026-97986
virtio_input: stop callbacks before unregistering input device
Reported by linux · Published September 25, 2026
In the Linux kernel, the following vulnerability has been resolved: virtio_input: stop callbacks before unregistering input device virtinput_remove() unregisters the input device before resetting the virtio device. virtinput_recv_events() drops vi->lock around input_event(), so clearing vi->ready does not stop a callback that passed the entry check. It can still use vi->idev, requeue buffers and kick the queue. Reset first, as virtinput_freeze() already does. With the preceding core change, reset waits for callbacks before input_unregister_device() can free vi->idev. Recheck vi->ready after taking the lock again: keep draining completed events so an input packet is not truncated, but stop requeueing buffers and kicking the queue. With evdev attached, input_unregister_handle() currently waits for an RCU grace period, which also waits out IRQ callbacks. This masks the lifetime bug on PCI and MMIO, but does not protect sleepable callbacks on other transports.
EPSS 0.17% · 6.7th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 271c865161c57cfabca45b93eaa712b19da365bc, 271c865161c57cfabca45b93eaa712b19da365bc, 271c865161c57cfabca45b93eaa712b19da365bc |
| Linux | Linux | 4.1, 0, 6.1.189 |
| linux | linux_kernel | 4.1, 4.1, 4.1 |
| Linux | Linux | 271c865161c57cfabca45b93eaa712b19da365bc, 271c865161c57cfabca45b93eaa712b19da365bc, 271c865161c57cfabca45b93eaa712b19da365bc |
Timeline
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (9 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-97986
vulnetix vdb fixes CVE-2026-97986
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97986/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart