Skip to contentSkip to conversation

CVE-2026-46009: PCI: endpoint: pci-epf-ntb: Remove duplicate resource teardown

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 27

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-ntb: Remove duplicate resource teardown

epf_ntb_epc_destroy() duplicates the teardown that the caller is supposed to do later. This leads to an oops when .allow_link fails or when .drop_link is performed. Remove the helper.

Also drop pci_epc_put(). EPC device refcounting is tied to configfs EPC group lifetime, and pci_epc_put() in the .drop_link path is sufficient.

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

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

	Issue introduced in 5.12 with commit 8b821cf761503b80d0bd052f932adfe1bc1a0088 and fixed in 6.6.140 with commit 72099f015d3c77bf2eb703d1aab113bd7a60915a
	Issue introduced in 5.12 with commit 8b821cf761503b80d0bd052f932adfe1bc1a0088 and fixed in 6.12.86 with commit 756ca5e7ed22d9045bb4de4c981f9149278d5cd3
	Issue introduced in 5.12 with commit 8b821cf761503b80d0bd052f932adfe1bc1a0088 and fixed in 6.18.27 with commit 65fc57c8b8f0b31be62be291cb1bb01755cec85d
	Issue introduced in 5.12 with commit 8b821cf761503b80d0bd052f932adfe1bc1a0088 and fixed in 7.0.4 with commit e813c95e4c8edd31599081e6356e20ada30e266d
	Issue introduced in 5.12 with commit 8b821cf761503b80d0bd052f932adfe1bc1a0088 and fixed in 7.1-rc1 with commit 3446beddba450c8d6f9aca2f028712ac527fead3

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-46009

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-ntb.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/72099f015d3c77bf2eb703d1aab113bd7a60915a
	https://git.kernel.org/stable/c/756ca5e7ed22d9045bb4de4c981f9149278d5cd3
	https://git.kernel.org/stable/c/65fc57c8b8f0b31be62be291cb1bb01755cec85d
	https://git.kernel.org/stable/c/e813c95e4c8edd31599081e6356e20ada30e266d
	https://git.kernel.org/stable/c/3446beddba450c8d6f9aca2f028712ac527fead3