CVE-2026-53240
published high CVSS 3.1 · 8.8xfrm: iptfs: fix use-after-free on first_skb in __input_process_payload
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3f3339885fb343b7b42d7c34717108ce07da24ae to < 8d9a79fbf5172d9c4c0146057af2360913265a11 · 3f3339885fb343b7b42d7c34717108ce07da24ae to < ff2ee35b6ce5fa8a8e24ea50b15733d5c8780198 · 3f3339885fb343b7b42d7c34717108ce07da24ae to < eb48730bb827d1550401a5d391903f9d90b493c8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.36 through 6.18.* (unaffected · semver) · 7.0.13 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-aws-7.0 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-aws-7.0-cloud-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-aws-7.0-headers-7.0.0-1012 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-aws-7.0-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-azure-7.0 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-headers-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-headers-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-headers-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-headers-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-headers-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-headers-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0-cloud-tools-7.0.0-31 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0-headers-7.0.0-31 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0-tools-7.0.0-31 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-lib-rust-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-evdi-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-ipu6-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-ipu7-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-usbio-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-vision-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-nvidia-7.0 | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-nvidia-7.0-headers-7.0.0-1018 | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-nvidia-7.0-tools-7.0.0-1018 | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-tools-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-tools-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-tools-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-tools-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-tools-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | resolute | bpftool | Advisory build | 7.7.0+7.0.0-31.31 | USN-8726-1 |
| Ubuntu | resolute | linux | Advisory build | 7.0.0-31.31 | USN-8726-1 |
| Ubuntu | resolute | linux-aws | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-aws-cloud-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-aws-headers-7.0.0-1012 | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-aws-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-azure | Advisory build | 7.0.0-1014.14 | USN-8726-4 |
| Ubuntu | resolute | linux-azure-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14 | USN-8726-4 |
| Ubuntu | resolute | linux-azure-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14 | USN-8726-4 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: xfrm: iptfs: fix use-after-free on first_skb in __input_process_payload __input_process_payload() stores first_skb into xtfs->ra_newskb under drop_lock when starting partial reassembly, then unlocks and breaks out of the processing loop. The post-loop check reads xtfs->ra_newskb without the lock to decide whether first_skb is still owned: if (first_skb && first_iplen && !defer && first_skb != xtfs->ra_newskb) Between spin_unlock and this read, a concurrent CPU running iptfs_reassem_cont() (or the drop_timer hrtimer) can complete reassembly, NULL xtfs->ra_newskb, and free the skb. The check then evaluates first_skb != NULL as true, and pskb_trim/ip_summed/consume_skb operate on the freed skb — a use-after-free in skbuff_head_cache. Replace the unlocked read with a local bool that records whether first_skb was handed to the reassembly state in the current call. The flag is set after the existing spin_unlock, before the break, using the pointer equality that is stable at that point (first_skb == skb iff first_skb was stored in ra_newskb).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - The vulnerable IPTFS parser is reached from the network receive path through xfrm4/xfrm6 ESP handling, xfrm_input, and iptfs_input on an inbound IPTFS SA. A reasonable high-impact deployment is an internet-reachable IPsec/IPTFS gateway processing remote peer traffic. AC:L - The bug is a use-after-free race after first_skb is handed to reassembly, and the attacker can drive the needed fragmented/reordered IPTFS packets and concurrent continuation processing. There is no condition beyond the attacker’s control once valid IPTFS ESP traffic reaches the SA. PR:L - Unauthenticated packets are rejected by XFRM/ESP state lookup, replay, and crypto verification before IPTFS parsing, so a remote attacker needs valid SA access or credentials. Locally, creating the IPTFS SA requires CAP_NET_ADMIN in a network namespace, which is reachable as low privilege via user namespaces. UI:N - No victim user action is required after the vulnerable SA is present; packet receipt alone triggers the path. The attacker sends crafted traffic to the configured endpoint. S:U - The impact is kernel memory corruption within the same host kernel security authority. This is not a VM escape, IOMMU bypass, or other cross-scope boundary. C:H - This is a use-after-free of an sk_buff from skbuff_head_cache, and freed object reuse can expose kernel memory or support stronger disclosure primitives. Under the required guidance, UAF memory corruption warrants high confidentiality impact. I:H - The stale sk_buff is subsequently used by pskb_trim, field writes, and freeing paths, giving a plausible route to heap corruption and control-flow or data corruption. Under the required guidance, UAF memory corruption warrants high integrity impact. A:H - The stale sk_buff access can corrupt kernel heap state or crash in packet processing/freeing paths. A kernel oops, panic, or repeatable crash is high availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3f3339885fb343b7b42d7c34717108ce07da24ae to < 8d9a79fbf5172d9c4c0146057af2360913265a11 (affected · git)3f3339885fb343b7b42d7c34717108ce07da24ae to < ff2ee35b6ce5fa8a8e24ea50b15733d5c8780198 (affected · git)3f3339885fb343b7b42d7c34717108ce07da24ae to < eb48730bb827d1550401a5d391903f9d90b493c8 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.36 through 6.18.* (unaffected · semver)7.0.13 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
xfrm: iptfs: fix use-after-free on first_skb in __input_process_payload
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cd043e29cc5e95f16de8fbd9cc8327907862cca541783b578a48586191e46a2d
- Ingested
- 23 Sep 2026, 09:19:36 UTC
- Source record
- Official CVE record