CVE Catalog

CVE-2025-38382

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

6th percentile - higher than 6% of all known CVEs

Summary

In the Btrfs filesystem, during log replay, an iteration bug in extrefs processing causes an uninitialized victim_name.len field, leading to invalid memory access and potential security issues.

Risk Assessment

This bug may cause system crashes or unpredictable behavior during log replay, potentially leading to data loss or filesystem integrity compromise.

Recommendation

Apply the kernel patch that initializes victim_name.len before use in the extrefs processing loop.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS