Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-53240

HIGH 8.8EPSS 41%

xfrm: iptfs: fix use-after-free on first_skb in __input_process_payload

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 3f3339885fb343b7b42d7c34717108ce07da24ae, < 8d9a79fbf5172d9c4c0146057af2360913265a11; >= 3f3339885fb343b7b42d7c34717108ce07da24ae, < ff2ee35b6ce5fa8a8e24ea50b15733d5c8780198; >= 3f3339885fb343b7b42d7c34717108ce07da24ae, < eb48730bb827d1550401a5d391903f9d90b493c8
  • Anyone running Linux 6.14

Vulnerability facts

Affected
Linux >= 3f3339885fb343b7b42d7c34717108ce07da24ae, < 8d9a79fbf5172d9c4c0146057af2360913265a11; >= 3f3339885fb343b7b42d7c34717108ce07da24ae, < ff2ee35b6ce5fa8a8e24ea50b15733d5c8780198; >= 3f3339885fb343b7b42d7c34717108ce07da24ae, < eb48730bb827d1550401a5d391903f9d90b493c8; Linux 6.14
Fixed in
Linux 8d9a79fbf5172d9c4c0146057af2360913265a11
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
8.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.56% chance of exploitation in 30 days (percentile 41, 2026-11-26)
CWE
CWE-416
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 3f3339885fb343b7b42d7c34717108ce07da24ae, < 8d9a79fbf5172d9c4c0146057af2360913265a11; >= 3f3339885fb343b7b42d7c34717108ce07da24ae, < ff2ee35b6ce5fa8a8e24ea50b15733d5c8780198; >= 3f3339885fb343b7b42d7c34717108ce07da24ae, < eb48730bb827d1550401a5d391903f9d90b493c8—cvelist
Linux6.14—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-53240. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53240.md
Affected: Linux >= 3f3339885fb343b7b42d7c34717108ce07da24ae, < 8d9a79fbf5172d9c4c0146057af2360913265a11; >= 3f3339885fb343b7b42d7c34717108ce07da24ae, < ff2ee35b6ce5fa8a8e24ea50b15733d5c8780198; >= 3f3339885fb343b7b42d7c34717108ce07da24ae, < eb48730bb827d1550401a5d391903f9d90b493c8; Linux 6.14
Fixed in: Linux 8d9a79fbf5172d9c4c0146057af2360913265a11

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-53240 being exploited?

There is no confirmed exploitation: CVE-2026-53240 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.56% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-53240?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2026-53240?

Linux >= 3f3339885fb343b7b42d7c34717108ce07da24ae, < 8d9a79fbf5172d9c4c0146057af2360913265a11; >= 3f3339885fb343b7b42d7c34717108ce07da24ae, < ff2ee35b6ce5fa8a8e24ea50b15733d5c8780198; >= 3f3339885fb343b7b42d7c34717108ce07da24ae, < eb48730bb827d1550401a5d391903f9d90b493c8; Linux 6.14.

Is there a fix for CVE-2026-53240?

Yes. Fixed in Linux 8d9a79fbf5172d9c4c0146057af2360913265a11. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-53240?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors