CVE-2026-72410: octeontx2-af: Validate NIX maximum LFs correctly
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
octeontx2-af: Validate NIX maximum LFs correctly
NIX maximum number of LFs can be set via devlink command but that can be done before assigning any LFs to a PF/VF. The condition used to check whether any LFs are assigned is incorrect. This patch fixes that condition.
The Linux kernel CVE team has assigned CVE-2026-72410 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.8 with commit dd7842878633453e38d6a4927593dd28b9d8ab91 and fixed in 6.12.97 with commit 0933fe0130eb71af0c3ab481b40f543b458a8c54 Issue introduced in 6.8 with commit dd7842878633453e38d6a4927593dd28b9d8ab91 and fixed in 6.18.40 with commit e0ac054416bf4e913fe96cefefe94e3331bbe6fa Issue introduced in 6.8 with commit dd7842878633453e38d6a4927593dd28b9d8ab91 and fixed in 7.1.5 with commit b1f6381acf9d55fab208e8b4c252a5a671820bd9 Issue introduced in 6.8 with commit dd7842878633453e38d6a4927593dd28b9d8ab91 and fixed in 7.2-rc1 with commit 1576d12a39860418d6a68b402fda71a48f04a57c
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-72410
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/marvell/octeontx2/af/rvu_devlink.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/0933fe0130eb71af0c3ab481b40f543b458a8c54 https://git.kernel.org/stable/c/e0ac054416bf4e913fe96cefefe94e3331bbe6fa https://git.kernel.org/stable/c/b1f6381acf9d55fab208e8b4c252a5a671820bd9 https://git.kernel.org/stable/c/1576d12a39860418d6a68b402fda71a48f04a57c