CVE-2025-71313

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

No CVSS score yet EPSS 0.16%

Published 3 Jun 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2025-71313

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-71313 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

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

alloc_workqueue() can return NULL on memory allocation failure. Without proper error checking, this may lead to a NULL pointer dereference when queue_work() is later called with the NULL workqueue pointer in epf_ntb_epc_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.

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.94% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8b821cf761503b80d0bd052f932adfe1bc1a0088, before 62b9e706d226329d1374c0c1b80222e75ae9d8cd
affected from 8b821cf761503b80d0bd052f932adfe1bc1a0088, before 11e78304b0113d3a122dc2c37426adc34c809645
affected from 8b821cf761503b80d0bd052f932adfe1bc1a0088, before 829ccfb22950c430f2bf5b40465510c210afb4d5
affected from 8b821cf761503b80d0bd052f932adfe1bc1a0088, before 2f62f8be57882c26f8bede0cab293d013964208f
affected from 8b821cf761503b80d0bd052f932adfe1bc1a0088, before 314eab6740bcda504ef978be599f805de05ce6de
affected from 8b821cf761503b80d0bd052f932adfe1bc1a0088, before 03f336a869b3a3f119d3ae52ac9723739c7fb7b6
Other versions: unaffected
Linux
affected 5.12
unaffected before 5.12
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.114 up to and including 6.12.*
unaffected from 6.18.57 up to and including 6.18.*
unaffected from 6.19.4 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-71313 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-71313

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-71313
trivy image --scanners vuln IMAGE | grep CVE-2025-71313

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-71313 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.