AZL-118196: CVE-2026-143147 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ipv4: keep XFRM headers out of corked skb lengths
ipappenddata() allocates space for dst.headerlen in the first skb, but includes that space in skb->len until ipmakeskb() pulls it. Fragment accounting uses an MTU that already excludes the XFRM headers. As a result, the next skb can have a fraggap larger than its capped datalen, and skbcopyandcsumbits() can overwrite its shared info.
For example, five AH tunnel states can reserve 500 bytes while leaving an effective MTU of 348. With 40 bytes of IPv4 options, the second skb has room for 288 bytes of fragment data but receives a 500-byte gap copy. The overwritten shared info is subsequently consumed by the skb release paths.
Reserve the XFRM headers together with the link-layer headroom instead. This keeps skb->len, the gap-copy offsets and the trim lengths relative to the IPv4 packet throughout corking. The network and transport header addresses and the headroom available to XFRM at output are unchanged. Both paged and linear allocations, including subsequent corked appends, use the corrected accounting.
Affected Software
Event History
Frequently Asked Questions
What traffic and kernel features are needed to reach the vulnerable code path?
The issue is in IPv4 corking when XFRM headers are present. The described example uses multiple AH tunnel states and IPv4 options; the affected accounting also applies to both paged and linear allocations, including subsequent corked appends.
What is the impact if the condition is triggered?
A fragment-gap copy can exceed the space available in a subsequent skb and overwrite its shared-info area. The corrupted shared info is later used by skb release paths.
How can I determine whether my Azure Linux system is in scope?
The affected software is the Azure Linux kernel package, with version 6.6.161.1-1 identified in the advisory. Systems using IPv4 traffic with XFRM processing and corked packet construction are relevant to the described path.