CVE-2025-38269

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
10/07/2025
Last modified:
20/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> btrfs: exit after state insertion failure at btrfs_convert_extent_bit()<br /> <br /> If insert_state() state failed it returns an error pointer and we call<br /> extent_io_tree_panic() which will trigger a BUG() call. However if<br /> CONFIG_BUG is disabled, which is an uncommon and exotic scenario, then<br /> we fallthrough and call cache_state() which will dereference the error<br /> pointer, resulting in an invalid memory access.<br /> <br /> So jump to the &amp;#39;out&amp;#39; label after calling extent_io_tree_panic(), it also<br /> makes the code more clear besides dealing with the exotic scenario where<br /> CONFIG_BUG is disabled.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.12.34 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.15.3 (excluding)