CVE-2026-139018

Source
https://cve.org/CVERecord?id=CVE-2026-139018
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139018.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139018
Downstream
Published
2026-11-30T13:27:06Z
Modified
2026-11-30T15:01:54Z
Summary
PCI: endpoint: pci-epf-vntb: Manage virtual NTB and PCI bus lifetime
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139018.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e35f56bb03304abc92c928b641af41ca372966bb
Fixed
5e34b51d678692ba4517d9fd1ec3ee17b2b2b0af
Fixed
cad1c7c2a8552444a9bec6032774ac667f08afb7
Fixed
980e10d35c44cccc5abff8fea7f96ce168af8f07
Fixed
ffa99759d4c01499d7eb78fce43db9db4d5da620
Fixed
df46b452097bfe046e6c522b0b0e035259cbf8dc
Fixed
5cdbd6d3a3a147fa9975e35f2602cbec9a72a932
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e2b6ef72b7aea9d7d480d2df499bcd1c93247abb

Affected versions

v5.*
v5.15.153
v5.15.154
v5.15.155
v5.15.156
v5.15.157
v5.15.158
v5.15.159
v5.15.160
v5.15.161
v5.15.162
v5.15.163
v5.15.164
v5.15.165
v5.15.166
v5.15.167
v5.15.168
v5.15.169
v5.15.170
v5.15.171
v5.15.172
v5.15.173
v5.15.174
v5.15.175
v5.15.176
v5.15.177
v5.15.178
v5.15.179
v5.15.180
v5.15.181
v5.15.182
v5.15.183
v5.15.184
v5.15.185
v5.15.186
v5.15.187
v5.15.188
v5.15.189
v5.15.190
v5.15.191
v5.15.192
v5.15.193
v5.15.194
v5.15.195
v5.15.196
v5.15.197
v5.15.198
v5.15.199
v5.15.200
v5.15.201
v5.15.202
v5.15.203
v5.15.204
v5.15.205
v5.15.206
v5.15.207
v5.15.208
v5.15.209
v5.15.210
v5.15.211
v5.15.212
v5.15.213
v5.15.214
v5.15.215
v5.15.216
v5.15.217
v5.15.218
v5.15.219
v5.15.220
v5.15.221
v5.15.222
v5.15.223
v5.15.224
v5.15.225
v5.15.226

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139018.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.153
Fixed
5.16
Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.118
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.64
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139018.json"