{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143089",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.347Z",
        "datePublished": "2026-12-03T09:19:11.608Z",
        "dateUpdated": "2026-12-04T03:28:56.969Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:28:56.969Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxen/pvcalls: destroy the per-socket workqueue on release\n\npvcalls_new_active_socket() gives every active socket its own ordered\nworkqueue:\n\n\tmap->ioworker.wq = alloc_ordered_workqueue(\"pvcalls_io\", 0);\n\nand nothing ever destroys it.  pvcalls_back_release_active() flushes\nmap->ioworker.register_work and frees map, but the workqueue and its\npool_workqueues stay allocated, so a frontend leaks a workqueue per socket\nit connects and releases - a loop a guest can run as long as it likes.\n\nDestroy it right after flush_work(): the IRQ is disabled and sk_data_ready\nrestored by then, so nothing can queue new work, and the rings are still\nmapped while it drains - pvcalls_conn_back_read() reads map->ring and\nmap->data, which xenbus_unmap_ring_vfree() takes away a few lines later.\npvcalls_back_ioworker() does not take fedata->socket_lock, which the\nbackend_disconnect() caller holds here - only the socket's own\nsk_receive_queue lock - so draining it from this point is safe; the\nflush_work() just above already has the same requirement."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H",
                        "baseScore": 7.1,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The guest writes PVCALLS_CONNECT and then PVCALLS_RELEASE on the xenbus command ring. The interdomain event channel runs pvcalls_back_event(), which calls pvcalls_back_work() and pvcalls_back_handle_cmd() into pvcalls_back_connect() and pvcalls_back_release_active(). That shared ring is a local Xen interface, not a routable IP message or a radio/L2 frame.\nAC:L - The guest can PVCALLS_BIND and PVCALLS_LISTEN on 127.0.0.1, then PVCALLS_CONNECT so inet_stream_connect() returns success and pvcalls_new_active_socket() reaches alloc_ordered_workqueue(), then PVCALLS_RELEASE. Those ring writes are entirely the guest's; no race or outside listener is required.\nPR:N - pvcalls_back_handle_cmd() has no capable() check. A guest that has moved its frontend to XenbusStateConnected, which pvcalls_back_changed() accepts and connects, writes the command ring with no dom0 account or init-namespace capability.\nUI:N - The guest posts PVCALLS_CONNECT and PVCALLS_RELEASE and notifies the event channel itself. Once pvcalls_back_changed() has connected the backend, no dom0 user mounts media, opens a device node, or answers a prompt.\nS:C - alloc_ordered_workqueue() in pvcalls_new_active_socket() runs in the dom0 or driver-domain backend. PVCALLS_RELEASE from the other domain leaves that host workqueue allocated, so the leak crosses the Xen guest-to-host boundary.\nC:N - The PVCALLS_RELEASE xen_pvcalls_response carries only req_id, cmd, id, and ret. pvcalls_back_release_active() never copies the workqueue or pool_workqueue to the guest, and kfree()s the sock_mapping only after flush_work().\nI:N - pvcalls_back_release_active() restores sk_data_ready, unbinds the IRQ, flush_work()s register_work, and kfree()s the map while leaving map->ioworker.wq allocated. Nothing queues pvcalls_back_ioworker() after that, so there is no write through freed memory.\nA:H - Each successful connect/release leaks the ordered pvcalls_io workqueue from alloc_ordered_workqueue(), its pool_workqueue, the percpu cpu_pwq array, and the per-node wq_node_nr_active objects. The guest can repeat that pair indefinitely and exhaust dom0 kernel memory."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/xen/pvcalls-back.c"
                    ],
                    "versions": [
                        {
                            "version": "5db4d286a8ef88a04247a005df9cdd4bce3c7673",
                            "lessThan": "16d96e7e66b35c9e973fc38012ad86672711d67d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5db4d286a8ef88a04247a005df9cdd4bce3c7673",
                            "lessThan": "3cf61f777a03607cad262ff84965ebc3ab39b4d1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5db4d286a8ef88a04247a005df9cdd4bce3c7673",
                            "lessThan": "7893591b58a2bd9f9a9be55beccf4a558c4d3b8f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5db4d286a8ef88a04247a005df9cdd4bce3c7673",
                            "lessThan": "99e1b9ddd5eeb209995e59a99825231ec47b178a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5db4d286a8ef88a04247a005df9cdd4bce3c7673",
                            "lessThan": "2b8684f416fa89c6818100f66602b3548d826ab7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5db4d286a8ef88a04247a005df9cdd4bce3c7673",
                            "lessThan": "6b3feb6bfa9ac384f7a3ec25c40b9b4d3da96d25",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/xen/pvcalls-back.c"
                    ],
                    "versions": [
                        {
                            "version": "4.14",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.14",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.276",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.227",
                            "lessThanOrEqual": "5.15.*",
                            "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": "4.14",
                                    "versionEndExcluding": "5.10.276"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.14",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.14",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.14",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.14",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.14",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/16d96e7e66b35c9e973fc38012ad86672711d67d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3cf61f777a03607cad262ff84965ebc3ab39b4d1"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7893591b58a2bd9f9a9be55beccf4a558c4d3b8f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/99e1b9ddd5eeb209995e59a99825231ec47b178a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2b8684f416fa89c6818100f66602b3548d826ab7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6b3feb6bfa9ac384f7a3ec25c40b9b4d3da96d25"
                }
            ],
            "title": "xen/pvcalls: destroy the per-socket workqueue on release",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}