Linux
net/liquidio: drop cached VF pci_dev LUT
In the Linux kernel, the following vulnerability has been resolved: net/liquidio: drop cached VF pci_dev LUT The PF SR-IOV enable path caches VF pci_dev pointers in dpiring_to_vfpcidev_lut[] by iterating with pci_get_device(). Those entries do not own a reference, because the iterator drops the previous device reference on each step. The cached pointer is then dereferenced later when handling OCTEON_VF_FLR_REQUEST. Replace the cached VF mapping with runtime lookup on the mailbox DPI ring: derive the VF index from q_no, resolve the VF via exported PCI IOV helpers, validate it with the PF pointer and VF ID, then issue pcie_flr() and drop the reference with pci_dev_put(). Remove the unused VF lookup table initialization and cleanup.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= ca6139ffc67ee6ef0459f81e37894ed411083855, < 4ec87796fadf5a631ee6513c258c0e3d9ca62f79
- >= ca6139ffc67ee6ef0459f81e37894ed411083855, < e3b20de8d7c06c8f1a0ded1e52be9d282609c3da
- >= ca6139ffc67ee6ef0459f81e37894ed411083855, < 1cf5c6a80adc31456f3e93b2922a2446fd63e2c4
- >= ca6139ffc67ee6ef0459f81e37894ed411083855, < 08ff33dce6f91510bb296a753a232db0ca3fd3d8
- >= ca6139ffc67ee6ef0459f81e37894ed411083855, < 81acef3a247fd523513a2e9f71de1c167bc0f882
- >= ca6139ffc67ee6ef0459f81e37894ed411083855, < 5c0e3ba4f500fd4314ceb42f07f16bc445156431
Fixed in 4ec87796fadf5a631ee6513c258c0e3d9ca62f79, e3b20de8d7c06c8f1a0ded1e52be9d282609c3da, 1cf5c6a80adc31456f3e93b2922a2446fd63e2c4, 08ff33dce6f91510bb296a753a232db0ca3fd3d8, 81acef3a247fd523513a2e9f71de1c167bc0f882, 5c0e3ba4f500fd4314ceb42f07f16bc445156431
- 4.10
Fixed in 0, 6.1.191, 6.6.160, 6.12.114, 6.18.57, 7.1.5, 7.2
Mitigation
Upgrade Linux to 4ec87796fadf5a631ee6513c258c0e3d9ca62f79 or e3b20de8d7c06c8f1a0ded1e52be9d282609c3da or 1cf5c6a80adc31456f3e93b2922a2446fd63e2c4 or 08ff33dce6f91510bb296a753a232db0ca3fd3d8 or 81acef3a247fd523513a2e9f71de1c167bc0f882 or 5c0e3ba4f500fd4314ceb42f07f16bc445156431 or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.57 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.