{"id":"CVE-2025-71313","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: endpoint: Add missing NULL check for alloc_workqueue()\n\nalloc_workqueue() can return NULL on memory allocation failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: endpoint: Add missing NULL check for alloc_workqueue()\n\nalloc_workqueue() can return NULL on memory allocation failure. Without\nproper error checking, this may lea…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-476"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel >= 5.12, < 6.19.4"],"patched":["linux_kernel 6.19.4"],"published":"2026-06-03","updated":"2026-10-15","sourceUpdated":"2026-10-15T11:17:17.340","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-71313","references":[{"url":"https://git.kernel.org/stable/c/03f336a869b3a3f119d3ae52ac9723739c7fb7b6","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2f62f8be57882c26f8bede0cab293d013964208f","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/314eab6740bcda504ef978be599f805de05ce6de","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"tags":["nvd","cve.org"],"epss":0.00107,"epssPercentile":0.01097,"ingestedAt":"2026-10-15T11:00:41.715Z","slug":"CVE-2025-71313","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nPCI: endpoint: Add missing NULL check for alloc_workqueue()\n\nalloc_workqueue() can return NULL on memory allocation failure. Without\nproper error checking, this may lead to a NULL pointer dereference when\nqueue_work() is later called with the NULL workqueue pointer in\nepf_ntb_epc_init().\n\nAdd a NULL check immediately after alloc_workqueue() and return -ENOMEM on\nfailure to prevent the driver from loading with an invalid workqueue\npointer.\n\n## Affected\n\n- `linux_kernel >= 5.12, < 6.19.4`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.19.4`","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":222294,"id":"CVE-2025-71313","ts":1792065869688,"field":"cvss","old":null,"new":"5.5"},{"seq":222293,"id":"CVE-2025-71313","ts":1792065869688,"field":"severity","old":"none","new":"medium"}]}