VDB

CVE-2026-97995

CVE-2026-97995 PUBLISHED

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.

PackageEcosystemFixed in
kernel-livepatch-6.18.54-121.166Amazon Linux1:1.0-0.amzn2023
perf6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.111-136.204.amzn2023
LinuxLinux4.17

Risk scores

EPSS Score
0.18%
7.3th percentile

Affected products

VendorProductVersions
LinuxLinuxa7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b
LinuxLinux4.17, 0, 5.10.271
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023perf6.120
amazon:2023kernel6.120
amazon:2023kernel6.12-tools-devel0
LinuxLinux4.16.7, *, *
amazon:2023kernel6.12-tools0
amazon:2023python3-perf6.180
amazon:2023kernel-headers0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.12-devel0
amazon:2023perf6.180
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-devel0
amazon:2023microvm-kernel0
amazon:2023kernel6.18-tools0
linuxlinux_kernel4.17, 4.17, 4.17
amazon:2023kernel-livepatch-6.12.111-136.2040
amazon:2023kernel-devel0

…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

References

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