CVE-2026-139766

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

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A programming error in the Linux kernel's vNTB EPF driver causes the memory‐window Base Address Register to be programmed with a hardcoded physical function number instead of the correct function number of the Endpoint Function. Because the BAR is misconfigured, the device may map to the wrong function and potentially expose or corrupt memory used by the system. This flaw can lead to instability, device malfunction, and, in the worst case, memory corruption that could be leveraged for privilege escalation.

Affected Systems

The error exists in the Linux kernel for all releases that include the vNTB EPF driver before the patch. It applies to any system that uses a vNTB Endpoint Function bound to a function other than PF0, which can occur on servers or workstations that employ virtual PCI passthrough or other vNTB setups. The vendor identified is Linux, the product is the Linux kernel, and no specific version numbers are listed in the CVE data.

Risk and Exploitability

Exploit information is not currently available. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, indicating no known widespread exploitation. However, the flaw allows the device to be configured incorrectly, which could result in memory corruption or denial of service. The CVSS score is not provided, but the potential impact on system integrity and availability warrants prompt remediation. The likely attack vector is through local or remote exploitation of the corrupted device configuration by an authenticated or compromised user process that can load or reconfigure PCI drivers.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a release that includes the vNTB EPF patch for correct BAR programming
  • Reboot the system or reload the PCI subsystem to activate the updated driver code
  • If vNTB EPFs are bound to non‑PF0 functions, reconfigure or disable them until the patch is applied or verify that the correct function numbers are used

Generated by OpenCVE AI on December 1, 2026 at 01:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-398
Type Values Removed Values Added
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.
Title PCI: endpoint: pci-epf-vntb: Pass PF/VF number when BAR programming
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM