CVE-2025-38382

High

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix iteration of extrefs during log replay At __inode_add_ref() when processing extrefs, if we jump into the next label we have an undefined value of victim_name.len, since we haven't initialized it before we did the goto. This results in an invalid memory access in the next iteration of the loop since victim_name.len was not initialized to the length of the name of the current extref. Fix this by initializing victim_name.len with the current extref's name length.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedJul 25, 2025
First seenJul 25, 2025

How to fix

Update
  • linux linux_kernel6.1.144, 6.6.97, 6.12.37, 6.15.6 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.1.57 ≤ v < 6.1.144, 6.2 ≤ v < 6.6.97, 6.7 ≤ v < 6.12.37, 6.13 ≤ v < 6.15.6, 6.166.1.144, 6.6.97, 6.12.37, 6.15.6
debian debian_linux11.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.