CVE-2025-71233: PCI: endpoint: Avoid creating sub-groups asynchronously
In the Linux kernel, the following vulnerability has been resolved:
PCI: endpoint: Avoid creating sub-groups asynchronously
The asynchronous creation of sub-groups by a delayed work could lead to a NULL pointer dereference when the driver directory is removed before the work completes.
The crash can be easily reproduced with the following commands:
# cd /sys/kernel/config/pciep/functions/pciepftest # for i in {1..20}; do mkdir test && rmdir test; done
BUG: kernel NULL pointer dereference, address: 0000000000000088 ... Call Trace: configfsregistergroup+0x3d/0x190 pciepfcfswork+0x41/0x110 processonework+0x18f/0x350 workerthread+0x25a/0x3a0
Fix this issue by using configfsadddefaultgroup() API which does not have the deadlock problem as configfsregistergroup() and does not require the delayed work handler.
[mani: slightly reworded the description and added stable list]
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-71233?
The severity of CVE-2025-71233 is classified as medium due to the potential for a NULL pointer dereference in the Linux kernel.
How do I fix CVE-2025-71233?
To fix CVE-2025-71233, you should update your Linux kernel to the latest stable version where the vulnerability has been resolved.
What impact does CVE-2025-71233 have on system security?
CVE-2025-71233 could lead to system instability or crashes due to the possibility of a NULL pointer dereference.
Which versions of the Linux kernel are affected by CVE-2025-71233?
CVE-2025-71233 affects versions of the Linux kernel prior to the patch being applied in the stable release.
Is CVE-2025-71233 actively being exploited?
As of now, there are no known active exploits for CVE-2025-71233 reported in the wild.