CVE-2026-143461: net: fix frag_list leak in skb_segment_list() error path
In the Linux kernel, the following vulnerability has been resolved:
net: fix fraglist leak in skbsegmentlist() error path
skbsegmentlist() detaches the fraglist from the head skb and moves its members one by one to the skb->next chain. On error, errlinearize frees that chain with kfreeskblist(skb->next), relying on the members not yet processed to still be linked after the current one.
This does not hold when the current member was shared: it is replaced by skbclone(), and skbclone() clears ->next. If skblinearize() then fails on that clone, the remaining members are no longer reachable from skb->next nor from skbshinfo(skb)->fraglist, and they leak.
The skbshared() error branch already relinks nskb->next to listskb before jumping to errlinearize. Do it unconditionally right after nskb is added to the chain, so every error exit sees the remaining members. On the last member listskb is NULL, which still terminates the chain.
Affected Software
Event History
Frequently Asked Questions
What conditions are required for the leak to occur?
The error path must process a shared frag_list member that is replaced with skb_clone(), followed by a failure in __skb_linearize(). In that sequence, later frag_list members can become unreachable and are not freed.
What is the impact of a failed segmentation operation in the affected path?
Unprocessed skb members can leak because they are no longer linked from either skb->next or skb_shinfo(skb)->frag_list. The provided information describes a memory leak, not data corruption or code execution.
How can I check whether a kernel source tree includes the fix?
Inspect skb_segment_list() for logic that assigns nskb->next to the remaining list_skb immediately after nskb is added to the chain, before error handling. The relink must occur unconditionally so err_linearize can free all remaining members.