# CVE-2026-139018: PCI: endpoint: pci-epf-vntb: Manage virtual NTB and PCI bus lifetime

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:27:06.713Z
- Modified: 2026-11-30T14:18:05.313Z
- Assigned by: Linux

## Description

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

PCI: endpoint: pci-epf-vntb: Manage virtual NTB and PCI bus lifetime

The virtual PCI driver registers an ntb_dev but has no remove callback.
Unbinding the endpoint function can therefore free BARs while the NTB
device and its client still use them. It also leaves the virtual PCI
devices and root bus allocated.

Allocate an ntb_dev for each virtual PCI probe and unregister it from the
matching remove callback. Start command processing only after registration.
Publish the device for doorbell IRQs at the same point. During remove, stop
the command work and drain IRQ handlers before unregistering the device.

Retain the root bus returned by pci_scan_bus() so it can be removed on
unbind. Unregister the virtual PCI driver before releasing endpoint
resources. Stop and remove the root bus under the PCI rescan/remove lock,
then release its host bridge.

(As written by CVE List.)

## Affected

- Linux Linux: from e35f56bb03304abc92c928b641af41ca372966bb before 5e34b51d678692ba4517d9fd1ec3ee17b2b2b0af; from e35f56bb03304abc92c928b641af41ca372966bb before cad1c7c2a8552444a9bec6032774ac667f08afb7; from e35f56bb03304abc92c928b641af41ca372966bb before 980e10d35c44cccc5abff8fea7f96ce168af8f07; from e35f56bb03304abc92c928b641af41ca372966bb before ffa99759d4c01499d7eb78fce43db9db4d5da620; from e35f56bb03304abc92c928b641af41ca372966bb before df46b452097bfe046e6c522b0b0e035259cbf8dc; from e35f56bb03304abc92c928b641af41ca372966bb before 5cdbd6d3a3a147fa9975e35f2602cbec9a72a932; e2b6ef72b7aea9d7d480d2df499bcd1c93247abb; from 5.15.153 before 5.16; 6.0 (not affected: before 6.0; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/5e34b51d678692ba4517d9fd1ec3ee17b2b2b0af>
- <https://git.kernel.org/stable/c/cad1c7c2a8552444a9bec6032774ac667f08afb7>
- <https://git.kernel.org/stable/c/980e10d35c44cccc5abff8fea7f96ce168af8f07>
- <https://git.kernel.org/stable/c/ffa99759d4c01499d7eb78fce43db9db4d5da620>
- <https://git.kernel.org/stable/c/df46b452097bfe046e6c522b0b0e035259cbf8dc>
- <https://git.kernel.org/stable/c/5cdbd6d3a3a147fa9975e35f2602cbec9a72a932>

## Sources

- CVE List: [CVE-2026-139018](https://www.cve.org/CVERecord?id=CVE-2026-139018), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139018](https://nvd.nist.gov/vuln/detail/CVE-2026-139018), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139018 · Whole record: https://cve.day/CVE-2026-139018.json · Rebuilt by cve.day 2026-11-30T14:32:51.272Z
