Skip to contentSkip to conversation

CVE-2026-31595: PCI: endpoint: pci-epf-vntb: Stop cmd_handler work in epf_ntb_epc_cleanup

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Apr 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

PCI: endpoint: pci-epf-vntb: Stop cmd_handler work in epf_ntb_epc_cleanup

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:
   epf_ntb_cmd_handler+0x54/0x200 [pci_epf_vntb] (P)
   process_one_work+0x154/0x3b0
   worker_thread+0x2c8/0x400
   kthread+0x148/0x210
   ret_from_fork+0x10/0x20

The Linux kernel CVE team has assigned CVE-2026-31595 to this issue.

Affected and fixed versions
===========================

	Fixed in 6.12.83 with commit 6773cc24c004930903a57761132c1e7728907f8f
	Fixed in 6.18.24 with commit 9921cce25bfe4021f6e55ca995351eb967165297
	Fixed in 6.19.14 with commit 5999067140c67530a6cb6f41a8471596e60452cb
	Fixed in 7.0.1 with commit fbb6c353fa2fb5f5f990eda034a1074b0356127e

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-31595

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/pci/endpoint/functions/pci-epf-vntb.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/6773cc24c004930903a57761132c1e7728907f8f
	https://git.kernel.org/stable/c/9921cce25bfe4021f6e55ca995351eb967165297
	https://git.kernel.org/stable/c/5999067140c67530a6cb6f41a8471596e60452cb
	https://git.kernel.org/stable/c/fbb6c353fa2fb5f5f990eda034a1074b0356127e
	https://git.kernel.org/stable/c/d799984233a50abd2667a7d17a9a710a3f10ebe2