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-40271

7.8 · HIGH
Published Dec 6, 2025 EPSS 0.46% (38th pctl)

Overview

CVE-2025-40271 is a high-severity vulnerability. It was published on December 6, 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:

fs/proc: fix uaf in proc_readdir_de()

Pde is erased from subdir rbtree through rb_erase(), but not set the node

to EMPTY, which may result in uaf access. We should use RB_CLEAR_NODE()

set the erased node to EMPTY, then pde_subdir_next() will return NULL to

avoid uaf access.

We found an uaf issue while using stress-ng testing, need to run testcase

getdent and tun in the same time. The steps of the issue is as follows:

1) use getdent to traverse dir /proc/pid/net/dev_snmp6/, and current

pde is tun3;

2) in the [time windows] unregister netdevice tun3 and tun2, and erase

them from rbtree. erase tun3 first, and then erase tun2. the

pde(tun2) will be released to slab;

3) continue to getdent process, then pde_subdir_next() will return

pde(tun2) which is released, it will case uaf access.

CPU 0 | CPU 1

---------------------------------------------------------------

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-40271?

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

How severe is CVE-2025-40271?

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-40271?

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-40271?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-40271 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.