Skip to main content

OrangeFS (Linux Kernel) CVE-2025-40306

| EUVDEUVD-2025-201639 HIGH
2025-12-08 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Access
    Local access to OrangeFS mount
  2. Delivery
    Issue setfattr/getfattr on target file
  3. Exploit
    Non-terminating xattr_key() over-read plus mis-bucketed cache allocations
  4. Execution
    Kernel oops, hung threads and memory leak
  5. Impact
    Denial of service and OrangeFS file corruption

Vulnerability Assessment

Exploitation Conditions

Requires that the target system has the OrangeFS filesystem mounted/in use, and that the attacker is a local, authenticated user (CVSS PR:L) able to perform extended-attribute operations (e.g., setfattr/getfattr) on an OrangeFS path - no remote vector and no user interaction. Exploitation is strictly limited to OrangeFS deployments (a non-default, niche configuration); hosts that do not build or mount OrangeFS are not exploitable regardless of kernel version, which is the dominant limiting factor on real-world risk.

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N, C:H/I:H/A:H, base 7.8) correctly frames this as a locally-exploitable, low-complexity, low-privilege issue rather than a remote threat, and the very low EPSS (0.07%) plus absence of any CISA KEV listing indicate no observed or likely widespread exploitation. This is not in the KEV catalog and no weaponized exploit is public - the reporter (Aisle/Disclosure) supplied a diff and the maintainer reproduced a crash, which demonstrates practical triggerability but not remote or mass exploitation. The realistic risk is denial of service (kernel oops, hung threads, OOM) and OrangeFS file corruption on systems that actually deploy OrangeFS, which is a small population; the C:H rating is arguably generous since the out-of-bounds data is hashed internally rather than returned to the attacker, so confidentiality impact is uncertain - verify with vendor. Net: real and reproducible on affected deployments, but low priority for the vast majority of Linux fleets that do not mount OrangeFS.

Exploit ScenarioDerived

An unprivileged local user on a host that mounts OrangeFS runs setfattr/getfattr against a file on that mount, driving the kernel into xattr_key() where the loop walks past the key buffer, producing a kernel oops, hung processes, and corrupted OrangeFS files, while repeated security.capability lookups leak kernel memory until OOM. The reporter reproduced this reliably, but no public weaponized exploit exists; given AV:L/AC:L the barrier is simply local access plus the ability to touch xattrs on an OrangeFS path.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Jul 30, 2026

Local denial-of-service and filesystem corruption in the Linux kernel's OrangeFS driver stems from a broken loop in the xattr_key() helper, which tests the pointer instead of the dereferenced character and therefore walks memory indefinitely instead of stopping at a C-string terminator. On systems mounting OrangeFS, an unprivileged local user issuing extended-attribute operations (setfattr/getfattr) can trigger a kernel oops, hung processes, and corrupted OrangeFS files; a secondary hash_add() misuse also leaks kernel memory on every security.capability getattr, driving the system toward OOM. There is no public exploit identified at time of analysis, and EPSS is very low (0.07%, 20th percentile), consistent with a niche, non-remote issue.

Earlier versions of this analysis (1)
v1 Mar 15, 2026 - 17:54

RemediationAI

