CVE-2026-97995
virtio_console: do not free control-out buffers on remove
Reported by linux · Published September 25, 2026
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.
EPSS 0.18% · 7.3th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-6.18.54-121.166 | Amazon Linux | 1:1.0-0.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| Linux | Linux | 4.17 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b |
| Linux | Linux | 4.17, 0, 5.10.271 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| Linux | Linux | 4.16.7, *, * |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | microvm-kernel | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| linux | linux_kernel | 4.17, 4.17, 4.17 |
| amazon:2023 | kernel-livepatch-6.12.111-136.204 | 0 |
| amazon:2023 | kernel-devel | 0 |
…and 19 more
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-97995
vulnetix vdb fixes CVE-2026-97995
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-97995/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart