Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-40306

7.8 · HIGH
Published Dec 8, 2025 EPSS 0.16% (6th pctl)

Overview

CVE-2025-40306 is a high-severity vulnerability. It was published on December 8, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

orangefs: fix xattr related buffer overflow...

Willy Tarreau <[email protected]> forwarded me a message from

Disclosure <[email protected]> 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

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently Asked Questions

What is CVE-2025-40306?

CVE-2025-40306 is a high-severity vulnerability. It was published on December 8, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-40306?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-40306?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-40306?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-40306 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.