net: fix frag_list leak in skb_segment_list() error path
- CVE-2026-143461
- EUVD-2026-145090
Summary
A fix in the Linux kernel's networking code addresses a memory leak in the error path of skb_segment_list(). The function moves frag_list members onto the skb next chain one by one, and on error it frees that chain. When the current member was shared, it is replaced by a clone, which clears the next pointer, so if linearization of that clone then fails, the members not yet processed become unreachable and leak. The fix relinks the next pointer to the remaining list unconditionally right after each member is added to the chain, so every error exit can free all remaining members. The record does not give a CVSS score and states the issue is not on the CISA known exploited list.
AI summary · verify against the vendor advisory
Description
In the Linux kernel, the following vulnerability has been resolved: net: fix frag_list leak in skb_segment_list() error path skb_segment_list() detaches the frag_list from the head skb and moves its members one by one to the skb->next chain. On error, err_linearize frees that chain with kfree_skb_list(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 skb_clone(), and __skb_clone() clears ->next. If __skb_linearize() then fails on that clone, the remaining members are no longer reachable from skb->next nor from skb_shinfo(skb)->frag_list, and they leak. The skb_shared() error branch already relinks nskb->next to list_skb before jumping to err_linearize. Do it unconditionally right after nskb is added to the chain, so every error exit sees the remaining members. On the last member list_skb is NULL, which still terminates the chain.
Text from the CVE.org record.
Recommendation
Linux
- If you run 5.10.xupdate to 5.10.275 or laterPatch update: breaking changes are unlikely
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 5.10.10 to before 5.10.275 5.10.275 5.11 none stated before 5.11: not affected none stated from 5.10.275 up to 5.10.*: not affected none stated from 5.15.226 up to 5.15.*: not affected none stated from 6.1.193 up to 6.1.*: not affected none stated from 6.6.163 up to 6.6.*: not affected none stated from 6.12.119 up to 6.12.*: not affected none stated and 3 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.