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

9.1 · CRITICAL
Published Jul 25, 2025 linux CWE-362 EPSS 0.30% (22th pctl)

Overview

CVE-2025-38365 is a critical-severity vulnerability affecting linux linux_kernel. It was published on July 25, 2025 and has a CVSS 3.1 base score of 9.1 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.1, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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

btrfs: fix a race between renames and directory logging

We have a race between a rename and directory inode logging that if it

happens and we crash/power fail before the rename completes, the next time

the filesystem is mounted, the log replay code will end up deleting the

file that was being renamed.

This is best explained following a step by step analysis of an interleaving

of steps that lead into this situation.

Consider the initial conditions:

1) We are at transaction N;

2) We have directories A and B created in a past transaction (< N);

3) We have inode X corresponding to a file that has 2 hardlinks, one in

directory A and the other in directory B, so we'll name them as

"A/foo_link1" and "B/foo_link2". Both hard links were persisted in a

past transaction (< N);

4) We have inode Y corresponding to a file that as a single hard link and

is located in directory A, we'll name it as "A/bar". This fil

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.18, < 6.1.143 Affected

Frequently Asked Questions

What is CVE-2025-38365?

CVE-2025-38365 is a critical-severity vulnerability affecting linux linux_kernel. It was published on July 25, 2025 and has a CVSS 3.1 base score of 9.1 (CRITICAL).

How severe is CVE-2025-38365?

This vulnerability has a CVSS 3.1 base score of 9.1, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-38365?

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