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

Published Nov 30, 2026
·
Updated

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 ntbdev 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 ntbdev 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 pciscanbus() 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.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Update PCI endpoint vNTB lifecycle handling: allocate an ntb_dev for each virtual PCI probe and publish it for doorbell IRQs when registering it; start command processing only after registration. Add a matching remove callback that stops command work and drains IRQ handlers before unregistering the device. Retain the root bus returned by pci_scan_bus(); during unbind, stop and remove it under the PCI rescan/remove lock, then release the host bridge. Unregister the virtual PCI driver before releasing endpoint devices and allocated root-bus resources.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203