CVE-2026-143155

Not scored yetLast modified Dec 3, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

vsock/virtio: clear vqs[] to avoid a UAF on a failed PM restore

virtio_vsock_vqs_del() frees the virtqueues but leaves vsock->vqs[] pointing at them. If virtio_vsock_restore() then fails, the driver stays bound with a dangling vqs[], and the next freeze or unbind passes a freed virtqueue to virtqueue_detach_unused_buf():

BUG: KASAN: slab-use-after-free in virtqueue_detach_unused_buf virtio_vsock_vqs_del (net/vmw_vsock/virtio_transport.c:785) virtio_vsock_remove Freed by task ...: vp_del_vqs virtio_vsock_freeze

Clear vqs[] after del_vqs() and when virtio_find_vqs() fails. Return early from virtio_vsock_vqs_del() when vqs[] is empty: the detach loops would pass NULL to virtqueue_detach_unused_buf(), and a second del_vqs() would free virtio-mmio's IRQ again, which only WARNs in free_irq() ("Trying to free already-free IRQ").

Found with the help of Anthropic's Claude and reproduced on virtio-pci and virtio-mmio by failing the restore with failslab, without other kernel changes; the virtio-mmio WARN was found by the netdev Sashiko review and reproduced with v1 of this patch. With this patch neither report appears on virtio-pci or virtio-mmio guests, and the vsock vmtest.sh single-VM tests pass. A find_vqs() failure after some virtqueues were set up was not exercised.

Metrics

No CVSS score has been published yet.

Affected software

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

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143156In the Linux kernel, the following vulnerability has been resolved: xprtrdma: serialize unmap_sync with xprt_disconnect frwr_unmap_sync() CVE-2026-143157In the Linux kernel, the following vulnerability has been resolved: net: netns: fix INT_MAX nsid cleanup A syzkaller reproducer assigning CVE-2026-143158In the Linux kernel, the following vulnerability has been resolved: net: bridge: use one headroom snapshot for ND replies br_nd_send() calCVE-2026-143159In the Linux kernel, the following vulnerability has been resolved: net/smc: fix link group ownership in handshake abort An aborted first-CVE-2026-143168.1The revoked-key error path builds a human-readable failure reason using sprintf() into a heap buffer. The allocated buffer is too small for CVE-2026-143160In the Linux kernel, the following vulnerability has been resolved: net/smc: fix lgr/lnk lifetime vs diag reader race The diag dump walks CVE-2026-143161In the Linux kernel, the following vulnerability has been resolved: net/rds: Do not unpin a page after a failed atomic pin rds_cmsg_atomicCVE-2026-143162In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: SHAMPO, Disable end padding when relaxed ordering is supportCVE-2026-143163In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix queue stats access to queues without stats I am seeing CVE-2026-143164In the Linux kernel, the following vulnerability has been resolved: macsec: reject frames that decapsulate into runt Ethernet frames When CVE-2026-143165In the Linux kernel, the following vulnerability has been resolved: net: dst_metadata: fix memcmp overread in skb_metadata_dst_cmp Commit CVE-2026-143166In the Linux kernel, the following vulnerability has been resolved: btrfs: fix bio counter and bioc leak when async checksumming fails A s
CVE-2026-143155: Unscored | Vulnix