Menu

Star on GitHub · 3.2k

CVE-2025-71074

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: functionfs: fix the open/removal races ffs_epfile_open() can race with removal, ending up with file->private_data pointing to f…

Published Jan 13, 2026CWE-362EPSS 0.11%

Overview

CVE-2025-71074 is a high-severity vulnerability. It was published on January 13, 2026 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:

functionfs: fix the open/removal races

ffs_epfile_open() can race with removal, ending up with file->private_data

pointing to freed object.

There is a total count of opened files on functionfs (both ep0 and

dynamic ones) and when it hits zero, dynamic files get removed.

Unfortunately, that removal can happen while another thread is

in ffs_epfile_open(), but has not incremented the count yet.

In that case open will succeed, leaving us with UAF on any subsequent

read() or write().

The root cause is that ffs->opened is misused; atomic_dec_and_test() vs.

atomic_add_return() is not a good idea, when object remains visible all

along.

To untangle that

* serialize openers on ffs->mutex (both for ep0 and for dynamic files)

* have dynamic ones use atomic_inc_not_zero() and fail if we had

zero ->opened; in that case the file we are opening is doomed.

* have the inodes of dynamic files marked on removal (from the

callback

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

CVE-2025-71074 is a high-severity vulnerability. It was published on January 13, 2026 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-71074?

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

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

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-71074 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2025

View all