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.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Kernel memory corruption leading to potential privilege escalation or denial of service
Action: Assess Impact
AI Analysis

Impact

The Linux kernel virtio_console driver fails to release control‑out buffers when a device is removed. During removal, the leftover buffer is passed to free_buf, which treats it as a port_buffer and reads past the ports_device structure, triggering a slab out‑of‑bounds read. This memory corruption can expose internal kernel data or allow an attacker to gain elevated privileges, or it could cause a kernel panic that results in denial of service.

Affected Systems

All Linux kernel variants that include the virtio_console driver are potentially affected.

Risk and Exploitability

The CVSS score is 5.5 and the EPSS score is < 1%, indicating a moderate risk. The kernel memory corruption could allow an attacker to read or corrupt kernel memory, which may lead to privilege escalation or a kernel panic causing denial of service. No public exploits are known and the CVE is not listed in the CISA KEV catalog. Exploitation would likely require control of a virtual machine or delivery of a payload via the virtio console interface, so the attack vector is limited to privileged or virtualization contexts. Nonetheless, the potential impact on confidentiality, integrity, or availability warrants careful assessment.

Generated by OpenCVE AI on September 30, 2026 at 14:36 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to the latest stable release that includes the fix for the virtio_console buffer free issue.
  • If a kernel update is not yet available, disable the virtio_console driver or use an alternative console mechanism to prevent the vulnerable code from executing.
  • Monitor kernel logs for KASAN or OOPS messages indicating out‑of‑bounds reads, and verify that the kernel version in use contains the patch.

Generated by OpenCVE AI on September 30, 2026 at 14:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Sat, 03 Oct 2026 11:15:00 +0000


Wed, 30 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 25 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-122

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
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.
Title virtio_console: do not free control-out buffers on remove
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-03T11:01:22.745Z

Reserved: 2026-09-25T10:18:58.209Z

Link: CVE-2026-97995

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:27.750

Modified: 2026-10-03T11:18:23.233

Link: CVE-2026-97995

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-97995 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T14:45:07Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-122

    Heap-based Buffer Overflow

  • CWE-125

    Out-of-bounds Read