Security mailing lists by PureSourceCode

CVE-2026-143155

not scored yet

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

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.

Published
3 Dec 2026
Last modified
3 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c, < d2d266c25e302678417d87e06d4dccb9b7694d68; >= bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c, < 4e37ef5254588f0263e980da944da106c178a969; >= bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c, < 6c0f02fb47cc5c6471d99623f625e3fa146b07ad; >= bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c, < 2a24ba1694f14299fbde3fa107e5d56629f2f8b6; = 762c251c7f5c4ee5bef71460c6e822ed293fd69f; >= 5.15.138, < 5.16 d2d266c25e302678417d87e06d4dccb9b7694d68, 4e37ef5254588f0263e980da944da106c178a969, 6c0f02fb47cc5c6471d99623f625e3fa146b07ad, 2a24ba1694f14299fbde3fa107e5d56629f2f8b6, 5.16
CVE List Linux Linux = 5.19

References

History

  • 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.