Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected ef6980b6becb1afd9d82a4f043749a10ae81bf14 before 70013f9163bef7fbd9fa62f81cf91b2a7ba66163; affected ef6980b6becb1afd9d82a4f043749a10ae81bf14 before be272e159dfe1207b67332ad6e17adcf59b4ea4b; affected ef6980b6becb1afd9d82a4f043749a10ae81bf14 before 8c8818e52fddb247ff3214622401a4de6ff8482e; affected ef6980b6becb1afd9d82a4f043749a10ae81bf14 before 9433578bff9c100c466a6354574892e55293cb8f; affected ef6980b6becb1afd9d82a4f043749a10ae81bf14 before 1cb42ec10294a55380e52e674b3df2b962648242; affected ef6980b6becb1afd9d82a4f043749a10ae81bf14 before 5526d1997aea6c9bd865ca4d4894b52e799d735c; affected ef6980b6becb1afd9d82a4f043749a10ae81bf14 before b69ad768cd4a2ef4e07c18492ae85438ed17c7cb; affected ef6980b6becb1afd9d82a4f043749a10ae81bf14 before 9406f6012b7343661efb516a11c62d4db2b62f75 |
| Linux / Linux | affected 4.6; unaffected 0 before 4.6; unaffected 5.10.261 through 5.10.*; unaffected 5.15.212 through 5.15.*; unaffected 6.1.178 through 6.1.*; unaffected 6.6.145 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- 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
ADP enrichment
No English description supplied.
No references supplied.