{"id":"CVE-2025-71313","aliases":["CVE-2025-71313"],"related":[],"kind":"vulnerability","state":"published","title":"PCI: endpoint: Add missing NULL check for alloc_workqueue()","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nPCI: endpoint: Añadir comprobación de NULL faltante para alloc_workqueue()\n\nalloc_workqueue() puede devolver NULL en caso de fallo de asignación de memoria. Sin una comprobación de errores adecuada, esto puede llevar a una desreferencia de puntero NULL cuando queue_work() es llamado posteriormente con el puntero de workqueue NULL en epf_ntb_epc_init().\n\nAñadir una comprobación de NULL inmediatamente después de alloc_workqueue() y devolver -ENOMEM en caso de fallo para evitar que el controlador se cargue con un puntero de workqueue inválido.","source":"nvd"}],"published":"2026-06-03T15:49:38.450Z","modified":"2026-10-30T13:18:27.477Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"8b821cf761503b80d0bd052f932adfe1bc1a0088","fixed":"62b9e706d226329d1374c0c1b80222e75ae9d8cd","status":"affected"},{"type":"git","introduced":"8b821cf761503b80d0bd052f932adfe1bc1a0088","fixed":"11e78304b0113d3a122dc2c37426adc34c809645","status":"affected"},{"type":"git","introduced":"8b821cf761503b80d0bd052f932adfe1bc1a0088","fixed":"829ccfb22950c430f2bf5b40465510c210afb4d5","status":"affected"},{"type":"git","introduced":"8b821cf761503b80d0bd052f932adfe1bc1a0088","fixed":"2f62f8be57882c26f8bede0cab293d013964208f","status":"affected"},{"type":"git","introduced":"8b821cf761503b80d0bd052f932adfe1bc1a0088","fixed":"314eab6740bcda504ef978be599f805de05ce6de","status":"affected"},{"type":"git","introduced":"8b821cf761503b80d0bd052f932adfe1bc1a0088","fixed":"03f336a869b3a3f119d3ae52ac9723739c7fb7b6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.4","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.12","fixed":"6.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/62b9e706d226329d1374c0c1b80222e75ae9d8cd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11e78304b0113d3a122dc2c37426adc34c809645","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/829ccfb22950c430f2bf5b40465510c210afb4d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f62f8be57882c26f8bede0cab293d013964208f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/314eab6740bcda504ef978be599f805de05ce6de","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/03f336a869b3a3f119d3ae52ac9723739c7fb7b6","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71313","url":"https://www.cve.org/CVERecord?id=CVE-2025-71313","licence":"CVE Terms of Use","modified":"2026-10-30T12:23:37.692Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71313","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71313","licence":"Public domain","modified":"2026-10-30T13:18:27.477Z"}],"updatedAt":"2026-11-25T22:59:12.267Z","epss":{"score":0.00156,"percentile":0.04941,"date":"2026-12-01T12:00:22.000Z"}}