Use After Free in Linux

CVE-2026-53240

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).

Vulnerability class: Use-After-Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.004 (30.7th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 31st percentile — 30.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-53240: held from 0.006 to 0.004.

EPSS over last 30 days · oldest: 0.006 · newest: 0.004 · change: -0.002

Affected products

  • Linux — versions 3f3339885fb343b7b42d7c34717108ce07da24ae, 6.14, 0
  • Linux Kernel — versions 7.1

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-53240?
CVE-2026-53240 is a high-severity vulnerability in Linux, classified under Use After Free. CVSS score: 8.8/10. Published 2026-06-25.
How severe is CVE-2026-53240?
High severity. CVSS v3 base score is 8.8 out of 10.