CVE-2026-97995

Not scored yetLast modified Oct 19, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < b1f39c2a676698cc64c8e105e08b25111a112ec6; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < e03522a990cd2e0f1a736eaa349a9df9ab8541c3; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 8f6cfc3eca79b8e108d0823756101e2f4f9d811f; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 2e40c69b9c3448b9c6609cd02013da593b2e123b; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 177ee901aa2bab02e7f1f8edbb814fd5e386ed62; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < a80c33488e0bbe642ed803b13a4ac8078a70b507; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < f620c40ea6862feed84deb105568b21ec53a7830; >= a7a69ec0d8e4a58be7db88d33cbfa2912807bb2b, < 894f98e73983f37354214a89a3a7fd35bf9e3072; f92b16b815efe8207090a9b5a767618fd89542ca; d2bbfac82b7942afc5d8e564d7087835280df495; a88e13d9a092fbb772d380944b44eb549ef131fe; dd807a784fd36f4136516d5858efb6473dda422c; 47cb14192bcbba3f15b1c3561e05e084e56fdef6; 6b1c41a0f7183702abb7a104c6c7e196ad69a6b3; 9037306163a6ba5587e4b5ca511ac7be4fb7295b; >= 3.16.60, < 3.17; >= 3.18.108, < 3.19; >= 4.1.52, < 4.2; >= 4.4.131, < 4.5; >= 4.9.98, < 4.10
LinuxLinux4.17

References

Timeline

Published
Sep 25, 2026
Last modified
Oct 19, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-97996In the Linux kernel, the following vulnerability has been resolved: virtio: fix use-after-free in unregister_virtio_device() device_unregiCVE-2026-97997In the Linux kernel, the following vulnerability has been resolved: virtio_ring: fix stale descriptor flags after a failed packed add In aCVE-2026-97998In the Linux kernel, the following vulnerability has been resolved: netfilter: nfnetlink_log: cope with concurrent instance destruction InCVE-2026-979995.4LibreOffice Base documents can hold an embedded HSQLDB database. When the experimental features option is enabled, LibreOffice offers to migCVE-2026-98008.1A flaw was found in Keycloak Policy Enforcer. This vulnerability allows any authenticated user to bypass all authorization policies, includiCVE-2026-98000In the Linux kernel, the following vulnerability has been resolved: hwmon: Fix potential UAF in pec_store Sashiko reports: In pec_store()CVE-2026-98001In the Linux kernel, the following vulnerability has been resolved: hwmon: (ltc4282) Make sure clk_init_data is fully initialized The clk_CVE-2026-980027.8In the Linux kernel, the following vulnerability has been resolved: iommu/amd: Fix ineffective error check in nested domain allocation amdCVE-2026-98003In the Linux kernel, the following vulnerability has been resolved: iommu/amd: Do not reallocate GA log buffers on resume Commit c5e1a1eb9CVE-2026-98004In the Linux kernel, the following vulnerability has been resolved: iommu/riscv: Serialize command queue publishing Serialize command queuCVE-2026-98005In the Linux kernel, the following vulnerability has been resolved: erofs: delimit inode_share cache key components Previously, inode_sharCVE-2026-98006In the Linux kernel, the following vulnerability has been resolved: ALSA: caiaq: Decoupling ep1_in_urb in caiaq dev The epq_in_urb object
CVE-2026-97995: Unscored | Vulnix