CVE-2026-23043
kernel: btrfs: fix NULL pointer dereference in do_abort_log_replay()
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 4, 2026
Updated · June 28, 2026
Description
A NULL pointer dereference vulnerability was found in the Linux kernel's Btrfs filesystem log replay code. When btrfs_alloc_path() fails in replay_one_buffer() due to memory allocation failure, wc->subvol_path is left NULL. Subsequently, btrfs_abort_log_replay() calls do_abort_log_replay() which unconditionally dereferences wc->subvol_path to print debug information, causing a kernel crash.
Statement
This vulnerability was identified by Coverity static analysis and occurs during Btrfs log replay when the system is under memory pressure. The crash happens in the error handling path when a path allocation fails during recovery operations. The impact is limited to denial of service during filesystem mount after an unclean shutdown.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-476 · NULL Pointer Dereference