CVE-2025-71313: PCI: endpoint: Add missing NULL check for alloc_workqueue()

Published Jun 3, 2026
·
Updated

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

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

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 epfntbepcinit().

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

Affected Software

2 affected components
Linux Linux kernel
Linux Linux kernel>=5.12<6.19.4

Event History

Jun 3, 2026
CVE Published
via MITRE·03:49 PM
Data Sourced
via MITRE·03:49 PM
Description
Data Sourced
via NVD·06:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-71313?

CVE-2025-71313 has a risk severity score of 15.

2

What does CVE-2025-71313 address?

CVE-2025-71313 addresses a missing NULL check for alloc_workqueue() in the Linux kernel.

3

How do I fix CVE-2025-71313?

To fix CVE-2025-71313, you need to apply the relevant kernel updates that implement the NULL check for alloc_workqueue().

4

What could happen if CVE-2025-71313 is exploited?

Exploitation of CVE-2025-71313 could lead to a NULL pointer dereference when queue_work() is called, potentially crashing the system.

5

Which software is affected by CVE-2025-71313?

CVE-2025-71313 affects the Linux kernel, particularly its PCI endpoint handling.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203