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

CVE-2026-139018
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ e35f56bb03304abc92c928b641af41ca372966bb < 5e34b51d678692ba4517d9fd1ec3ee17b2b2b0af
affected : ≥ e35f56bb03304abc92c928b641af41ca372966bb < cad1c7c2a8552444a9bec6032774ac667f08afb7
affected : ≥ e35f56bb03304abc92c928b641af41ca372966bb < 980e10d35c44cccc5abff8fea7f96ce168af8f07
affected : ≥ e35f56bb03304abc92c928b641af41ca372966bb < ffa99759d4c01499d7eb78fce43db9db4d5da620
affected : ≥ e35f56bb03304abc92c928b641af41ca372966bb < df46b452097bfe046e6c522b0b0e035259cbf8dc
affected : ≥ e35f56bb03304abc92c928b641af41ca372966bb < 5cdbd6d3a3a147fa9975e35f2602cbec9a72a932
affected : e2b6ef72b7aea9d7d480d2df499bcd1c93247abb
affected : ≥ 5.15.153 < 5.16
Other versions : unaffected
Linux · Linux
affected : 6.0
unaffected : ≥ 0 < 6.0
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.64 ≤ 6.18.*
unaffected : ≥ 7.3.4 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD