CVE-2026-139766
PCI: endpoint: pci-epf-vntb: Pass PF/VF number when BAR programming
AI summary AI generated
An attacker can exploit a bug in the Linux kernel PCI endpoint vNTB driver where BAR programming uses hardcoded function numbers, placing the BAR on the wrong function when not bound to PF0.
Mitigation
- Upgrade Linux to 5.15.226 or later.
Who should check
- Anyone running Linux >= e2b6ef72b7aea9d7d480d2df499bcd1c93247abb, < a3260653f7d521475c15e3a4415d57fbd63df732; >= e35f56bb03304abc92c928b641af41ca372966bb, < f61dd09ed2caf5a69a4c7a88ed67f0f52c7302dc; >= e35f56bb03304abc92c928b641af41ca372966bb, < f417262f78ed47a61c4ec35a1894e0ee81b05d63; >= e35f56bb03304abc92c928b641af41ca372966bb, < de1e611db63762006f345fc8634b0f13c3805ec7; >= e35f56bb03304abc92c928b641af41ca372966bb, < 9a74787f681ba38e7fac71c3e038892c85c2f308; >= e35f56bb03304abc92c928b641af41ca372966bb, < 200ceb1683465eacc8f3bb3f7218f4a15215ad41; >= e35f56bb03304abc92c928b641af41ca372966bb, < afe2aa9dc93d904730bab63f5ccb514a318e6464; >= 5.15.153, < 5.15.226
- Anyone running Linux 6.0
Vulnerability facts
- Affected
- Linux >= e2b6ef72b7aea9d7d480d2df499bcd1c93247abb, < a3260653f7d521475c15e3a4415d57fbd63df732; >= e35f56bb03304abc92c928b641af41ca372966bb, < f61dd09ed2caf5a69a4c7a88ed67f0f52c7302dc; >= e35f56bb03304abc92c928b641af41ca372966bb, < f417262f78ed47a61c4ec35a1894e0ee81b05d63; >= e35f56bb03304abc92c928b641af41ca372966bb, < de1e611db63762006f345fc8634b0f13c3805ec7; >= e35f56bb03304abc92c928b641af41ca372966bb, < 9a74787f681ba38e7fac71c3e038892c85c2f308; >= e35f56bb03304abc92c928b641af41ca372966bb, < 200ceb1683465eacc8f3bb3f7218f4a15215ad41; >= e35f56bb03304abc92c928b641af41ca372966bb, < afe2aa9dc93d904730bab63f5ccb514a318e6464; >= 5.15.153, < 5.15.226; Linux 6.0
- Fixed in
- Linux 9a74787f681ba38e7fac71c3e038892c85c2f308, Linux 200ceb1683465eacc8f3bb3f7218f4a15215ad41, Linux 5.15.226
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e2b6ef72b7aea9d7d480d2df499bcd1c93247abb, < a3260653f7d521475c15e3a4415d57fbd63df732; >= e35f56bb03304abc92c928b641af41ca372966bb, < f61dd09ed2caf5a69a4c7a88ed67f0f52c7302dc; >= e35f56bb03304abc92c928b641af41ca372966bb, < f417262f78ed47a61c4ec35a1894e0ee81b05d63; >= e35f56bb03304abc92c928b641af41ca372966bb, < de1e611db63762006f345fc8634b0f13c3805ec7; >= e35f56bb03304abc92c928b641af41ca372966bb, < 9a74787f681ba38e7fac71c3e038892c85c2f308; >= e35f56bb03304abc92c928b641af41ca372966bb, < 200ceb1683465eacc8f3bb3f7218f4a15215ad41; >= e35f56bb03304abc92c928b641af41ca372966bb, < afe2aa9dc93d904730bab63f5ccb514a318e6464; >= 5.15.153, < 5.15.226 | — | cvelist |
| Linux | 6.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-139766. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-139766.md Affected: Linux >= e2b6ef72b7aea9d7d480d2df499bcd1c93247abb, < a3260653f7d521475c15e3a4415d57fbd63df732; >= e35f56bb03304abc92c928b641af41ca372966bb, < f61dd09ed2caf5a69a4c7a88ed67f0f52c7302dc; >= e35f56bb03304abc92c928b641af41ca372966bb, < f417262f78ed47a61c4ec35a1894e0ee81b05d63; >= e35f56bb03304abc92c928b… Fixed in: Linux 9a74787f681ba38e7fac71c3e038892c85c2f308, Linux 200ceb1683465eacc8f3bb3f7218f4a15215ad41, Linux 5.15.226 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/a3260653f7d521475c15e3a4415d57fbd63df732
- https://git.kernel.org/stable/c/f61dd09ed2caf5a69a4c7a88ed67f0f52c7302dc
- https://git.kernel.org/stable/c/f417262f78ed47a61c4ec35a1894e0ee81b05d63
- https://git.kernel.org/stable/c/de1e611db63762006f345fc8634b0f13c3805ec7
- https://git.kernel.org/stable/c/9a74787f681ba38e7fac71c3e038892c85c2f308
- https://git.kernel.org/stable/c/200ceb1683465eacc8f3bb3f7218f4a15215ad41
- https://git.kernel.org/stable/c/afe2aa9dc93d904730bab63f5ccb514a318e6464
FAQ
Is CVE-2026-139766 being exploited?
There is no confirmed exploitation: CVE-2026-139766 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-139766?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-139766?
Linux >= e2b6ef72b7aea9d7d480d2df499bcd1c93247abb, < a3260653f7d521475c15e3a4415d57fbd63df732; >= e35f56bb03304abc92c928b641af41ca372966bb, < f61dd09ed2caf5a69a4c7a88ed67f0f52c7302dc; >= e35f56bb03304abc92c928b641af41ca372966bb, < f417262f78ed47a61c4ec35a1894e0ee81b05d63; >= e35f56bb03304abc92c928b641af41ca372966bb, < de1e611db63762006f345fc8634b0f13c3805ec7; >= e35f56bb03304abc92c928b641af41ca372966bb, < 9a74787f681ba38e7fac71c3e038892c85c2f308; >= e35f56bb03304abc92c928b641af41ca372966bb, < 200ceb1683465eacc8f3bb3f7218f4a15215ad41; >= e35f56bb03304abc92c928b641af41ca372966bb, < afe2aa9dc93d904730bab63f5ccb514a318e6464; >= 5.15.153, < 5.15.226; Linux 6.0.
Is there a fix for CVE-2026-139766?
Yes. Fixed in Linux 9a74787f681ba38e7fac71c3e038892c85c2f308, Linux 200ceb1683465eacc8f3bb3f7218f4a15215ad41, Linux 5.15.226. Upgrade Linux to 5.15.226 or later.
How do I check if I'm affected by CVE-2026-139766?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |