CVE-2025-38382 - CVE House
Back to Database
Status published Unknown CVE-2025-38382

btrfs: fix iteration of extrefs during log replay

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-38382

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
1cf474cd474bc5d3ef63086ffd009a87a5b7bb2e, e43eec81c5167b655b72c781b0e75e62a05e415e, 6.1.57, 6.2, 0, 6.1.144, 6.6.97, 6.12.37, 6.15.6, 6.16

Timeline

Official Publish: July 25th, 2025
Last Modified: May 23rd, 2026
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.