{"id":"CVE-2026-139766","summary":"PCI: endpoint: pci-epf-vntb: Pass PF/VF number when BAR programming","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.","modified":"2026-11-30T15:02:30.956976744Z","published":"2026-11-30T13:37:46.574Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139766.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e2b6ef72b7aea9d7d480d2df499bcd1c93247abb"},{"fixed":"a3260653f7d521475c15e3a4415d57fbd63df732"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e35f56bb03304abc92c928b641af41ca372966bb"},{"fixed":"f61dd09ed2caf5a69a4c7a88ed67f0f52c7302dc"},{"fixed":"f417262f78ed47a61c4ec35a1894e0ee81b05d63"},{"fixed":"de1e611db63762006f345fc8634b0f13c3805ec7"},{"fixed":"9a74787f681ba38e7fac71c3e038892c85c2f308"},{"fixed":"200ceb1683465eacc8f3bb3f7218f4a15215ad41"},{"fixed":"afe2aa9dc93d904730bab63f5ccb514a318e6464"}]}],"versions":["v5.15.225","v5.15.224","v5.15.223","v5.15.222","v5.15.221","v5.15.220","v5.15.219","v5.15.218","v5.15.217","v5.15.216","v5.15.215","v5.15.214","v5.15.213","v5.15.212","v5.15.211","v5.15.210","v5.15.209","v5.15.208","v5.15.207","v5.15.206","v5.15.205","v5.15.204","v5.15.203","v5.15.202","v5.15.201","v5.15.200","v5.15.199","v5.15.198","v5.15.197","v5.15.196","v5.15.195","v5.15.194","v5.15.193","v5.15.192","v5.15.191","v5.15.190","v5.15.189","v5.15.188","v5.15.187","v5.15.186","v5.15.185","v5.15.184","v5.15.183","v5.15.182","v5.15.181","v5.15.180","v5.15.179","v5.15.178","v5.15.177","v5.15.176","v5.15.175","v5.15.174","v5.15.173","v5.15.172","v5.15.171","v5.15.170","v5.15.169","v5.15.168","v5.15.167","v5.15.166","v5.15.165","v5.15.164","v5.15.163","v5.15.162","v5.15.161","v5.15.160","v5.15.159","v5.15.158","v5.15.157","v5.15.156","v5.15.155","v5.15.154","v5.15.153"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139766.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","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"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139766.json"}}],"schema_version":"1.9.2"}