CyberRota Analysis
AI-GeneratedThe vulnerability in the Linux kernel affects the SR-IOV (Single Root I/O Virtualization) implementation, specifically in how it handles cached virtual function (VF) PCI device pointers. This flaw could lead to improper dereferencing of these pointers, potentially resulting in system instability or unauthorized access to resources. Organizations utilizing Linux systems with SR-IOV capabilities should prioritize addressing this issue to ensure the integrity and security of their virtualized environments.
Original NVD Description
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.