Skip to main content

Linux Kernel CVE-2025-21796

CRITICAL
Use After Free (CWE-416)
2025-02-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Critical
Disputed · 9.8 Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach NFSv3 server on export
  2. Delivery
    Send crafted NFSACL GETACL request
  3. Exploit
    Trigger acl_default retrieval failure path
  4. Execution
    Dangling acl_access freed twice
  5. Persist
    Refcount underflow / use-after-free
  6. Impact
    Kernel panic (denial of service)

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.

Exploitation Conditions

Requires the target to run the in-kernel NFS server (nfsd) with NFSv3 and NFSACL/POSIX ACL support and to export a filesystem the attacker's NFS client can query; the attacker must send an NFSACL GETACL operation and reach the specific error path where fetching acl_default fails, so the flaw is not exercised by default unless NFS ACL serving is actually enabled and exported. Limiting factors: hosts that do not run nfsd or do not export over NFSv3-with-ACLs are unaffected; exploitation is a race/error condition rather than a deterministic one-shot request, and network reachability to NFS ports (2049/rpcbind) plus permission to access the export gate the attack, meaning firewalled or trusted-client-only deployments substantially reduce real exposure.

Impact

Signals conflict sharply and argue against treating the 9.8 as face value. The CVSS vector (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H) reflects the Linux kernel CNA's standard practice of scoring memory-corruption bugs at maximum impact, but the description shows the primary observed effect is a WARNING/refcount underflow leading to a kernel panic (denial of service via panic_on_warn), not demonstrated code execution - so C:H/I:H are aspirational for this UAF, while availability impact is concrete. Realistically the bug is a race/error-path condition (getting acl_default must fail), which is closer to AC:H than AC:L, and it requires the target to run an NFSv3 export with ACL support and accept the attacker's NFSACL RPCs - a meaningful precondition the CVSS PR:N/AC:L does not capture. EPSS is 0.03% (10th percentile) and there is no CISA KEV listing and no known POC, all consistent with a hard-to-weaponize, DoS-leaning kernel bug rather than a mass-exploitation threat. This is a legitimate patch-in-normal-cycle issue for hosts running nfsd, not an emergency for the typical Linux deployment that does not export NFS. Note: CVSS claims network vector with no privileges, but exploitation depends on NFS server configuration and reaching an error path - verify exposure against your actual NFS deployment.

Exploit ScenarioDerived

An attacker who can reach an NFSv3 server exporting ACL-enabled filesystems issues a crafted NFSACL GETACL request against an object whose default-ACL retrieval fails, driving nfsd through the error path that leaves a dangling ACL pointer. On response cleanup the freed posix_acl is released again, causing a refcount underflow and use-after-free that panics the server (with panic_on_warn) or corrupts kernel memory. No public POC is known, and the network-reachable but race/error-dependent nature (effectively high complexity) makes reliable exploitation for anything beyond denial of service difficult.

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

AnalysisAIv2 – Jul 30, 2026

Kernel-level use-after-free in the Linux kernel's NFS server (nfsd) NFSv3 ACL handling lets an error path leave a dangling POSIX ACL pointer, causing a refcount underflow and use-after-free reachable by NFS clients. When retrieving the default ACL fails, both acl_access and acl_default are released while acl_access still references the freed posix_acl, tripping a WARNING in nfs3svc_release_getacl and (with panic_on_warn) a kernel panic. No public exploit is identified at time of analysis, and EPSS is very low (0.03%, 10th percentile) despite the CNA-assigned CVSS of 9.8.

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 18:28 CVSS 7.8

In the Linux kernel, the following vulnerability has been resolved: nfsd: clear acl_access/acl_default after releasing them If getting acl_default fails, acl_access and acl_default will be released. 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

Apply your distribution's patched kernel: the upstream fix (clearing acl_access/acl_default after posix_acl_release) is merged via the stable commits at git.kernel.org/stable (e.g. 1fd94884174bd20beb1773990fd3b1aa877688d9 and the six sibling backport commits). Patch available per vendor advisory - use the exact fixed builds from Red Hat (RHSA-2025:20095, RHSA-2025:20518), SUSE (SUSE-SU-2025:1177 and the 2025:019xx series), or Debian LTS (debian-lts-announce 2025/03 and 2025/05), then reboot into the new kernel. If you cannot patch immediately and do not require it, disable the in-kernel NFS server or specifically stop exporting filesystems over NFSv3 with ACL support (unexport or drop the NFSACL/ACL option), which removes the vulnerable GETACL path at the cost of losing ACL-over-NFSv3 functionality for clients. Where nfsd must stay enabled, restrict NFS access (mountd/nfsd ports 2049 and rpcbind) to trusted client subnets via firewall rules to shrink the attacker population; this does not eliminate the bug but limits who can send the triggering NFSACL RPCs.

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

The flaw lives in nfsd, the in-kernel NFS server, specifically its NFSACL sideband protocol used to serve POSIX ACLs to NFSv3 clients. POSIX ACLs in Linux are reference-counted objects (struct posix_acl) managed via posix_acl_release(). The root cause is CWE-416 (Use After Free): in the GETACL path, if fetching acl_default fails, cleanup releases both acl_access and acl_default, but acl_access is not cleared, so it keeps pointing at an already-freed object. When nfs3svc_release_getacl later runs during response cleanup, it calls posix_acl_release() on the stale pointer, driving the refcount below zero (refcount_t underflow) and touching freed memory. The CPE data lists only generic linux:linux_kernel entries plus explicit 6.14:rc1 and 6.14:rc2, indicating the bug spans multiple maintained branches; the crash trace was reproduced on 6.12.0-rc6. The fix simply nulls acl_access/acl_default after posix_acl_release.

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

Sources disagree (Medium–Critical)
Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.9 MEDIUM

Network-reachable via nfsd but requires an NFSACL export, client access, and hitting an error-path race (AC:H, PR:L); demonstrated impact is a kernel panic (A:H) with limited info leak (C:L).

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 5.5 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

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

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

Lifecycle Timeline

5
Analysis Updated
Jul 30, 2026 - 06:28 vuln.today
v2 - CVSS changed
Severity Changed
Jul 30, 2026 - 06:22 NVD
HIGH CRITICAL
CVSS changed
Jul 30, 2026 - 06:22 NVD
7.8 (HIGH) 9.8 (CRITICAL)
Patch released
Mar 28, 2026 - 18:28 nvd
Patch available
CVE Published
Feb 27, 2025 - 03:15 nvd
HIGH 7.8

DescriptionCVE.org

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

nfsd: clear acl_access/acl_default after releasing them

If getting acl_default fails, acl_access and acl_default will be released simultaneously. However, acl_access will still retain a pointer pointing to the released posix_acl, which will trigger a WARNING in nfs3svc_release_getacl like this:

------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 26 PID: 3199 at lib/refcount.c:28 refcount_warn_saturate+0xb5/0x170 Modules linked in: CPU: 26 UID: 0 PID: 3199 Comm: nfsd Not tainted 6.12.0-rc6-00079-g04ae226af01f-dirty #8 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.1-2.fc37 04/01/2014 RIP: 0010:refcount_warn_saturate+0xb5/0x170 Code: cc cc 0f b6 1d b3 20 a5 03 80 fb 01 0f 87 65 48 d8 00 83 e3 01 75 e4 48 c7 c7 c0 3b 9b 85 c6 05 97 20 a5 03 01 e8 fb 3e 30 ff <0f> 0b eb cd 0f b6 1d 8a3 RSP: 0018:ffffc90008637cd8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff83904fde RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff88871ed36380 RBP: ffff888158beeb40 R08: 0000000000000001 R09: fffff520010c6f56 R10: ffffc90008637ab7 R11: 0000000000000001 R12: 0000000000000001 R13: ffff888140e77400 R14: ffff888140e77408 R15: ffffffff858b42c0 FS: 0000000000000000(0000) GS:ffff88871ed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562384d32158 CR3: 000000055cc6a000 CR4: 00000000000006f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> ? refcount_warn_saturate+0xb5/0x170 ? __warn+0xa5/0x140 ? refcount_warn_saturate+0xb5/0x170 ? report_bug+0x1b1/0x1e0 ? handle_bug+0x53/0xa0 ? exc_invalid_op+0x17/0x40 ? asm_exc_invalid_op+0x1a/0x20 ? tick_nohz_tick_stopped+0x1e/0x40 ? refcount_warn_saturate+0xb5/0x170 ? refcount_warn_saturate+0xb5/0x170 nfs3svc_release_getacl+0xc9/0xe0 svc_process_common+0x5db/0xb60 ? __pfx_svc_process_common+0x10/0x10 ? __rcu_read_unlock+0x69/0xa0 ? __pfx_nfsd_dispatch+0x10/0x10 ? svc_xprt_received+0xa1/0x120 ? xdr_init_decode+0x11d/0x190 svc_process+0x2a7/0x330 svc_handle_xprt+0x69d/0x940 svc_recv+0x180/0x2d0 nfsd+0x168/0x200 ? __pfx_nfsd+0x10/0x10 kthread+0x1a2/0x1e0 ? kthread+0xf4/0x1e0 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x34/0x60 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1a/0x30 </TASK> Kernel panic - not syncing: kernel: panic_on_warn set ...

Clear acl_access/acl_default after posix_acl_release is called to prevent UAF from being triggered.

Executive ViewAI

Why It Matters

Linux kernel NFS servers are vulnerable to a kernel panic attack from NFS clients, potentially disrupting file-sharing infrastructure and dependent applications. While no active exploitation has been documented and real-world risk is minimal (EPSS 0.03%), organizations should patch to prevent denial-of-service incidents.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Threat Score
4.0/10
Composite threat intelligence
EPSS Score
0.0%
Top 90% exploitable
Prevalence
Ubiquitous
Linux kernel runs almost everywhere, though vulnerable nfsd path is optional
Threat Intel
3
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 CRITICAL
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
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
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:*:*:*:*:*:*:*:*
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/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-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
Image SLES12-SP5-Azure-BYOS Image SLES12-SP5-Azure-HPC-BYOS Image SLES12-SP5-EC2-BYOS Image SLES12-SP5-EC2-ECS-On-Demand Image SLES12-SP5-EC2-On-Demand Image SLES12-SP5-GCE-BYOS Image SLES12-SP5-GCE-On-Demand Affected

Threat IntelligenceMISP

Sources: CISA (public domain)

References

Advisories & patches
PATCH https://git.kernel.org/stable/c/1fd94884174bd20beb1773990fd3b1aa877688d9 PATCH https://git.kernel.org/stable/c/2e59b2b68782519560b3d6a41dd66a3d01a01cd3 PATCH https://git.kernel.org/stable/c/55d947315fb5f67a35e4e1d3e01bb886b9c6decf PATCH https://git.kernel.org/stable/c/6f7cfee1a316891890c505563aa54f3476db52fd PATCH https://git.kernel.org/stable/c/7faf14a7b0366f153284db0ad3347c457ea70136 PATCH https://git.kernel.org/stable/c/8a1737ae42c928384ab6447f6ee1a882510e85fa PATCH https://git.kernel.org/stable/c/f8d871523142f7895f250a856f8c4a4181614510 ADVISORY https://access.redhat.com/errata/RHSA-2025:20095 ADVISORY https://access.redhat.com/errata/RHSA-2025:20518 ADVISORY https://vuldb.com/vuln/297759 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:01967/ 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: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-2026:20294/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20325/ REF https://cert-portal.siemens.com/productcert/html/ssa-019113.html REF https://cert-portal.siemens.com/productcert/html/ssa-082556.html REF https://cert-portal.siemens.com/productcert/html/ssa-265688.html REF https://cert-portal.siemens.com/productcert/html/ssa-457936.html 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