{"id":"CVE-2026-143155","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:17:50.297","lastModified":"2026-12-03T10:17:50.297","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock/virtio: clear vqs[] to avoid a UAF on a failed PM restore\n\nvirtio_vsock_vqs_del() frees the virtqueues but leaves vsock->vqs[]\npointing at them. If virtio_vsock_restore() then fails, the driver\nstays bound with a dangling vqs[], and the next freeze or unbind\npasses a freed virtqueue to virtqueue_detach_unused_buf():\n\n  BUG: KASAN: slab-use-after-free in virtqueue_detach_unused_buf\n   virtio_vsock_vqs_del (net/vmw_vsock/virtio_transport.c:785)\n   virtio_vsock_remove\n  Freed by task ...:\n   vp_del_vqs\n   virtio_vsock_freeze\n\nClear vqs[] after del_vqs() and when virtio_find_vqs() fails. Return\nearly from virtio_vsock_vqs_del() when vqs[] is empty: the detach\nloops would pass NULL to virtqueue_detach_unused_buf(), and a second\ndel_vqs() would free virtio-mmio's IRQ again, which only WARNs in\nfree_irq() (\"Trying to free already-free IRQ\").\n\nFound with the help of Anthropic's Claude and reproduced on virtio-pci\nand virtio-mmio by failing the restore with failslab, without other\nkernel changes; the virtio-mmio WARN was found by the netdev Sashiko\nreview and reproduced with v1 of this patch. With this patch neither\nreport appears on virtio-pci or virtio-mmio guests, and the vsock\nvmtest.sh single-VM tests pass. A find_vqs() failure after some\nvirtqueues were set up was not exercised."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/vmw_vsock/virtio_transport.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c","lessThan":"d2d266c25e302678417d87e06d4dccb9b7694d68","versionType":"git","status":"affected"},{"version":"bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c","lessThan":"4e37ef5254588f0263e980da944da106c178a969","versionType":"git","status":"affected"},{"version":"bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c","lessThan":"6c0f02fb47cc5c6471d99623f625e3fa146b07ad","versionType":"git","status":"affected"},{"version":"bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c","lessThan":"2a24ba1694f14299fbde3fa107e5d56629f2f8b6","versionType":"git","status":"affected"},{"version":"762c251c7f5c4ee5bef71460c6e822ed293fd69f","versionType":"git","status":"affected"},{"version":"5.15.138","lessThan":"5.16","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/vmw_vsock/virtio_transport.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.19","status":"affected"},{"version":"0","lessThan":"5.19","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/2a24ba1694f14299fbde3fa107e5d56629f2f8b6","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/4e37ef5254588f0263e980da944da106c178a969","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/6c0f02fb47cc5c6471d99623f625e3fa146b07ad","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d2d266c25e302678417d87e06d4dccb9b7694d68","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}