summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2026-11-19 13:10:29 +0100
committerPaolo Abeni <pabeni@redhat.com>2026-11-19 13:10:30 +0100
commit12fc46d87016ab1721b27addcc0b0a4a2d1f8978 (patch)
tree77d97273864d6473bdccf3067c387ea63a19f1a1 /rust/kernel/alloc/allocator
parenta8aeac0b1883206cf72461258e6bfd991589049e (diff)
parent02f578b736f1524ed73ef879fb1cf1ba4a875aa4 (diff)
Merge branch 'net-avoid-truncated-transport-header-offsets'
Eric Dumazet says: ==================== net: avoid truncated transport header offsets skb->transport_header is a 16-bit offset from skb->head, and U16_MAX is reserved as the "not set" value. skb_set_transport_header() silently truncates an offset that does not fit. The first patch addresses the report from Hyunwoo Kim, by applying the IP6_MAX_EXT_HDRS_CNT limit to ipv6_gro_pull_exthdrs(). The four following patches convert places storing an offset derived from an IPv6 extension header walk to skb_set_transport_header_careful(). A single chain being bounded to 24576 bytes, these need a large skb->data - skb->head to overflow, for instance after nested decapsulations. They are hardening, no reproducer was written. The same change for nf_ct_frag6_gather() is sent separately to the netfilter tree. ==================== Link: https://patch.msgid.link/20261113124625.4010206-1-edumazet@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions