Skip to contentSkip to conversation

CVE-2026-72329: net/liquidio: drop cached VF pci_dev LUT

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 15

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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.

The Linux kernel CVE team has assigned CVE-2026-72329 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.10 with commit ca6139ffc67ee6ef0459f81e37894ed411083855 and fixed in 7.1.5 with commit 81acef3a247fd523513a2e9f71de1c167bc0f882
	Issue introduced in 4.10 with commit ca6139ffc67ee6ef0459f81e37894ed411083855 and fixed in 7.2-rc3 with commit 5c0e3ba4f500fd4314ceb42f07f16bc445156431

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-72329

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/net/ethernet/cavium/liquidio/lio_main.c drivers/net/ethernet/cavium/liquidio/octeon_device.h drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/81acef3a247fd523513a2e9f71de1c167bc0f882
	https://git.kernel.org/stable/c/5c0e3ba4f500fd4314ceb42f07f16bc445156431