CVE-2026-139018
PCI: endpoint: pci-epf-vntb: Manage virtual NTB and PCI bus lifetime
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.
INFO
Published Date :
Nov. 30, 2026, 2:18 p.m.
Last Modified :
Nov. 30, 2026, 2:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the Linux kernel patch for PCI endpoint driver.
- Register NTB device during virtual PCI probe.
- Unregister NTB device during remove callback.
- Stop command processing and drain IRQs before unregistering.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139018.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139018 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139018
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139018 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139018 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139018.json">CVE-2026-139018</a> Added Reference https://git.kernel.org/stable/c/5cdbd6d3a3a147fa9975e35f2602cbec9a72a932 Added Reference https://git.kernel.org/stable/c/5e34b51d678692ba4517d9fd1ec3ee17b2b2b0af Added Reference https://git.kernel.org/stable/c/980e10d35c44cccc5abff8fea7f96ce168af8f07 Added Reference https://git.kernel.org/stable/c/cad1c7c2a8552444a9bec6032774ac667f08afb7 Added Reference https://git.kernel.org/stable/c/df46b452097bfe046e6c522b0b0e035259cbf8dc Added Reference https://git.kernel.org/stable/c/ffa99759d4c01499d7eb78fce43db9db4d5da620