Vendor-released patch: update to a fixed stable kernel - 6.1.159, 6.6.117, 6.12.58, 6.17.8, or 6.18 (and the corresponding 5.4.302 / 5.10.247 / 5.15.197 for older series). Distribution users should apply the vendor kernel updates, e.g. Ubuntu USN-8096-1 (https://ubuntu.com/security/notices/USN-8096-1) and USN-8095-1 (https://ubuntu.com/security/notices/USN-8095-1); the upstream fix commits are at https://git.kernel.org/stable/c/025e880759c279ec64d0f754fe65bf45961da864 and the seven sibling commits listed in the references. If patching cannot be done immediately, the most effective compensating control is to avoid mounting OrangeFS or to restrict who can perform extended-attribute operations on OrangeFS mounts - since the trigger is setfattr/getfattr activity, limiting untrusted local access to OrangeFS-backed paths reduces exposure, at the cost of disrupting workflows that legitimately rely on that filesystem. General NVD tracking is at https://nvd.nist.gov/vuln/detail/CVE-2025-40306.

Affected VersionsENISA

Linux patch: 6.12.58
Linux patch: 6.17.8
Linux f7ab093f74bf638ed98fd1115f3efa17e308bb7f <c2ca015ac109fd743fdde27933d59dc5ad46658e
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e09a096104fc65859422817fb2211f35855983fe
Linux 4.6
Linux patch: 0
Linux patch: 5.10.247
Linux f7ab093f74bf638ed98fd1115f3efa17e308bb7f <15afebb9597449c444801d1ff0b8d8b311f950ab
Linux patch: 6.18
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9127d1e90c90e5960c8bc72a4ce2c209691a7021
Linux f7ab093f74bf638ed98fd1115f3efa17e308bb7f <ef892d2bf4f3fa2c8de1677dd307e678bdd3d865
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c2ca015ac109fd743fdde27933d59dc5ad46658e
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <15afebb9597449c444801d1ff0b8d8b311f950ab
Linux f7ab093f74bf638ed98fd1115f3efa17e308bb7f <c6564ff6b53c9a8dc786b6f1c51ae7688273f931
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c6564ff6b53c9a8dc786b6f1c51ae7688273f931
Linux f7ab093f74bf638ed98fd1115f3efa17e308bb7f <bc812574de633cf9a9ad6974490e45f6a4bb5126
Linux f7ab093f74bf638ed98fd1115f3efa17e308bb7f <9127d1e90c90e5960c8bc72a4ce2c209691a7021
Linux patch: 6.1.159
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ef892d2bf4f3fa2c8de1677dd307e678bdd3d865
Linux f7ab093f74bf638ed98fd1115f3efa17e308bb7f <025e880759c279ec64d0f754fe65bf45961da864
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <025e880759c279ec64d0f754fe65bf45961da864
Linux patch: 5.4.302
Linux patch: 5.15.197
Linux patch: 6.6.117
Linux f7ab093f74bf638ed98fd1115f3efa17e308bb7f <e09a096104fc65859422817fb2211f35855983fe
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <bc812574de633cf9a9ad6974490e45f6a4bb5126

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

OrangeFS is a parallel/distributed network filesystem whose Linux kernel client caches extended attributes (xattrs). The root cause is a classic out-of-bounds read / non-terminating loop (functionally CWE-125 out-of-bounds read / CWE-835 infinite loop; the CVE lists CWE as N/A and tags it 'Buffer Overflow'): xattr_key() advances a pointer over a key string but evaluates the pointer itself in the loop condition, so the pointer stays non-NULL and the scan runs off the end of the buffer into unmapped memory. A second defect compounds it: the xattr cache used the hash_add() macro, which re-hashes an already-hashed key, so cache insertions landed in the wrong hash bucket. Because OrangeFS negative-caches xattrs (including a kmalloc) and the kernel repeatedly does a getattr for 'security.capability', misfiled entries were never found or freed, producing an unbounded allocation leak. The fix corrects the loop termination and replaces the two hash_add() calls with hlist_add_head().

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
vuln.today AI 7.3 HIGH

Local unprivileged user triggers the flaw via xattr ops (AV:L/AC:L/PR:L); strong DoS and file corruption (A:H/I:H) but out-of-bounds data is only hashed internally, so C:L rather than C:H.

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

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

4
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
Patch released
Mar 16, 2026 - 15:00 nvd
Patch available
CVE Published
Dec 08, 2025 - 01:16 cve.org
HIGH 7.8
CVE Published
Dec 08, 2025 - 01:16 nvd
N/A

DescriptionCVE.org

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

orangefs: fix xattr related buffer overflow...

Willy Tarreau <w@1wt.eu> forwarded me a message from Disclosure <disclosure@aisle.com> with the following warning:

> The helper xattr_key() uses the pointer variable in the loop condition > rather than dereferencing it. As key is incremented, it remains non-NULL > (until it runs into unmapped memory), so the loop does not terminate on > valid C strings and will walk memory indefinitely, consuming CPU or hanging > the thread.

I easily reproduced this with setfattr and getfattr, causing a kernel oops, hung user processes and corrupted orangefs files. Disclosure sent along a diff (not a patch) with a suggested fix, which I based this patch on.

After xattr_key started working right, xfstest generic/069 exposed an xattr related memory leak that lead to OOM. xattr_key returns a hashed key. When adding xattrs to the orangefs xattr cache, orangefs used hash_add, a kernel hashing macro. hash_add also hashes the key using hash_log which resulted in additions to the xattr cache going to the wrong hash bucket. generic/069 tortures a single file and orangefs does a getattr for the xattr "security.capability" every time. Orangefs negative caches on xattrs which includes a kmalloc. Since adds to the xattr cache were going to the wrong bucket, every getattr for "security.capability" resulted in another kmalloc, none of which were ever freed.

I changed the two uses of hash_add to hlist_add_head instead and the memory leak ceased and generic/069 quit throwing furniture.

Executive ViewAI

Why It Matters

CVE-2025-40306 is a local denial-of-service and filesystem corruption vulnerability in the Linux kernel's OrangeFS driver that affects systems with active OrangeFS mounts. Unprivileged local users can trigger kernel crashes, process hangs, and corrupted files through extended-attribute operations, with memory leaks potentially driving systems toward resource exhaustion. Organizations deploying OrangeFS face risks of unplanned downtime and potential data loss without timely remediation.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% exploitable
Prevalence
Low
OrangeFS is a niche parallel/HPC filesystem, rarely mounted in typical fleets
Data Quality
5 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.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.80 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.115 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.83 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.146 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.91 Affected
Image SLES15-SP6-SAP-Azure-3P Image SLES15-SP6-SAP-Azure-LI-BYOS Image SLES15-SP6-SAP-Azure-LI-BYOS-Production Image SLES15-SP6-SAP-Azure-VLI-BYOS Image SLES15-SP6-SAP-Azure-VLI-BYOS-Production Image SLES15-SP6-SAP-BYOS Image SLES15-SP6-SAP-BYOS-Azure Image SLES15-SP6-SAP-BYOS-EC2 Image SLES15-SP6-SAP-BYOS-GCE Image SLES15-SP6-SAP-Hardened Image SLES15-SP6-SAP-Hardened-Azure Image SLES15-SP6-SAP-Hardened-BYOS Image SLES15-SP6-SAP-Hardened-BYOS-Azure Image SLES15-SP6-SAP-Hardened-BYOS-EC2 Image SLES15-SP6-SAP-Hardened-BYOS-GCE Image SLES15-SP6-SAP-Hardened-EC2 Image SLES15-SP6-SAP-Hardened-GCE Affected
Image SLES15-SP6 Image SLES15-SP6-BYOS Image SLES15-SP6-BYOS-Azure Image SLES15-SP6-BYOS-EC2 Image SLES15-SP6-BYOS-GCE Image SLES15-SP6-CHOST-BYOS Image SLES15-SP6-CHOST-BYOS-Aliyun Image SLES15-SP6-CHOST-BYOS-Azure Image SLES15-SP6-CHOST-BYOS-EC2 Image SLES15-SP6-CHOST-BYOS-GCE Image SLES15-SP6-CHOST-BYOS-GDC Image SLES15-SP6-CHOST-BYOS-SAP-CCloud Image SLES15-SP6-EC2 Image SLES15-SP6-EC2-ECS-HVM Image SLES15-SP6-GCE Image SLES15-SP6-HPC-BYOS Image SLES15-SP6-HPC-BYOS-Azure Image SLES15-SP6-HPC-BYOS-EC2 Image SLES15-SP6-HPC-BYOS-GCE Image SLES15-SP6-HPC-EC2 Image SLES15-SP6-HPC-GCE Image SLES15-SP6-Hardened-BYOS Image SLES15-SP6-Hardened-BYOS-Azure Image SLES15-SP6-Hardened-BYOS-EC2 Image SLES15-SP6-Hardened-BYOS-GCE Image SLES15-SP6-SAP Image SLES15-SP6-SAP-Azure Image SLES15-SP6-SAP-EC2 Image SLES15-SP6-SAP-GCE Image SLES15-SP6-SAPCAL Image SLES15-SP6-SAPCAL-Azure Image SLES15-SP6-SAPCAL-EC2 Image SLES15-SP6-SAPCAL-GCE Affected

References

Advisories & patches
ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2025-40306 ADVISORY https://ubuntu.com/security/notices/USN-8095-1 ADVISORY https://ubuntu.com/security/notices/USN-8096-1 ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0278/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0281/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0293/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0315/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20477/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20479/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20498/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20520/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20772/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20794/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20819/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20845/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20872/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20876/ REF https://git.kernel.org/stable/c/025e880759c279ec64d0f754fe65bf45961da864 REF https://git.kernel.org/stable/c/15afebb9597449c444801d1ff0b8d8b311f950ab REF https://git.kernel.org/stable/c/9127d1e90c90e5960c8bc72a4ce2c209691a7021 REF https://git.kernel.org/stable/c/bc812574de633cf9a9ad6974490e45f6a4bb5126 REF https://git.kernel.org/stable/c/c2ca015ac109fd743fdde27933d59dc5ad46658e REF https://git.kernel.org/stable/c/c6564ff6b53c9a8dc786b6f1c51ae7688273f931 REF https://git.kernel.org/stable/c/e09a096104fc65859422817fb2211f35855983fe REF https://git.kernel.org/stable/c/ef892d2bf4f3fa2c8de1677dd307e678bdd3d865

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