CVE-2026-139766

Source
https://cve.org/CVERecord?id=CVE-2026-139766
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139766.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139766
Downstream
Published
2026-11-30T13:37:46Z
Modified
2026-11-30T15:02:30Z
Summary
PCI: endpoint: pci-epf-vntb: Pass PF/VF number when BAR programming
Details

In the Linux kernel, the following vulnerability has been resolved:

PCI: endpoint: pci-epf-vntb: Pass PF/VF number when BAR programming

vntb_epf_mw_set_trans() programs the memory-window BAR through pci_epc_set_bar() with hardcoded function numbers (0, 0), so the BAR lands on the wrong function whenever the vNTB EPF is bound to anything but PF0. The other BAR programming sites in the vNTB driver already pass the EPF's own numbers.

Pass the EPF's own func_no/vfunc_no here as well.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139766.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
e2b6ef72b7aea9d7d480d2df499bcd1c93247abb
Fixed
a3260653f7d521475c15e3a4415d57fbd63df732
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e35f56bb03304abc92c928b641af41ca372966bb
Fixed
f61dd09ed2caf5a69a4c7a88ed67f0f52c7302dc
Fixed
f417262f78ed47a61c4ec35a1894e0ee81b05d63
Fixed
de1e611db63762006f345fc8634b0f13c3805ec7
Fixed
9a74787f681ba38e7fac71c3e038892c85c2f308
Fixed
200ceb1683465eacc8f3bb3f7218f4a15215ad41
Fixed
afe2aa9dc93d904730bab63f5ccb514a318e6464

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

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.153
Fixed
5.15.226
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.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

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