Skip to main content

Linux CVE-2025-21791

HIGH
Use After Free (CWE-416)
2025-02-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS score of 7.8 (HIGH). Attack characteristics: local attack vector, low complexity, low privileges required, no user interaction not required. EPSS exploitation probability: 0.04%.

Exploit ScenarioDerived

A local attacker with access to the system could access freed memory to execute arbitrary code or crash the application.

This Week Schedule remediation this week. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 28, 2026

In the Linux kernel, the following vulnerability has been resolved: vrf: use RCU protection in l3mdev_l3_out() l3mdev_l3_out() can be called without RCU being held: raw_sendmsg(). Rated high severity (CVSS 7.8), this vulnerability is low attack complexity. This Use After Free vulnerability could allow attackers to access freed memory to execute arbitrary code or crash the application.

RemediationAI

A vendor patch is available. Apply the latest security update as soon as possible. Use smart pointers or garbage-collected languages. Set pointers to NULL after freeing. Enable memory sanitizers.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability is classified as Use After Free (CWE-416), which allows attackers to access freed memory to execute arbitrary code or crash the application. In the Linux kernel, the following vulnerability has been resolved: vrf: use RCU protection in l3mdev_l3_out() l3mdev_l3_out() can be called without RCU being held: raw_sendmsg() ip_push_pending_frames() ip_send_skb() ip_local_out() __ip_local_out() l3mdev_ip_out() Add rcu_read_lock() / rcu_read_unlock() pair to avoid a potential UAF. Affected products include: Linux Linux Kernel.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 7.1 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Mar 28, 2026 - 18:28 nvd
Patch available
CVE Published
Feb 27, 2025 - 03:15 nvd
HIGH 7.8

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

vrf: use RCU protection in l3mdev_l3_out()

l3mdev_l3_out() can be called without RCU being held:

raw_sendmsg() ip_push_pending_frames() ip_send_skb() ip_local_out() __ip_local_out() l3mdev_ip_out()

Add rcu_read_lock() / rcu_read_unlock() pair to avoid a potential UAF.

Executive ViewAI

Why It Matters

