Kernel Kit / Infix / v26.10.0latest
CVE-2025-71313
5.5mediumlinux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases
Reach linux · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
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-03NVD
CVSS 3.1Local · low privileges · no user interaction
How it is reached
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
What it costs
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References 6
- git.kernel.org/stable/c/03f336a869b3a3f119d3ae52ac9723739c7fb7b6
- git.kernel.org/stable/c/11e78304b0113d3a122dc2c37426adc34c809645
- git.kernel.org/stable/c/2f62f8be57882c26f8bede0cab293d013964208f
- git.kernel.org/stable/c/314eab6740bcda504ef978be599f805de05ce6de
- git.kernel.org/stable/c/62b9e706d226329d1374c0c1b80222e75ae9d8cd
- git.kernel.org/stable/c/829ccfb22950c430f2bf5b40465510c210afb4d5
Build check · v26.10.0 x86_64
None of the source files the CNA lists for CVE-2025-71313 (drivers/pci/endpoint/functions/pci-epf-ntb.c, drivers/pci/endpoint/functions/pci-epf-vntb.c) produced an object file in linux-6.18.60, so the affected code is not compiled into this kernel configuration.
Evidence 2
…/ is output/build/linux-6.18.60/drivers/pci/endpoint/functions/
object file absent: not compiled
…/pci-epf-ntb.o
object file absent: not compiled
…/pci-epf-vntb.o
Members of Kernel Kit decide. Sign in if you are one.