{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e2b6ef72b7aea9d7d480d2df499bcd1c93247abb"
            },
            {
              "fixed": "a3260653f7d521475c15e3a4415d57fbd63df732"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "e35f56bb03304abc92c928b641af41ca372966bb"
            },
            {
              "fixed": "f61dd09ed2caf5a69a4c7a88ed67f0f52c7302dc"
            },
            {
              "fixed": "f417262f78ed47a61c4ec35a1894e0ee81b05d63"
            },
            {
              "fixed": "de1e611db63762006f345fc8634b0f13c3805ec7"
            },
            {
              "fixed": "9a74787f681ba38e7fac71c3e038892c85c2f308"
            },
            {
              "fixed": "200ceb1683465eacc8f3bb3f7218f4a15215ad41"
            },
            {
              "fixed": "afe2aa9dc93d904730bab63f5ccb514a318e6464"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139766.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: endpoint: pci-epf-vntb: Pass PF/VF number when BAR programming\n\nvntb_epf_mw_set_trans() programs the memory-window BAR through\npci_epc_set_bar() with hardcoded function numbers (0, 0), so the BAR\nlands on the wrong function whenever the vNTB EPF is bound to anything\nbut PF0. The other BAR programming sites in the vNTB driver already pass\nthe EPF's own numbers.\n\nPass the EPF's own func_no/vfunc_no here as well.",
  "id": "CVE-2026-139766",
  "modified": "2026-11-30T14:45:31.367965107Z",
  "published": "2026-11-30T13:37:46.574Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/200ceb1683465eacc8f3bb3f7218f4a15215ad41"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9a74787f681ba38e7fac71c3e038892c85c2f308"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a3260653f7d521475c15e3a4415d57fbd63df732"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/afe2aa9dc93d904730bab63f5ccb514a318e6464"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/de1e611db63762006f345fc8634b0f13c3805ec7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f417262f78ed47a61c4ec35a1894e0ee81b05d63"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f61dd09ed2caf5a69a4c7a88ed67f0f52c7302dc"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139766.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139766"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "PCI: endpoint: pci-epf-vntb: Pass PF/VF number when BAR programming"
}