# CVE-2026-139766: PCI: endpoint: pci-epf-vntb: Pass PF/VF number when BAR programming

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:37:46.574Z
- **Modified:** 2026-11-30T14:20:09.490Z

> **AI summary (AI-generated, claude-haiku-5-5):** 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.

## 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

## 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

- 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)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 5.15.226 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- other: <https://git.kernel.org/stable/c/a3260653f7d521475c15e3a4415d57fbd63df732>
- other: <https://git.kernel.org/stable/c/f61dd09ed2caf5a69a4c7a88ed67f0f52c7302dc>
- other: <https://git.kernel.org/stable/c/f417262f78ed47a61c4ec35a1894e0ee81b05d63>
- other: <https://git.kernel.org/stable/c/de1e611db63762006f345fc8634b0f13c3805ec7>
- other: <https://git.kernel.org/stable/c/9a74787f681ba38e7fac71c3e038892c85c2f308>
- other: <https://git.kernel.org/stable/c/200ceb1683465eacc8f3bb3f7218f4a15215ad41>
- other: <https://git.kernel.org/stable/c/afe2aa9dc93d904730bab63f5ccb514a318e6464>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139766>

HTML: <https://flawdb.com/CVE-2026-139766> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139766>
