CVE-2026-97995
High 7.8No known exploitationFix availablevirtio_console: do not free control-out buffers on remove
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 7% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 3.16.60 before 3.17 | 3.17 | CVE Program |
| Linux | Linux | from 3.18.108 before 3.19 | 3.19 | CVE Program |
| Linux | Linux | from 4.1.52 before 4.2 | 4.2 | CVE Program |
| Linux | Linux | from 4.14.39 before 4.15 | 4.15 | CVE Program |
| Linux | Linux | from 4.16.7 before 4.17 | 4.17 | CVE Program |
| Linux | Linux | from 4.4.131 before 4.5 | 4.5 | CVE Program |
| Linux | Linux | from 4.9.98 before 4.10 | 4.10 | CVE Program |
| Linux | Linux | from a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b before a80c33488e0bbe642ed803b13a4ac8078a70b507 | a80c33488e0bbe642ed803b13a4ac8078a70b507 | CVE Program |
| Linux | Linux | from a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b before f620c40ea6862feed84deb105568b21ec53a7830 | f620c40ea6862feed84deb105568b21ec53a7830 | CVE Program |
| Linux | Linux | from a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b before 894f98e73983f37354214a89a3a7fd35bf9e3072 | 894f98e73983f37354214a89a3a7fd35bf9e3072 | CVE Program |
| Linux | Linux | from a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b before 2e40c69b9c3448b9c6609cd02013da593b2e123b | 2e40c69b9c3448b9c6609cd02013da593b2e123b | CVE Program |
| Linux | Linux | from a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b before b1f39c2a676698cc64c8e105e08b25111a112ec6 | b1f39c2a676698cc64c8e105e08b25111a112ec6 | CVE Program |
| Linux | Linux | from a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b before 8f6cfc3eca79b8e108d0823756101e2f4f9d811f | 8f6cfc3eca79b8e108d0823756101e2f4f9d811f | CVE Program |
| Linux | Linux | from a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b before e03522a990cd2e0f1a736eaa349a9df9ab8541c3 | e03522a990cd2e0f1a736eaa349a9df9ab8541c3 | CVE Program |
| Linux | Linux | from a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b before 177ee901aa2bab02e7f1f8edbb814fd5e386ed62 | 177ee901aa2bab02e7f1f8edbb814fd5e386ed62 | CVE Program |
| Linux | Linux | 4.17 | Not documented | CVE Program |
| Linux | Linux | 47cb14192bcbba3f15b1c3561e05e084e56fdef6 | Not documented | CVE Program |
| Linux | Linux | 6b1c41a0f7183702abb7a104c6c7e196ad69a6b3 | Not documented | CVE Program |
| Linux | Linux | 9037306163a6ba5587e4b5ca511ac7be4fb7295b | Not documented | CVE Program |
| Linux | Linux | a88e13d9a092fbb772d380944b44eb549ef131fe | Not documented | CVE Program |
| Linux | Linux | d2bbfac82b7942afc5d8e564d7087835280df495 | Not documented | CVE Program |
| Linux | Linux | dd807a784fd36f4136516d5858efb6473dda422c | Not documented | CVE Program |
| Linux | Linux | f92b16b815efe8207090a9b5a767618fd89542ca | Not documented | CVE Program |
| Microsoft | azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 | Not documented | 6.6.158.1-1 | Microsoft MSRC |
| Microsoft | azl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.57-1.1.azl4 | Microsoft MSRC |
| Linux | Linux (unaffected) | from 5.10.271 up to and including 5.10.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 5.15.222 up to and including 5.15.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.1.189 up to and including 6.1.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.12.111 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.53 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.6.158 up to and including 6.6.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.2.7 up to and including 7.2.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.3 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 4.17 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Advisory change
Microsoft advisory revised (6.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://git.kernel.org/stable/c/177ee901aa2bab02e7f1f8edbb814fd5e386ed62 (opens in a new tab)
- https://git.kernel.org/stable/c/2e40c69b9c3448b9c6609cd02013da593b2e123b (opens in a new tab)
- https://git.kernel.org/stable/c/894f98e73983f37354214a89a3a7fd35bf9e3072 (opens in a new tab)
- https://git.kernel.org/stable/c/8f6cfc3eca79b8e108d0823756101e2f4f9d811f (opens in a new tab)
- https://git.kernel.org/stable/c/a80c33488e0bbe642ed803b13a4ac8078a70b507 (opens in a new tab)
- https://git.kernel.org/stable/c/b1f39c2a676698cc64c8e105e08b25111a112ec6 (opens in a new tab)
- https://git.kernel.org/stable/c/e03522a990cd2e0f1a736eaa349a9df9ab8541c3 (opens in a new tab)
- https://git.kernel.org/stable/c/f620c40ea6862feed84deb105568b21ec53a7830 (opens in a new tab)