# CVE-2026-97986: virtio\_input: stop callbacks before unregistering input device

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-25T10:23:20.801Z
- **Modified:** 2026-10-19T10:17:49.960Z

## Who should check

- Anyone running Linux \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< 3ae729b1f8ab81d1244061872db2fb0ebb110d2a; \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< 81073bca2062c916c818f2744fbab545a5c4982b; \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< 8226aeee9b9a94cd699fbb51cb230feff46cfaf2; \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< a3ba86a270dd87460759214046dc7cbd409ac711; \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< 5378f7945856a5ed88e6f9850bc7a68f54090135; \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< d7808b37da0a619cf1fa541c2384e783fecc2480
- Anyone running Linux 4.1

## 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.

## Affected and fixed versions

- Linux: \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< 3ae729b1f8ab81d1244061872db2fb0ebb110d2a; \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< 81073bca2062c916c818f2744fbab545a5c4982b; \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< 8226aeee9b9a94cd699fbb51cb230feff46cfaf2; \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< a3ba86a270dd87460759214046dc7cbd409ac711; \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< 5378f7945856a5ed88e6f9850bc7a68f54090135; \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< d7808b37da0a619cf1fa541c2384e783fecc2480 (cvelist)
- Linux: 4.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97986. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97986.md
Affected: Linux >= 271c865161c57cfabca45b93eaa712b19da365bc, < 3ae729b1f8ab81d1244061872db2fb0ebb110d2a; >= 271c865161c57cfabca45b93eaa712b19da365bc, < 81073bca2062c916c818f2744fbab545a5c4982b; >= 271c865161c57cfabca45b93eaa712b19da365bc, < 8226aeee9b9a94cd699fbb51cb230feff46cfaf2; >= 271c865161c57cfabca45b9…
Fixed in: Linux 3ae729b1f8ab81d1244061872db2fb0ebb110d2a, Linux 81073bca2062c916c818f2744fbab545a5c4982b, Linux 8226aeee9b9a94cd699fbb51cb230feff46cfaf2, Linux 5378f7945856a5ed88e6f9850bc7a68f54090135

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97986 being exploited?

There is no confirmed exploitation: CVE-2026-97986 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97986?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-97986?

Linux \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< 3ae729b1f8ab81d1244061872db2fb0ebb110d2a; \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< 81073bca2062c916c818f2744fbab545a5c4982b; \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< 8226aeee9b9a94cd699fbb51cb230feff46cfaf2; \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< a3ba86a270dd87460759214046dc7cbd409ac711; \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< 5378f7945856a5ed88e6f9850bc7a68f54090135; \>= 271c865161c57cfabca45b93eaa712b19da365bc, \< d7808b37da0a619cf1fa541c2384e783fecc2480; Linux 4.1.

### Is there a fix for CVE-2026-97986?

Yes. Fixed in Linux 3ae729b1f8ab81d1244061872db2fb0ebb110d2a, Linux 81073bca2062c916c818f2744fbab545a5c4982b, Linux 8226aeee9b9a94cd699fbb51cb230feff46cfaf2, Linux 5378f7945856a5ed88e6f9850bc7a68f54090135. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-97986?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/3ae729b1f8ab81d1244061872db2fb0ebb110d2a>
- other: <https://git.kernel.org/stable/c/81073bca2062c916c818f2744fbab545a5c4982b>
- other: <https://git.kernel.org/stable/c/8226aeee9b9a94cd699fbb51cb230feff46cfaf2>
- other: <https://git.kernel.org/stable/c/a3ba86a270dd87460759214046dc7cbd409ac711>
- other: <https://git.kernel.org/stable/c/5378f7945856a5ed88e6f9850bc7a68f54090135>
- other: <https://git.kernel.org/stable/c/d7808b37da0a619cf1fa541c2384e783fecc2480>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97986>

HTML: <https://flawdb.com/CVE-2026-97986> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97986>
