Linux kernel PCI endpoint pci-epf-vntb: pass PF/VF number when programming BAR
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
In the Linux kernel, vntb_epf_mw_set_trans() in the pci-epf-vntb driver programs the memory-window BAR through pci_epc_set_bar() with hardcoded function numbers (0, 0). The BAR therefore lands on the wrong function whenever the vNTB EPF is bound to any function other than PF0. The other BAR programming sites in the vNTB driver already pass the EPF's own numbers. The affected ranges are 5.15.153 before 5.15.226 and 6.0 onward, as fixed in the listed stable releases.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update the Linux kernel to 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1 or later. The fix passes the EPF's own func_no and vfunc_no to pci_epc_set_bar() in vntb_epf_mw_set_trans().
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 5.15.226
- Fix · CNA Linux (Linux) Fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139766
- 2026-11-30 Alias added: GHSA-pw4q-3m94-x3fp
References
Other 7
- 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
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139766 · CVE Program
- CVE-2026-139766 · NVD
- GHSA-pw4q-3m94-x3fp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences