Skip to main content

Linux CVE-2025-21999

HIGH
Use After Free (CWE-416)
2025-04-03 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
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.05%.

Exploit ScenarioDerived

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

Act Now Prioritize within 24-48h. 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: proc: fix UAF in proc_get_inode() Fix race between rmmod and /proc/XXX's inode instantiation. 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: proc: fix UAF in proc_get_inode() Fix race between rmmod and /proc/XXX's inode instantiation. The bug is that pde->proc_ops don't belong to /proc, it belongs to a module, therefore dereferencing it after /proc entry has been registered is a bug unless use_pde/unuse_pde() pair has been used. use_pde/unuse_pde can be avoided (2 atomic ops!) because pde->proc_ops never changes so information necessary for inode instantiation can be saved _before_ proc_register() in PDE itself and used later, avoiding pde->proc_ops->... dereference. rmmod lookup sys_delete_module proc_lookup_de pde_get(de); proc_get_inode(dir->i_sb, de); mod->exit() proc_remove remove_proc_subtree proc_entry_rundown(de); free_module(mod); if (S_ISREG(inode->i_mode)) if (de->proc_ops->proc_read_iter) --> As module is already freed, will trigger UAF BUG: unable to handle page fault for address: fffffbfff80a702b PGD 817fc4067 P4D 817fc4067 PUD 817fc0067 PMD 102ef4067 PTE 0 Oops: Oops: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 26 UID: 0 PID: 2667 Comm: ls Tainted: G Hardware name: QEMU Standard PC (i440FX + PIIX, 1996) RIP: 0010:proc_get_inode+0x302/0x6e0 RSP: 0018:ffff88811c837998 EFLAGS: 00010a06 RAX: dffffc0000000000 RBX: ffffffffc0538140 RCX: 0000000000000007 RDX: 1ffffffff80a702b RSI: 0000000000000001 RDI: ffffffffc0538158 RBP: ffff8881299a6000 R08: 0000000067bbe1e5 R09: 1ffff11023906f20 R10: ffffffffb560ca07 R11: ffffffffb2b43a58 R12: ffff888105bb78f0 R13: ffff888100518048 R14: ffff8881299a6004 R15: 0000000000000001 FS: 00007f95b9686840(0000) GS:ffff8883af100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffbfff80a702b CR3: 0000000117dd2000 CR4: 00000000000006f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> proc_lookup_de+0x11f/0x2e0 __lookup_slow+0x188/0x350 walk_component+0x2ab/0x4f0 path_lookupat+0x120/0x660 filename_lookup+0x1ce/0x560 vfs_statx+0xac/0x150 __do_sys_newstat+0x96/0x110 do_syscall_64+0x5f/0x170 entry_SYSCALL_64_after_hwframe+0x76/0x7e [adobriyan@gmail.com: don't do 2 atomic ops on the common path] 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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 6.4 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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:34 nvd
Patch available
CVE Published
Apr 03, 2025 - 08:15 nvd
HIGH 7.8

DescriptionCVE.org

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

proc: fix UAF in proc_get_inode()

Fix race between rmmod and /proc/XXX's inode instantiation.

The bug is that pde->proc_ops don't belong to /proc, it belongs to a module, therefore dereferencing it after /proc entry has been registered is a bug unless use_pde/unuse_pde() pair has been used.

use_pde/unuse_pde can be avoided (2 atomic ops!) because pde->proc_ops never changes so information necessary for inode instantiation can be saved _before_ proc_register() in PDE itself and used later, avoiding pde->proc_ops->... dereference.

rmmod lookup sys_delete_module proc_lookup_de pde_get(de); proc_get_inode(dir->i_sb, de); mod->exit() proc_remove remove_proc_subtree proc_entry_rundown(de); free_module(mod);

if (S_ISREG(inode->i_mode)) if (de->proc_ops->proc_read_iter) --> As module is already freed, will trigger UAF

