CVE-2026-97986
virtio_input: stop callbacks before unregistering input device
Check your servers for CVE-2026-97986
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-97986 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.82% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 271c865161c57cfabca45b93eaa712b19da365bc, before 3ae729b1f8ab81d1244061872db2fb0ebb110d2a affected from 271c865161c57cfabca45b93eaa712b19da365bc, before 81073bca2062c916c818f2744fbab545a5c4982b affected from 271c865161c57cfabca45b93eaa712b19da365bc, before 8226aeee9b9a94cd699fbb51cb230feff46cfaf2 affected from 271c865161c57cfabca45b93eaa712b19da365bc, before a3ba86a270dd87460759214046dc7cbd409ac711 affected from 271c865161c57cfabca45b93eaa712b19da365bc, before 5378f7945856a5ed88e6f9850bc7a68f54090135 affected from 271c865161c57cfabca45b93eaa712b19da365bc, before d7808b37da0a619cf1fa541c2384e783fecc2480
Other versions: unaffected
|
| Linux |
affected 4.1 unaffected before 4.1 unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.7 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-97986 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97986
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-97986
trivy image --scanners vuln IMAGE | grep CVE-2026-97986
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/3ae729b1f8ab81d1244061872db2fb0ebb110d2a git.kernel.org
- https://git.kernel.org/stable/c/81073bca2062c916c818f2744fbab545a5c4982b git.kernel.org
- https://git.kernel.org/stable/c/8226aeee9b9a94cd699fbb51cb230feff46cfaf2 git.kernel.org
- https://git.kernel.org/stable/c/a3ba86a270dd87460759214046dc7cbd409ac711 git.kernel.org
- https://git.kernel.org/stable/c/5378f7945856a5ed88e6f9850bc7a68f54090135 git.kernel.org
- https://git.kernel.org/stable/c/d7808b37da0a619cf1fa541c2384e783fecc2480 git.kernel.org
Source: the record CVE-2026-97986 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse