CyberSecBulletin
CVE-2025-21762NVD status: Modified

Linux: Use After Free

CVE-2025-21762 is a high-severity use after free vulnerability in Linux, with a CVSS 3.1 base score of 8.1 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 10f555e3f573d004ae9d89b3276abb58c4ede5c3, 307cd1e2d3cb1cbc6c40c679cada6d7168b18431, d9366ac2f956a1948b68c0500f84a3462ff2ed8a 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.66% chance of exploitation within 30 days, higher than 52% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Linux to 10f555e3f573d004ae9d89b3276abb58c4ede5c3 or 307cd1e2d3cb1cbc6c40c679cada6d7168b18431 or d9366ac2f956a1948b68c0500f84a3462ff2ed8a or f189654459423d4d48bef2d120b4bfba559e6039, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 5.4.291 or 5.10.235 or 5.15.179 or 6.1.129, whichever matches your release line, or a later version.
  3. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux29a26a56803855a79dbd028cd61abee56237d6e5 up to, but not including, 10f555e3f573d004ae9d89b3276abb58c4ede5c3; 29a26a56803855a79dbd028cd61abee56237d6e5 up to, but not including, 307cd1e2d3cb1cbc6c40c679cada6d7168b18431; 29a26a56803855a79dbd028cd61abee56237d6e5 up to, but not including, d9366ac2f956a1948b68c0500f84a3462ff2ed8a; 29a26a56803855a79dbd028cd61abee56237d6e5 up to, but not including, f189654459423d4d48bef2d120b4bfba559e6039; 29a26a56803855a79dbd028cd61abee56237d6e5 up to, but not including, e9f4dee534eb1b225b0a120395ad9bc2afe164d3; 29a26a56803855a79dbd028cd61abee56237d6e5 up to, but not including, 01d1b5c9abcaff29a43f1d17a19c33eec92c7dbe; 29a26a56803855a79dbd028cd61abee56237d6e5 up to, but not including, 2c331718d3389b6c5f6855078ab7171849e016bd; 29a26a56803855a79dbd028cd61abee56237d6e5 up to, but not including, a42b69f692165ec39db42d595f4f65a4c8f42e44; and 1 more ranges10f555e3f573d004ae9d89b3276abb58c4ede5c3, 307cd1e2d3cb1cbc6c40c679cada6d7168b18431, d9366ac2f956a1948b68c0500f84a3462ff2ed8a, f189654459423d4d48bef2d120b4bfba559e6039, e9f4dee534eb1b225b0a120395ad9bc2afe164d3, 01d1b5c9abcaff29a43f1d17a19c33eec92c7dbe
SiemensSIMATIC S7-1500 TM MFP - BIOSall versionsNot stated
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystemall versionsNot stated
LinuxLinux Kernel4.4 up to, but not including, 5.4.291; 5.5 up to, but not including, 5.10.235; 5.11 up to, but not including, 5.15.179; 5.16 up to, but not including, 6.1.129; 6.2 up to, but not including, 6.6.79; 6.7 up to, but not including, 6.12.16; 6.13 up to, but not including, 6.13.4; 6.145.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.79, 6.12.16

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
HighSuccess depends on conditions outside the attacker's control.
Privileges required
NoneNo account or login is needed.
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:H/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by CNA.

Scoring systemScoreSeverityScored by
CVSS 3.18.1HighCNA
CVSS 3.17.8HighCISA (ADP)

Official description

In the Linux kernel, the following vulnerability has been resolved: arp: use RCU protection in arp_xmit() arp_xmit() can be called without RTNL or RCU protection. Use RCU protection to avoid potential UAF.

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. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Recent Use After Free vulnerabilities

Spotted an error? Tell us.