{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143155",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.355Z",
        "datePublished": "2026-12-03T09:19:56.617Z",
        "dateUpdated": "2026-12-03T09:19:56.617Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:19:56.617Z"
            },
            "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": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/vmw_vsock/virtio_transport.c"
                    ],
                    "versions": [
                        {
                            "version": "bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c",
                            "lessThan": "d2d266c25e302678417d87e06d4dccb9b7694d68",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c",
                            "lessThan": "4e37ef5254588f0263e980da944da106c178a969",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c",
                            "lessThan": "6c0f02fb47cc5c6471d99623f625e3fa146b07ad",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c",
                            "lessThan": "2a24ba1694f14299fbde3fa107e5d56629f2f8b6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "762c251c7f5c4ee5bef71460c6e822ed293fd69f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.15.138",
                            "lessThan": "5.16",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/vmw_vsock/virtio_transport.c"
                    ],
                    "versions": [
                        {
                            "version": "5.19",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.19",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.19",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.19",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.19",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.19",
                                    "versionEndExcluding": "7.4-rc3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15.138"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/d2d266c25e302678417d87e06d4dccb9b7694d68"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4e37ef5254588f0263e980da944da106c178a969"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6c0f02fb47cc5c6471d99623f625e3fa146b07ad"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2a24ba1694f14299fbde3fa107e5d56629f2f8b6"
                }
            ],
            "title": "vsock/virtio: clear vqs[] to avoid a UAF on a failed PM restore",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}