{"api_version":"1","generated_at":"2026-06-06T01:33:12+00:00","cve":"CVE-2025-71313","urls":{"html":"https://cve.report/CVE-2025-71313","api":"https://cve.report/api/cve/CVE-2025-71313.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-71313","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-71313"},"summary":{"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_workqueue() and return -ENOMEM on\nfailure to prevent the driver from loading with an invalid workqueue\npointer.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-06-03 18:16:19","updated_at":"2026-06-05 20:51:20"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/03f336a869b3a3f119d3ae52ac9723739c7fb7b6","name":"https://git.kernel.org/stable/c/03f336a869b3a3f119d3ae52ac9723739c7fb7b6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/314eab6740bcda504ef978be599f805de05ce6de","name":"https://git.kernel.org/stable/c/314eab6740bcda504ef978be599f805de05ce6de","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-71313","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71313","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8b821cf761503b80d0bd052f932adfe1bc1a0088 314eab6740bcda504ef978be599f805de05ce6de git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8b821cf761503b80d0bd052f932adfe1bc1a0088 03f336a869b3a3f119d3ae52ac9723739c7fb7b6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.4 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2025","cve_id":"71313","cve":"CVE-2025-71313","epss":"0.000180000","percentile":"0.051530000","score_date":"2026-06-05","updated_at":"2026-06-06 00:14:14"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/pci/endpoint/functions/pci-epf-ntb.c","drivers/pci/endpoint/functions/pci-epf-vntb.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"314eab6740bcda504ef978be599f805de05ce6de","status":"affected","version":"8b821cf761503b80d0bd052f932adfe1bc1a0088","versionType":"git"},{"lessThan":"03f336a869b3a3f119d3ae52ac9723739c7fb7b6","status":"affected","version":"8b821cf761503b80d0bd052f932adfe1bc1a0088","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/pci/endpoint/functions/pci-epf-ntb.c","drivers/pci/endpoint/functions/pci-epf-vntb.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.12"},{"lessThan":"5.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.4","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"5.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-06-03T15:49:38.450Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/314eab6740bcda504ef978be599f805de05ce6de"},{"url":"https://git.kernel.org/stable/c/03f336a869b3a3f119d3ae52ac9723739c7fb7b6"}],"title":"PCI: endpoint: Add missing NULL check for alloc_workqueue()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2025-71313","datePublished":"2026-06-03T15:49:38.450Z","dateReserved":"2026-05-27T12:23:27.414Z","dateUpdated":"2026-06-03T15:49:38.450Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-03 18:16:19","lastModifiedDate":"2026-06-05 20:51:20","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2025","CveId":"71313","Ordinal":"1","Title":"PCI: endpoint: Add missing NULL check for alloc_workqueue()","CVE":"CVE-2025-71313","Year":"2025"},"notes":[{"CveYear":"2025","CveId":"71313","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"PCI: endpoint: Add missing NULL check for alloc_workqueue()"}]}}}