VDB

CVE-2026-97986

CVE-2026-97986 PUBLISHED

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

EPSS Score
0.17%
6.7th percentile

Affected products

VendorProductVersions
LinuxLinux271c865161c57cfabca45b93eaa712b19da365bc, 271c865161c57cfabca45b93eaa712b19da365bc, 271c865161c57cfabca45b93eaa712b19da365bc
LinuxLinux4.1, 0, 6.1.189
linuxlinux_kernel4.1, 4.1, 4.1
LinuxLinux271c865161c57cfabca45b93eaa712b19da365bc, 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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›