CVE-2025-71313

Source
https://cve.org/CVERecord?id=CVE-2025-71313
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71313.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-71313
Downstream
Published
2026-06-03T15:49:38.450Z
Modified
2026-07-08T07:32:18.265891611Z
Summary
PCI: endpoint: Add missing NULL check for alloc_workqueue()
Details

In the Linux kernel, the following vulnerability has been resolved:

PCI: endpoint: Add missing NULL check for alloc_workqueue()

allocworkqueue() can return NULL on memory allocation failure. Without proper error checking, this may lead to a NULL pointer dereference when queuework() is later called with the NULL workqueue pointer in epfntbepc_init().

Add a NULL check immediately after alloc_workqueue() and return -ENOMEM on failure to prevent the driver from loading with an invalid workqueue pointer.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71313.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8b821cf761503b80d0bd052f932adfe1bc1a0088
Fixed
314eab6740bcda504ef978be599f805de05ce6de
Fixed
03f336a869b3a3f119d3ae52ac9723739c7fb7b6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71313.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.12.0
Fixed
6.19.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71313.json"