{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-71313","id":"CVE-2025-71313","title":"PCI: endpoint: Add missing NULL check for alloc_workqueue()","description":"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_","descriptionLong":"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.","published":"2026-06-03T15:49:38.450Z","updated":"2026-11-01T02:30:17.093268839Z","reserved":"2026-05-27T12:23:27.414Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8b821cf761503b80d0bd052f932adfe1bc1a0088","lessThan":"62b9e706d226329d1374c0c1b80222e75ae9d8cd","status":"affected","versionType":"git"},{"version":"8b821cf761503b80d0bd052f932adfe1bc1a0088","lessThan":"11e78304b0113d3a122dc2c37426adc34c809645","status":"affected","versionType":"git"},{"version":"8b821cf761503b80d0bd052f932adfe1bc1a0088","lessThan":"829ccfb22950c430f2bf5b40465510c210afb4d5","status":"affected","versionType":"git"},{"version":"8b821cf761503b80d0bd052f932adfe1bc1a0088","lessThan":"2f62f8be57882c26f8bede0cab293d013964208f","status":"affected","versionType":"git"},{"version":"8b821cf761503b80d0bd052f932adfe1bc1a0088","lessThan":"314eab6740bcda504ef978be599f805de05ce6de","status":"affected","versionType":"git"},{"version":"8b821cf761503b80d0bd052f932adfe1bc1a0088","lessThan":"03f336a869b3a3f119d3ae52ac9723739c7fb7b6","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","lessThan":"5.12","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.114","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.57","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.4","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/62b9e706d226329d1374c0c1b80222e75ae9d8cd","tags":["web"]},{"url":"https://git.kernel.org/stable/c/11e78304b0113d3a122dc2c37426adc34c809645","tags":["web"]},{"url":"https://git.kernel.org/stable/c/829ccfb22950c430f2bf5b40465510c210afb4d5","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2f62f8be57882c26f8bede0cab293d013964208f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/314eab6740bcda504ef978be599f805de05ce6de","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/03f336a869b3a3f119d3ae52ac9723739c7fb7b6","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71313.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71313","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00156,"epssPercentile":0.04783,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-71313","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71313","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-71313","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-71313","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}