CVE-2026-31595: PCI: endpoint: pci-epf-vntb: Stop cmd_handler work in epf_ntb_epc_cleanup
In the Linux kernel, the following vulnerability has been resolved:
PCI: endpoint: pci-epf-vntb: Stop cmdhandler work in epfntbepccleanup
Disable the delayed work before clearing BAR mappings and doorbells to avoid running the handler after resources have been torn down.
Unable to handle kernel paging request at virtual address ffff800083f46004 [...] Internal error: Oops: 0000000096000007 [#1] SMP [...] Call trace: epfntbcmdhandler+0x54/0x200 [pciepfvntb] (P) processonework+0x154/0x3b0 workerthread+0x2c8/0x400 kthread+0x148/0x210 retfromfork+0x10/0x20
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Modify epf_ntb_epc_cleanup to disable/cancel or flush the cmd_handler delayed work (epf_ntb_cmd_handler) before clearing BAR mappings and doorbells to prevent the handler running after resources have been torn down.
Linux kernel (pci_epf_vntb) cmd_handler delayed work (epf_ntb_cmd_handler) = stopped/disabled before clearing BAR mappings and doorbells
Event History
Frequently Asked Questions
What is the severity of CVE-2026-31595?
CVE-2026-31595 has a moderate severity rating due to the potential for denial of service caused by the improper handling of command processing.
How do I fix CVE-2026-31595?
To fix CVE-2026-31595, update the Linux kernel to the latest version that includes the patch addressing this vulnerability.
Which versions of the Linux kernel are affected by CVE-2026-31595?
CVE-2026-31595 affects certain versions of the Linux kernel that utilize the pci-epf-vntb driver.
What type of attack does CVE-2026-31595 enable?
CVE-2026-31595 may enable denial of service attacks through ineffective command handler management in the PCI endpoint framework.
Is CVE-2026-31595 publicly known?
Yes, CVE-2026-31595 is publicly disclosed and documented as part of the Linux kernel vulnerability database.