CVE-2026-72296: net: ife: require ETH_HLEN to be pullable in ife_decode()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: ife: require ETH_HLEN to be pullable in ife_decode()
ife decode may return after making only the outer IFE header and metadata pullable. The caller then passes the decapsulated packet to eth_type_trans(), which expects the inner Ethernet header to be accessible from the linear data area.
With a malformed IFE frame, the inner Ethernet header may still be shorter than ETH_HLEN in the linear area, which can lead to a crash in the original code.
Fix this by extending the pull check in ife_decode() so that the inner Ethernet header is also guaranteed to be pullable before returning.
The Linux kernel CVE team has assigned CVE-2026-72296 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.6 with commit ef6980b6becb1afd9d82a4f043749a10ae81bf14 and fixed in 5.10.261 with commit 70013f9163bef7fbd9fa62f81cf91b2a7ba66163 Issue introduced in 4.6 with commit ef6980b6becb1afd9d82a4f043749a10ae81bf14 and fixed in 5.15.212 with commit be272e159dfe1207b67332ad6e17adcf59b4ea4b Issue introduced in 4.6 with commit ef6980b6becb1afd9d82a4f043749a10ae81bf14 and fixed in 6.1.178 with commit 8c8818e52fddb247ff3214622401a4de6ff8482e Issue introduced in 4.6 with commit ef6980b6becb1afd9d82a4f043749a10ae81bf14 and fixed in 6.6.145 with commit 9433578bff9c100c466a6354574892e55293cb8f Issue introduced in 4.6 with commit ef6980b6becb1afd9d82a4f043749a10ae81bf14 and fixed in 6.12.97 with commit 1cb42ec10294a55380e52e674b3df2b962648242 Issue introduced in 4.6 with commit ef6980b6becb1afd9d82a4f043749a10ae81bf14 and fixed in 6.18.40 with commit 5526d1997aea6c9bd865ca4d4894b52e799d735c Issue introduced in 4.6 with commit ef6980b6becb1afd9d82a4f043749a10ae81bf14 and fixed in 7.1.5 with commit b69ad768cd4a2ef4e07c18492ae85438ed17c7cb Issue introduced in 4.6 with commit ef6980b6becb1afd9d82a4f043749a10ae81bf14 and fixed in 7.2-rc1 with commit 9406f6012b7343661efb516a11c62d4db2b62f75
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-72296
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:
net/ife/ife.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/70013f9163bef7fbd9fa62f81cf91b2a7ba66163 https://git.kernel.org/stable/c/be272e159dfe1207b67332ad6e17adcf59b4ea4b https://git.kernel.org/stable/c/8c8818e52fddb247ff3214622401a4de6ff8482e https://git.kernel.org/stable/c/9433578bff9c100c466a6354574892e55293cb8f https://git.kernel.org/stable/c/1cb42ec10294a55380e52e674b3df2b962648242 https://git.kernel.org/stable/c/5526d1997aea6c9bd865ca4d4894b52e799d735c https://git.kernel.org/stable/c/b69ad768cd4a2ef4e07c18492ae85438ed17c7cb https://git.kernel.org/stable/c/9406f6012b7343661efb516a11c62d4db2b62f75