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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e2b6ef72b7aea9d7d480d2df499bcd1c93247abb to < a3260653f7d521475c15e3a4415d57fbd63df732affectede35f56bb03304abc92c928b641af41ca372966bb to < f61dd09ed2caf5a69a4c7a88ed67f0f52c7302dcaffectede35f56bb03304abc92c928b641af41ca372966bb to < f417262f78ed47a61c4ec35a1894e0ee81b05d63affectede35f56bb03304abc92c928b641af41ca372966bb to < de1e611db63762006f345fc8634b0f13c3805ec7affectede35f56bb03304abc92c928b641af41ca372966bb to < 9a74787f681ba38e7fac71c3e038892c85c2f308affectede35f56bb03304abc92c928b641af41ca372966bb to < 200ceb1683465eacc8f3bb3f7218f4a15215ad41affectede35f56bb03304abc92c928b641af41ca372966bb to < afe2aa9dc93d904730bab63f5ccb514a318e6464affected5.15.153 to < 5.15.226affected
Linux Linux
Default version status: affected
6.0affected0 to < 6.0unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- 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 ↗