CVE-2026-97995
virtio_console: do not free control-out buffers on remove
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < b1f39c2a676698cc64c8e105e08b25111a112ec6; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < e03522a990cd2e0f1a736eaa349a9df9ab8541c3; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 8f6cfc3eca79b8e108d0823756101e2f4f9d811f; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 2e40c69b9c3448b9c6609cd02013da593b2e123b; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 177ee901aa2bab02e7f1f8edbb814fd5e386ed62; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < a80c33488e0bbe642ed803b13a4ac8078a70b507; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < f620c40ea6862feed84deb105568b21ec53a7830; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 894f98e73983f37354214a89a3a7fd35bf9e3072; f92b16b815efe8207090a9b5a767618fd89542ca; d2bbfac82b7942afc5d8e564d7087835280df495; …
- Anyone running Linux 4.17
Vulnerability facts
- Affected
- Linux >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < b1f39c2a676698cc64c8e105e08b25111a112ec6; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < e03522a990cd2e0f1a736eaa349a9df9ab8541c3; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 8f6cfc3eca79b8e108d0823756101e2f4f9d811f; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 2e40c69b9c3448b9c6609cd02013da593b2e123b; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 177ee901aa2bab02e7f1f8edbb814fd5e386ed62; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < a80c33488e0bbe642ed803b13a4ac8078a70b507; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < f620c40ea6862feed84deb105568b21ec53a7830; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 894f98e73983f37354214a89a3a7fd35bf9e3072; f92b16b815efe8207090a9b5a767618fd89542ca; d2bbfac82b7942afc5d8e564d7087835280df495; …; Linux 4.17
- Fixed in
- Linux 8f6cfc3eca79b8e108d0823756101e2f4f9d811f, Linux 2e40c69b9c3448b9c6609cd02013da593b2e123b, Linux 177ee901aa2bab02e7f1f8edbb814fd5e386ed62, Linux 894f98e73983f37354214a89a3a7fd35bf9e3072
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: virtio_console: do not free control-out buffers on remove __send_control_msg() publishes &portdev->cpkt as the control-out virtqueue cookie. remove_vqs() walks every virtqueue and passes leftover cookies to free_buf(), which treats them as struct port_buffer and reads sgpages. If a control message is still on c_ovq when the device is unbound, free_buf() reads past the ports_device object. KASAN reported slab-out-of-bounds in free_buf(): free_buf remove_vqs virtcons_remove unbind_store The object was the ports_device allocated in virtcons_probe(). Drain c_ovq without freeing. The packet lives in portdev and is released with it.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < b1f39c2a676698cc64c8e105e08b25111a112ec6; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < e03522a990cd2e0f1a736eaa349a9df9ab8541c3; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 8f6cfc3eca79b8e108d0823756101e2f4f9d811f; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 2e40c69b9c3448b9c6609cd02013da593b2e123b; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 177ee901aa2bab02e7f1f8edbb814fd5e386ed62; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < a80c33488e0bbe642ed803b13a4ac8078a70b507; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < f620c40ea6862feed84deb105568b21ec53a7830; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 894f98e73983f37354214a89a3a7fd35bf9e3072; f92b16b815efe8207090a9b5a767618fd89542ca; d2bbfac82b7942afc5d8e564d7087835280df495; … | — | cvelist |
| Linux | 4.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-97995. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-97995.md Affected: Linux >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < b1f39c2a676698cc64c8e105e08b25111a112ec6; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < e03522a990cd2e0f1a736eaa349a9df9ab8541c3; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 8f6cfc3eca79b8e108d0823756101e2f4f9d811f; >= a7a69ec0d8e4a58be7db88d… Fixed in: Linux 8f6cfc3eca79b8e108d0823756101e2f4f9d811f, Linux 2e40c69b9c3448b9c6609cd02013da593b2e123b, Linux 177ee901aa2bab02e7f1f8edbb814fd5e386ed62, Linux 894f98e73983f37354214a89a3a7fd35bf9e3072 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.
References
Other
- https://git.kernel.org/stable/c/b1f39c2a676698cc64c8e105e08b25111a112ec6
- https://git.kernel.org/stable/c/e03522a990cd2e0f1a736eaa349a9df9ab8541c3
- https://git.kernel.org/stable/c/8f6cfc3eca79b8e108d0823756101e2f4f9d811f
- https://git.kernel.org/stable/c/2e40c69b9c3448b9c6609cd02013da593b2e123b
- https://git.kernel.org/stable/c/177ee901aa2bab02e7f1f8edbb814fd5e386ed62
- https://git.kernel.org/stable/c/a80c33488e0bbe642ed803b13a4ac8078a70b507
- https://git.kernel.org/stable/c/f620c40ea6862feed84deb105568b21ec53a7830
- https://git.kernel.org/stable/c/894f98e73983f37354214a89a3a7fd35bf9e3072
FAQ
Is CVE-2026-97995 being exploited?
There is no confirmed exploitation: CVE-2026-97995 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-97995?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-97995?
Linux >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < b1f39c2a676698cc64c8e105e08b25111a112ec6; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < e03522a990cd2e0f1a736eaa349a9df9ab8541c3; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 8f6cfc3eca79b8e108d0823756101e2f4f9d811f; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 2e40c69b9c3448b9c6609cd02013da593b2e123b; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 177ee901aa2bab02e7f1f8edbb814fd5e386ed62; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < a80c33488e0bbe642ed803b13a4ac8078a70b507; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < f620c40ea6862feed84deb105568b21ec53a7830; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 894f98e73983f37354214a89a3a7fd35bf9e3072; f92b16b815efe8207090a9b5a767618fd89542ca; d2bbfac82b7942afc5d8e564d7087835280df495; …; Linux 4.17.
Is there a fix for CVE-2026-97995?
Yes. Fixed in Linux 8f6cfc3eca79b8e108d0823756101e2f4f9d811f, Linux 2e40c69b9c3448b9c6609cd02013da593b2e123b, Linux 177ee901aa2bab02e7f1f8edbb814fd5e386ed62, Linux 894f98e73983f37354214a89a3a7fd35bf9e3072. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-97995?
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.