CVE-2026-72312: octeontx2-af: fix VF bringup affecting PF promiscuous state
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
octeontx2-af: fix VF bringup affecting PF promiscuous state
Mbox handling of nix_set_rx_mode for a VF with promiscuous and all_multi flags set to false causes deletion of the PF's promiscuous and allmulti MCAM rules. This occurs because the APIs that enable/disable these rules operate only on the PF, even when the mbox request is made via a VF interface.
Guard both rvu_npc_enable_allmulti_entry() and rvu_npc_enable_promisc_entry() disable paths with an is_vf() check so that a VF bringing up or tearing down its interface cannot inadvertently clear the PF's MCAM rules.
The Linux kernel CVE team has assigned CVE-2026-72312 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.14 with commit 967db3529ecac305d230aa4e60abddf6ab63543a and fixed in 6.1.178 with commit daa2451640a3e0727fd598f5c2ccb8bb4d5a8b9c Issue introduced in 5.14 with commit 967db3529ecac305d230aa4e60abddf6ab63543a and fixed in 6.6.145 with commit 212c59e5e416859579272288fd325148fc316109 Issue introduced in 5.14 with commit 967db3529ecac305d230aa4e60abddf6ab63543a and fixed in 6.12.97 with commit 53e17d9ed779ad25870abb9c31bc294c71a2278c Issue introduced in 5.14 with commit 967db3529ecac305d230aa4e60abddf6ab63543a and fixed in 6.18.40 with commit 3de77d2f34c2bc2acaedabc2c5e0a561b85c283a Issue introduced in 5.14 with commit 967db3529ecac305d230aa4e60abddf6ab63543a and fixed in 7.1.5 with commit 3cf83432e0561aef6d7ec2664909d12d0ff0ffc1 Issue introduced in 5.14 with commit 967db3529ecac305d230aa4e60abddf6ab63543a and fixed in 7.2-rc3 with commit fabb881df322da25442f98d23f5fa371e3c78ec4
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-72312
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_nix.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/daa2451640a3e0727fd598f5c2ccb8bb4d5a8b9c https://git.kernel.org/stable/c/212c59e5e416859579272288fd325148fc316109 https://git.kernel.org/stable/c/53e17d9ed779ad25870abb9c31bc294c71a2278c https://git.kernel.org/stable/c/3de77d2f34c2bc2acaedabc2c5e0a561b85c283a https://git.kernel.org/stable/c/3cf83432e0561aef6d7ec2664909d12d0ff0ffc1 https://git.kernel.org/stable/c/fabb881df322da25442f98d23f5fa371e3c78ec4