BUG: unable to handle page fault for address: fffffbfff80a702b PGD 817fc4067 P4D 817fc4067 PUD 817fc0067 PMD 102ef4067 PTE 0 Oops: Oops: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 26 UID: 0 PID: 2667 Comm: ls Tainted: G Hardware name: QEMU Standard PC (i440FX + PIIX, 1996) RIP: 0010:proc_get_inode+0x302/0x6e0 RSP: 0018:ffff88811c837998 EFLAGS: 00010a06 RAX: dffffc0000000000 RBX: ffffffffc0538140 RCX: 0000000000000007 RDX: 1ffffffff80a702b RSI: 0000000000000001 RDI: ffffffffc0538158 RBP: ffff8881299a6000 R08: 0000000067bbe1e5 R09: 1ffff11023906f20 R10: ffffffffb560ca07 R11: ffffffffb2b43a58 R12: ffff888105bb78f0 R13: ffff888100518048 R14: ffff8881299a6004 R15: 0000000000000001 FS: 00007f95b9686840(0000) GS:ffff8883af100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffbfff80a702b CR3: 0000000117dd2000 CR4: 00000000000006f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> proc_lookup_de+0x11f/0x2e0 __lookup_slow+0x188/0x350 walk_component+0x2ab/0x4f0 path_lookupat+0x120/0x660 filename_lookup+0x1ce/0x560 vfs_statx+0xac/0x150 __do_sys_newstat+0x96/0x110 do_syscall_64+0x5f/0x170 entry_SYSCALL_64_after_hwframe+0x76/0x7e

[adobriyan@gmail.com: don't do 2 atomic ops on the common path]

Executive ViewAI

Why It Matters

CVE-2025-21999 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 85% exploitable
Threat Intel
2
1 source
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS CISA Vendor VulDB

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

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:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: High
Product Status
Container suse/hpc/warewulf4-x86_64/sle-hpc-node:15.7.20.5.1 Image SLES15-SP7-BYOS-Azure Image SLES15-SP7-BYOS-EC2 Image SLES15-SP7-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-Aliyun Image SLES15-SP7-CHOST-BYOS-Azure Image SLES15-SP7-CHOST-BYOS-EC2 Image SLES15-SP7-CHOST-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-GDC Image SLES15-SP7-CHOST-BYOS-SAP-CCloud Image SLES15-SP7-EC2 Image SLES15-SP7-EC2-ECS-HVM Image SLES15-SP7-GCE Image SLES15-SP7-GCE-3P Image SLES15-SP7-HPC-BYOS-Azure Image SLES15-SP7-HPC-BYOS-EC2 Image SLES15-SP7-HPC-BYOS-GCE Image SLES15-SP7-Hardened-BYOS-Azure Image SLES15-SP7-Hardened-BYOS-EC2 Image SLES15-SP7-Hardened-BYOS-GCE Image SLES15-SP7-SAPCAL-Azure Image SLES15-SP7-SAPCAL-EC2 Image SLES15-SP7-SAPCAL-GCE Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.4 Container suse/sl-micro/6.1/base-os-container:2.2.0-4.37 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.27 Container suse/sl-micro/6.1/kvm-os-container:2.2.0-4.37 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.33 Container suse/sl-micro/6.1/rt-os-container:2.2.0-4.42 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

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

References

Advisories & patches
PATCH https://git.kernel.org/stable/c/63b53198aff2e4e6c5866a4ff73c7891f958ffa4 PATCH https://git.kernel.org/stable/c/64dc7c68e040251d9ec6e989acb69f8f6ae4a10b PATCH https://git.kernel.org/stable/c/654b33ada4ab5e926cd9c570196fefa7bec7c1df PATCH https://git.kernel.org/stable/c/966f331403dc3ed04ff64eaf3930cf1267965e53 PATCH https://git.kernel.org/stable/c/ede3e8ac90ae106f0b29cd759aadebc1568f1308 ADVISORY https://access.redhat.com/errata/RHSA-2025:9080 ADVISORY https://access.redhat.com/errata/RHSA-2025:9348 ADVISORY https://vuldb.com/vuln/303119 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01614/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01707/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01918/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01919/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01951/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01964/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01966/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01967/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01982/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:01995/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02173/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02262/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03097/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03100/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03108/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03109/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03111/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03123/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03124/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03126/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03129/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03130/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03133/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03148/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03153/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03156/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03160/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03165/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03175/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03179/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03180/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03181/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03184/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03185/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03186/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03190/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03191/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03194/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03207/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03208/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03209/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03210/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03212/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03215/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03217/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03223/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03226/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03235/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20343/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20344/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20354/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20355/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20698/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20699/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20700/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20703/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20704/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20705/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20706/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20707/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20711/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20712/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20714/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20761/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20763/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20766/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20767/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20775/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20776/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20777/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20778/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20782/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:2173/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0140/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20300/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20327/ REF https://cert-portal.siemens.com/productcert/html/ssa-019113.html REF https://cert-portal.siemens.com/productcert/html/ssa-457936.html REF https://git.kernel.org/stable/c/4b0b8445b6fd41e6f62ac90547a0ea9d348de3fa REF https://git.kernel.org/stable/c/eda279586e571b05dff44d48e05f8977ad05855d REF https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html REF https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html

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