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

Summary

CVECVE-2026-139018
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:05 UTC
Updated2026-11-30 14:18:05 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected e35f56bb03304abc92c928b641af41ca372966bb 5e34b51d678692ba4517d9fd1ec3ee17b2b2b0af git Not specified
CNA Linux Linux affected e35f56bb03304abc92c928b641af41ca372966bb cad1c7c2a8552444a9bec6032774ac667f08afb7 git Not specified
CNA Linux Linux affected e35f56bb03304abc92c928b641af41ca372966bb 980e10d35c44cccc5abff8fea7f96ce168af8f07 git Not specified
CNA Linux Linux affected e35f56bb03304abc92c928b641af41ca372966bb ffa99759d4c01499d7eb78fce43db9db4d5da620 git Not specified
CNA Linux Linux affected e35f56bb03304abc92c928b641af41ca372966bb df46b452097bfe046e6c522b0b0e035259cbf8dc git Not specified
CNA Linux Linux affected e35f56bb03304abc92c928b641af41ca372966bb 5cdbd6d3a3a147fa9975e35f2602cbec9a72a932 git Not specified
CNA Linux Linux affected e2b6ef72b7aea9d7d480d2df499bcd1c93247abb git Not specified
CNA Linux Linux affected 5.15.153 5.16 semver Not specified
CNA Linux Linux affected 6.0 Not specified
CNA Linux Linux unaffected 6.0 semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.118 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.64 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/980e10d35c44cccc5abff8fea7f96ce168af8f07 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/df46b452097bfe046e6c522b0b0e035259cbf8dc 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/cad1c7c2a8552444a9bec6032774ac667f08afb7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5e34b51d678692ba4517d9fd1ec3ee17b2b2b0af 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5cdbd6d3a3a147fa9975e35f2602cbec9a72a932 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ffa99759d4c01499d7eb78fce43db9db4d5da620 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report