CVE-2025-40306: Linux kernel · orangefs: fix xattr related buffer overflow
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 26 Oct 2026, 11:42 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 8 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
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.
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.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40306 (opens in a new tab)
- git.kernel.org/stable/c/025e880759c279ec64d0f754fe65bf45961da864 (opens in a new tab)
- git.kernel.org/stable/c/15afebb9597449c444801d1ff0b8d8b311f950ab (opens in a new tab)
- git.kernel.org/stable/c/9127d1e90c90e5960c8bc72a4ce2c209691a7021 (opens in a new tab)
- git.kernel.org/stable/c/bc812574de633cf9a9ad6974490e45f6a4bb5126 (opens in a new tab)
- git.kernel.org/stable/c/c2ca015ac109fd743fdde27933d59dc5ad46658e (opens in a new tab)
- git.kernel.org/stable/c/c6564ff6b53c9a8dc786b6f1c51ae7688273f931 (opens in a new tab)
- git.kernel.org/stable/c/e09a096104fc65859422817fb2211f35855983fe (opens in a new tab)
- git.kernel.org/stable/c/ef892d2bf4f3fa2c8de1677dd307e678bdd3d865 (opens in a new tab)