Linux
bpf: Reject fragmented frames in devmap
In the Linux kernel, the following vulnerability has been resolved: bpf: Reject fragmented frames in devmap Devmap broadcast redirects clone the packet for all but the last destination. For native XDP, that clone path copies only the linear xdp_frame data, while fragmented frames keep skb_shared_info in tailroom outside the linear area. Cloning such a frame leaves XDP_FLAGS_HAS_FRAGS set but without valid frag metadata, and the later free path can interpret uninitialized tail data as skb_shared_info, leading to an out-of-bounds access during frame return. Reject fragmented native XDP frames in dev_map_enqueue_clone(). Add the same restriction to the generic XDP clone path in dev_map_redirect_clone(). Generic XDP represents fragmented packets as nonlinear skbs, and rejecting them here keeps clone-based broadcast support aligned between native and generic XDP.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= e624d4ed4aa8cc3c69d1359b0aaea539203ed266, < 47baddc856ae7e93a565dd9deeb797999b179466
- >= e624d4ed4aa8cc3c69d1359b0aaea539203ed266, < 07a4c11ee8ef4abcb39d922e9e410ae269671cdf
- >= e624d4ed4aa8cc3c69d1359b0aaea539203ed266, < bccbab36ff228e0825eb85d9b0f9b8434cd0a399
- >= e624d4ed4aa8cc3c69d1359b0aaea539203ed266, < c5b4f5efcb55c1af3fe44ff712d31b7fb098a831
- >= e624d4ed4aa8cc3c69d1359b0aaea539203ed266, < a9bb2d9c798cb62a4050a991c27b752770c33afe
- >= e624d4ed4aa8cc3c69d1359b0aaea539203ed266, < 51d07c12ca411e692c424ecdabf077f1e61a61be
- >= e624d4ed4aa8cc3c69d1359b0aaea539203ed266, < aa496720618f1a6054f1c870bf10b4f6c99bf656
Fixed in 47baddc856ae7e93a565dd9deeb797999b179466, 07a4c11ee8ef4abcb39d922e9e410ae269671cdf, bccbab36ff228e0825eb85d9b0f9b8434cd0a399, c5b4f5efcb55c1af3fe44ff712d31b7fb098a831, a9bb2d9c798cb62a4050a991c27b752770c33afe, 51d07c12ca411e692c424ecdabf077f1e61a61be, aa496720618f1a6054f1c870bf10b4f6c99bf656
- 5.14
Fixed in 0, 5.15.212, 6.1.178, 6.6.145, 6.12.96, 6.18.39, 7.1.4, 7.2
Mitigation
Upgrade Linux to 47baddc856ae7e93a565dd9deeb797999b179466 or 07a4c11ee8ef4abcb39d922e9e410ae269671cdf or bccbab36ff228e0825eb85d9b0f9b8434cd0a399 or c5b4f5efcb55c1af3fe44ff712d31b7fb098a831 or a9bb2d9c798cb62a4050a991c27b752770c33afe or 51d07c12ca411e692c424ecdabf077f1e61a61be or aa496720618f1a6054f1c870bf10b4f6c99bf656 or later.
Upgrade Linux to 0 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.96 or 6.18.39 or 7.1.4 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.