CVE-2026-143147

Source
https://cve.org/CVERecord?id=CVE-2026-143147
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143147.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143147
Downstream
Published
2026-12-03T09:19:51Z
Modified
2026-12-03T11:01:25Z
Summary
ipv4: keep XFRM headers out of corked skb lengths
Details

In the Linux kernel, the following vulnerability has been resolved:

ipv4: keep XFRM headers out of corked skb lengths

__ip_append_data() allocates space for dst.header_len in the first skb, but includes that space in skb->len until __ip_make_skb() 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 skb_copy_and_csum_bits() 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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143147.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
353e5c9abd900de3d1a40925386ffe4abf76111e
Fixed
ca0c8be0da23a51bbd857cb917def4f73113a715
Fixed
7525c4171570e7114723bbb22906b996f4a4eef7
Fixed
e56242c11080c2ba1f233b14c36ab3d76d6fff72
Fixed
9b9e9bf016ca6dd7552e5ed3169fedf40fcbe1a0
Fixed
abe22654487724fe96bfaeacc502884d981adb06
Show 1 more event Show fewer events
Fixed
0f47fce51a98d3d9f439c16861d519a7b833a176

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143147.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
5.10.276
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143147.json"