CVE-2025-21791 presents notable security risk, a use-after-free vulnerability rated CVSS 7.8. Exploitation could compromise the security of affected deployments. A patch is available and should be applied as part of regular vulnerability management.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Enable ASLR and DEP where available; (2) Implement network segmentation; (3) Monitor for exploitation indicators.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: High
Product Status
Container suse/sl-micro/6.0/base-os-container:2.1.3-6.11 Container suse/sl-micro/6.1/base-os-container:2.2.0-4.21 Image SL-Micro Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.12 Container suse/sl-micro/6.1/kvm-os-container:2.2.0-4.20 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.15 Container suse/sl-micro/6.1/rt-os-container:2.2.0-4.21 Affected
Container suse/sle-micro-rancher/5.2:latest Image SLES15-SP3-Micro-5-2-BYOS-Azure Image SLES15-SP3-Micro-5-2-BYOS-EC2-HVM Image SLES15-SP3-Micro-5-2-BYOS-GCE Affected
Container suse/sle-micro-rancher/5.3:latest Container suse/sle-micro-rancher/5.4:latest Image SLES15-SP4-BYOS Image SLES15-SP4-BYOS-Azure Image SLES15-SP4-BYOS-EC2 Image SLES15-SP4-BYOS-GCE Image SLES15-SP4-CHOST-BYOS Image SLES15-SP4-CHOST-BYOS-Aliyun Image SLES15-SP4-CHOST-BYOS-Azure Image SLES15-SP4-CHOST-BYOS-EC2 Image SLES15-SP4-CHOST-BYOS-GCE Image SLES15-SP4-CHOST-BYOS-SAP-CCloud Image SLES15-SP4-HPC-BYOS Image SLES15-SP4-HPC-BYOS-Azure Image SLES15-SP4-HPC-BYOS-EC2 Image SLES15-SP4-HPC-BYOS-GCE Image SLES15-SP4-HPC-EC2 Image SLES15-SP4-HPC-GCE Image SLES15-SP4-Hardened-BYOS Image SLES15-SP4-Hardened-BYOS-Azure Image SLES15-SP4-Hardened-BYOS-EC2 Image SLES15-SP4-Hardened-BYOS-GCE Image SLES15-SP4-Manager-Proxy-4-3-BYOS Image SLES15-SP4-Manager-Proxy-4-3-BYOS-Azure Image SLES15-SP4-Manager-Proxy-4-3-BYOS-EC2 Image SLES15-SP4-Manager-Proxy-4-3-BYOS-GCE Image SLES15-SP4-Manager-Server-4-3-BYOS Image SLES15-SP4-Manager-Server-4-3-BYOS-Azure Image SLES15-SP4-Manager-Server-4-3-BYOS-EC2 Image SLES15-SP4-Manager-Server-4-3-BYOS-GCE Image SLES15-SP4-Micro-5-3 Image SLES15-SP4-Micro-5-3-BYOS Image SLES15-SP4-Micro-5-3-BYOS-Azure Image SLES15-SP4-Micro-5-3-BYOS-EC2 Image SLES15-SP4-Micro-5-3-BYOS-GCE Image SLES15-SP4-Micro-5-3-EC2 Image SLES15-SP4-Micro-5-4 Image SLES15-SP4-Micro-5-4-BYOS Image SLES15-SP4-Micro-5-4-BYOS-Azure Image SLES15-SP4-Micro-5-4-BYOS-EC2 Image SLES15-SP4-Micro-5-4-BYOS-GCE Image SLES15-SP4-Micro-5-4-EC2 Image SLES15-SP4-Micro-5-4-GCE Image SLES15-SP4-SAP Image SLES15-SP4-SAP-Azure Image SLES15-SP4-SAP-EC2 Image SLES15-SP4-SAP-GCE Image SLES15-SP4-SAPCAL Image SLES15-SP4-SAPCAL-Azure Image SLES15-SP4-SAPCAL-EC2 Image SLES15-SP4-SAPCAL-GCE Affected

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

References

Advisories & patches
PATCH https://git.kernel.org/stable/c/022cac1c693add610ae76ede03adf4d9d5a2cf21 PATCH https://git.kernel.org/stable/c/20a3489b396764cc9376e32a9172bee26a89dc3b PATCH https://git.kernel.org/stable/c/5bb4228c32261d06e4fbece37ec3828bcc005b6b PATCH https://git.kernel.org/stable/c/6ccaa5797f5362a2aad6baa6ddaf4715ac2dd51e PATCH https://git.kernel.org/stable/c/6d0ce46a93135d96b7fa075a94a88fe0da8e8773 PATCH https://git.kernel.org/stable/c/7b81425b517accefd46bee854d94954f5c57e019 PATCH https://git.kernel.org/stable/c/c40cb5c03e37552d6eff963187109e2c3f78ef6f PATCH https://git.kernel.org/stable/c/c7574740be8ce68a57d0aece24987b9be2114c3c ADVISORY https://access.redhat.com/errata/RHSA-2025:20095 ADVISORY https://access.redhat.com/errata/RHSA-2025:20518 ADVISORY https://access.redhat.com/errata/RHSA-2026:2352 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01620/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01627/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01633/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01640/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01919/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01967/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03465/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03468/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03469/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03472/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03475/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03476/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03482/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03494/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03496/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03503/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03504/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03514/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03528/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03529/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03538/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03539/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03541/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03543/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03548/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03553/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03554/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03555/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03557/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03559/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03563/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03566/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03569/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03571/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03577/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03578/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03580/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:1177/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:1178/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:1180/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:1293/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:1573/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:1574/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20190/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20192/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20260/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20270/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20806/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20807/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20808/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20813/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20814/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20819/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20826/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20827/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20832/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20833/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20834/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20835/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20840/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20841/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4123/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20294/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20325/ REF https://cert-portal.siemens.com/productcert/html/ssa-784472.html REF https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html REF https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy