CVE-2026-139698

virtio_pci_modern: move avq cleanup from reset to del_vqs

Published Nov 30, 2026 CVSS 3.1 · 4.1 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

virtio_pci_modern: move avq cleanup from reset to del_vqs

vp_modern_avq_cleanup() detaches unused buffers from the admin
virtqueue. Calling it from vp_reset() is incorrect:
virtqueue_get_buf in the avq interrupt handler can race with
virtqueue_detach_unused_buf in cleanup, and get_buf after
detach is not documented as valid.

The root cause is that detaching buffers does not belong in
reset at all - reset quiesces the device, while cleanup belongs
where the virtqueue is about to be destroyed, from del_vqs.

Analysis

AI-generated

Technical impact

The Linux kernel’s virtio_pci_modern driver detaches unused buffers from the admin virtqueue during a device reset, which is incorrect because reset should quiesce the device while cleanup should occur during virtqueue destruction. This race between virtqueue_get_buf in the interrupt handler and virtqueue_detach_unused_buf in cleanup can lead to a use‑after‑free condition that may corrupt kernel memory. The description does not specify that this corruption necessarily results in privilege escalation or denial of service; the exact impact remains undocumented.

Affected Systems

All kernel versions that include the unpatched virtio_pci_modern implementation are affected. The issue is present in any stable kernel that contains the implementation before the four commits referenced in the advisory, and systems running virtualized workloads that expose the virtio device to guests are impacted.

Risk and Exploitability

The CVSS score of 4.1 indicates moderate severity, and the EPSS score is not available. The vulnerability is not listed in CISA KEV. Based on the description, it is inferred that a privileged guest or host that can force a device reset while buffers are in use would be required to trigger the race condition, which requires precise timing and is non‑trivial. The exploitation probability and potential impact are thus undocumented and likely limited to environments where such control is available.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the commits c/2a12d96dd863cb23eadf07d8845e961580b5fcdf, c/62a12571c144cc551ada72847c2b3c4c78fc14d1, c/70e410a3a64bd8c5643763a9613a3c87e4c8b3b1, or c/91a626e5479464fb4fa6c5bd649568458c5c588f
  • If an immediate kernel upgrade is not possible, isolate virtual machines that use virtio_pci_modern and monitor for abnormal device reset activity
  • Recompile and install a patched kernel locally if custom kernel builds are maintained

Generated by OpenCVE AI on December 1, 2026 at 13:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-366
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: virtio_pci_modern: move avq cleanup from reset to del_vqs vp_modern_avq_cleanup() detaches unused buffers from the admin virtqueue. Calling it from vp_reset() is incorrect: virtqueue_get_buf in the avq interrupt handler can race with virtqueue_detach_unused_buf in cleanup, and get_buf after detach is not documented as valid. The root cause is that detaching buffers does not belong in reset at all - reset quiesces the device, while cleanup belongs where the virtqueue is about to be destroyed, from del_vqs.
Title virtio_pci_modern: move avq cleanup from reset to del_vqs
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:37 PM