CVE-2026-53235
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Summary
In the Linux kernel, the following vulnerability has been resolved:
net: add pskb_may_pull() to skb_gro_receive_list()
skb_gro_receive_list() calls skb_pull(skb, skb_gro_offset(skb)) without first ensuring the data is in the linear area via pskb_may_pull(). When the skb arrives via napi_gro_frags(), skb_headlen can be 0 (all data in page fragments) while skb_gro_offset is non-zero (after IP+TCP header parsing). The skb_pull() then decrements skb->len by skb_gro_offset but skb->data_len stays unchanged, hitting BUG_ON(skb->len < skb->data_len) in __skb_pull().
The UDP fraglist GRO path already contains this guard at udp_offload.c:749. Adding it to skb_gro_receive_list() itself provides centralized protection for all callers (TCP, UDP, and any future protocols), and ensures the precondition of skb_pull() is satisfied before it is called.
On pskb_may_pull() failure, set NAPI_GRO_CB(skb)->flush = 1 so the skb is not held as a new GRO head and is instead delivered through the normal receive path, matching the UDP handling.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 8d95dc474f85481652a0e422d2f1f079de81f63c < 9e636c995b7beeb74ea882968248752821c244c4 | affected |
| Linux | Linux | 8d95dc474f85481652a0e422d2f1f079de81f63c < 0cde3a004119db637b401c54e77536e4145fc0b4 | affected |
| Linux | Linux | 8d95dc474f85481652a0e422d2f1f079de81f63c < 848571dcbbbea7ba44dd4f7ebe1fbb274afe08ac | affected |
| Linux | Linux | 8d95dc474f85481652a0e422d2f1f079de81f63c < f2bb3434544454099a5b6dec213567267b05d79d | affected |
| Linux | Linux | 6.10 | affected |
| Linux | Linux | 0 < 6.10 | unaffected |
| Linux | Linux | 6.12.94 <= 6.12.* | unaffected |
| Linux | Linux | 6.18.36 <= 6.18.* | unaffected |
| Linux | Linux | 7.0.13 <= 7.0.* | unaffected |
| Linux | Linux | 7.1 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/9e636c995b7beeb74ea882968248752821c244c4
- https://git.kernel.org/stable/c/0cde3a004119db637b401c54e77536e4145fc0b4
- https://git.kernel.org/stable/c/848571dcbbbea7ba44dd4f7ebe1fbb274afe08ac
- https://git.kernel.org/stable/c/f2bb3434544454099a5b6dec213567267b05d79d
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.