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.
Published: 2026-06-03
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

alloc_workqueue() can return NULL on memory allocation failure; the PCI endpoint driver does not check for this and later calls queue_work() with the NULL pointer in epf_ntb_epc_init(). This missing NULL check can cause a null pointer dereference that crashes the kernel, leading to an immediate system reboot. The impact is a denial of service, as the kernel becomes unstable and lost control of the machine.

Affected Systems

All Linux kernel builds that include the PCI_endpoint driver lacking the NULL check are affected. The input does not specify exact kernel version ranges; therefore any kernel version that uses this driver before the patch may be vulnerable.

Risk and Exploitability

The EPSS score of 0.00024 indicates a very low likelihood of exploitation. The vulnerability is a Null Pointer Dereference (CWE-476), and the risk is high because a kernel panic can compromise availability and, if the crash can be triggered repeatedly, may facilitate further privilege escalation. The likely attack vector is local or device-based: an attacker who can inject a PCI endpoint device or is able to force the driver to load on a target system could trigger the allocation failure and crash the kernel. The CVSS score of 5.5 indicates medium severity.

Generated by OpenCVE AI on June 9, 2026 at 23:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel update that includes the missing NULL check in the PCI endpoint driver, addressing the null pointer dereference identified as CWE-476.
  • If you compile a custom kernel, apply the patch that adds the NULL check to the driver and rebuild the kernel.
  • If the PCI endpoint driver is not required for your environment, disable or blacklist the module to prevent it from loading.

Generated by OpenCVE AI on June 9, 2026 at 23:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 09 Jun 2026 20:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Thu, 04 Jun 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Low


Wed, 03 Jun 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Wed, 03 Jun 2026 17:45:00 +0000

Type Values Removed Values Added
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.
Title PCI: endpoint: Add missing NULL check for alloc_workqueue()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-03T15:49:38.450Z

Reserved: 2026-05-27T12:23:27.414Z

Link: CVE-2025-71313

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-06-03T18:16:19.130

Modified: 2026-06-09T20:35:29.193

Link: CVE-2025-71313

cve-icon Redhat

Severity : Low

Publid Date: 2026-06-03T00:00:00Z

Links: CVE-2025-71313 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-09T23:30:05Z

Weaknesses