CVE-2025-40306: orangefs: fix xattr related buffer overflow...
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.16% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 025e880759c279ec64d0f754fe65bf45961da864, 15afebb9597449c444801d1ff0b8d8b311f950ab, 9127d1e90c90e5960c8bc72a4ce2c209691a7021.
Low priority for now. Upgrade to Linux Linux 025e880759c279ec64d0f754fe65bf45961da864, 15afebb9597449c444801d1ff0b8d8b311f950ab, 9127d1e90c90e5960c8bc72a4ce2c209691a7021 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Dec 8, 2025
- Updated
- Oct 14, 2026
- EPSS
- 0.1% · 5th percentile
- CWE
- —
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CNA vs NVD score
- NVD
- —
- CNA · Linux
- 7.8
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 4.6affected
- f7ab093f74bf638ed98fd1115f3efa17e308bb7f and later · before c6564ff6b53c9a8dc786b6f1c51ae7688273f931affected · git
- f7ab093f74bf638ed98fd1115f3efa17e308bb7f and later · before ef892d2bf4f3fa2c8de1677dd307e678bdd3d865affected · git
- f7ab093f74bf638ed98fd1115f3efa17e308bb7f and later · before 15afebb9597449c444801d1ff0b8d8b311f950abaffected · git
- f7ab093f74bf638ed98fd1115f3efa17e308bb7f and later · before bc812574de633cf9a9ad6974490e45f6a4bb5126affected · git
- f7ab093f74bf638ed98fd1115f3efa17e308bb7f and later · before e09a096104fc65859422817fb2211f35855983feaffected · git
- f7ab093f74bf638ed98fd1115f3efa17e308bb7f and later · before 9127d1e90c90e5960c8bc72a4ce2c209691a7021affected · git
- f7ab093f74bf638ed98fd1115f3efa17e308bb7f and later · before c2ca015ac109fd743fdde27933d59dc5ad46658eaffected · git
- f7ab093f74bf638ed98fd1115f3efa17e308bb7f and later · before 025e880759c279ec64d0f754fe65bf45961da864affected · git
- before 4.6not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.159-1 | 6.1.159-1 |
| Debian:13 | linux | before 6.12.63-1 | 6.12.63-1 |
| Debian:14 | linux | before 6.17.8-1 | 6.17.8-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation40Plan
- CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment40Plan
- CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()40Plan
Published before and after this one in the same product
- ← EarlierCVE-2025-40304Dec 8, 2025 · fbdev: Add bounds checking in bit_putcs to fix vmalloc-out-of-bounds31Monitor
- ← EarlierCVE-2025-40305Dec 8, 2025 · 9p/trans_fd: p9_fd_request: kick rx thread if EPOLLIN0Monitor
- Later →CVE-2025-40307Dec 8, 2025 · exfat: validate cluster allocation bits of the allocation bitmap31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 025e880759c279ec64d0f754fe65bf45961da864 | Vendor (CNA) |
| Linux Linux | 15afebb9597449c444801d1ff0b8d8b311f950ab | Vendor (CNA) |
| Linux Linux | 9127d1e90c90e5960c8bc72a4ce2c209691a7021 | Vendor (CNA) |
| Linux Linux | bc812574de633cf9a9ad6974490e45f6a4bb5126 | Vendor (CNA) |
| Linux Linux | c2ca015ac109fd743fdde27933d59dc5ad46658e | Vendor (CNA) |
| Linux Linux | c6564ff6b53c9a8dc786b6f1c51ae7688273f931 | Vendor (CNA) |
| Linux Linux | e09a096104fc65859422817fb2211f35855983fe | Vendor (CNA) |
| Linux Linux | ef892d2bf4f3fa2c8de1677dd307e678bdd3d865 | Vendor (CNA) |
| debian:linux | 6.1.159-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- git.kernel.org/stable/c/15afebb9597449c444801d1ff0b8d8b311f950ab
- git.kernel.org/stable/c/9127d1e90c90e5960c8bc72a4ce2c209691a7021
- git.kernel.org/stable/c/bc812574de633cf9a9ad6974490e45f6a4bb5126
- git.kernel.org/stable/c/c2ca015ac109fd743fdde27933d59dc5ad46658e
- git.kernel.org/stable/c/c6564ff6b53c9a8dc786b6f1c51ae7688273f931
- git.kernel.org/stable/c/e09a096104fc65859422817fb2211f35855983fe
- git.kernel.org/stable/c/ef892d2bf4f3fa2c8de1677dd307e678bdd3d865
Vendor advisories and official records. Exploit/PoC links are deliberately left out.