Skip to main content
EPSS 0.2%top 94%

In the Linux kernel, the following vulnerability has been resolved: orangefs: fix xattr related buffer overflow... (CVE-2025-40306)

0
High
Published: 12/08/2025 (12/08/2025, 03:31:01 UTC)
Source: GCVE Database

Description

A buffer overflow vulnerability related to extended attributes (xattr) in the OrangeFS component of the Linux kernel has been resolved. The issue was caused by improper loop termination in the xattr_key() helper function, leading to kernel crashes, hung processes, and file corruption. Additionally, a related memory leak in the xattr cache was fixed by correcting the use of kernel hashing macros. This vulnerability has a high severity rating due to its impact on confidentiality, integrity, and availability.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 17:53:15 UTC

Technical Analysis

The Linux kernel's OrangeFS implementation contained a buffer overflow vulnerability in the xattr_key() helper function, which used a pointer variable incorrectly in a loop condition, causing the loop to run indefinitely and potentially access unmapped memory. This led to kernel oops, hung user processes, and corrupted OrangeFS files. A subsequent memory leak was identified in the xattr cache due to misuse of the hash_add macro, causing repeated allocations without freeing memory. The fixes involved correcting the loop condition in xattr_key() and replacing hash_add with hlist_add_head to prevent the memory leak. These issues were reported and fixed, resolving the vulnerability identified as CVE-2025-40306.

Potential Impact

Exploitation of this vulnerability can cause kernel crashes (oops), hung user processes, and corruption of OrangeFS files. The memory leak can lead to out-of-memory (OOM) conditions, affecting system stability and availability. The CVSS vector indicates local attack complexity with low privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

A fix for this vulnerability has been implemented in the Linux kernel. Users should apply the official kernel updates that include the patch for CVE-2025-40306. Since this is not a cloud service, remediation depends on updating affected Linux kernel versions. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or Linux kernel advisory for the current remediation guidance and apply updates accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-v4qq-9xc6-v286
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40306"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d49c2644c7f847920a

Added to database: 07/30/2026, 15:50:44 UTC

Last enriched: 07/30/2026, 17:53:15 UTC

Last updated: 09/10/2026, 19:38:48 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses