CVE-2026-143234: net: skbuff: preserve fclone lifetime when freeing stolen heads
In the Linux kernel, the following vulnerability has been resolved:
net: skbuff: preserve fclone lifetime when freeing stolen heads
skbmorph() can give an skb from skbufffclonecache a page-fragment head without changing its fclone tag. IPv4 reassembly can produce such an skb, which can subsequently reach the GRO stolen-head path.
napiskbfreestolenhead() puts the shell into the ordinary NAPI skb cache without dropping its fcloneref. If the embedded companion is still live, KASAN poisons it along with the original, and later cache reuse or eviction can overwrite or free the allocation underneath it. A mirrored batman-adv DAT packet retained in a plug qdisc reproduces a KASAN use-after-free in plugdequeue().
Use kfreeskbmem() for fclones in napiskbfreestolenhead(), retaining NAPI caching for ordinary skb heads. Also use kfreeskbmem() in kfreeskbpartial(), whose stolen-head branch has the same assumption about the allocation cache. This releases the shell according to its allocation kind and preserves any live companion without freeing the data that has been transferred to the receiving skb.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In the Linux kernel, use kfree_skbmem() for fclones in napi_skb_free_stolen_head() and in the stolen-head branch of kfree_skb_partial(), preserving the fclone allocation lifetime.
Event History
Frequently Asked Questions
Which networking paths are implicated?
The issue can arise when IPv4 reassembly produces an skb from skbuff_fclone_cache that later reaches the GRO stolen-head path. The report also identifies a reproducer involving a mirrored batman-adv DAT packet retained in a plug qdisc.
What evidence could indicate that a system is affected?
A KASAN use-after-free reported in plug_dequeue() is the described symptom. The underlying condition involves an fclone skb shell being placed in the ordinary NAPI skb cache while its embedded companion remains live.
What does the fix change?
The fix uses kfree_skbmem() in napi_skb_free_stolen_head() and in the stolen-head branch of kfree_skb_partial() for fclone allocations. This releases the shell according to its allocation type while preserving a live companion and avoiding release of transferred data.