CyberSecBulletin
CVE-2026-53240NVD status: Analyzed

Linux: Use After Free

CVE-2026-53240 is a high-severity use after free vulnerability in Linux, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. The record lists versions 8d9a79fbf5172d9c4c0146057af2360913265a11, ff2ee35b6ce5fa8a8e24ea50b15733d5c8780198, eb48730bb827d1550401a5d391903f9d90b493c8 as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.56% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Linux to 8d9a79fbf5172d9c4c0146057af2360913265a11 or ff2ee35b6ce5fa8a8e24ea50b15733d5c8780198 or eb48730bb827d1550401a5d391903f9d90b493c8, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 6.18.36 or 7.0.13, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux3f3339885fb343b7b42d7c34717108ce07da24ae up to, but not including, 8d9a79fbf5172d9c4c0146057af2360913265a11; 3f3339885fb343b7b42d7c34717108ce07da24ae up to, but not including, ff2ee35b6ce5fa8a8e24ea50b15733d5c8780198; 3f3339885fb343b7b42d7c34717108ce07da24ae up to, but not including, eb48730bb827d1550401a5d391903f9d90b493c8; 6.148d9a79fbf5172d9c4c0146057af2360913265a11, ff2ee35b6ce5fa8a8e24ea50b15733d5c8780198, eb48730bb827d1550401a5d391903f9d90b493c8
LinuxLinux Kernel6.14 up to, but not including, 6.18.36; 6.19 up to, but not including, 7.0.13; 7.16.18.36, 7.0.13

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by CNA.

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

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.

How developers prevent this class of flaw

  • Choose a language that provides automatic memory management.
  • When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

More Use After Free vulnerabilities (CWE-416)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Recent Use After Free vulnerabilities

Spotted an error? Tell us.