CVE-2026-23043
JSON

Not scored

btrfs: fix NULL pointer dereference in do_abort_log_replay()

Severity
Not scored
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix NULL pointer dereference in do_abort_log_replay() Coverity reported a NULL pointer dereference issue (CID 1666756) in do_abort_log_replay(). When btrfs_alloc_path() fails in replay_one_buffer(), wc->subvol_path is NULL, but btrfs_abort_log_replay() calls do_abort_log_replay() which unconditionally dereferences wc->subvol_path when attempting to print debug information. Fix this by adding a NULL check before dereferencing wc->subvol_path in do_abort_log_replay().

Affected

Product or packageVersionsReported by
Linux Linuxfrom 2753e49176240f21e4bb10e03514f99e732704bb before 6d1b61b8e1e44888c643d89225ab819b10649b2e, from 2753e49176240f21e4bb10e03514f99e732704bb before 530e3d4af566ca44807d79359b90794dea24c4f3, 6.18
Not affected: before 6.18, from 6.18.6 up to 6.18.*, from 6.19 up to *
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix NULL pointer dereference in do_abort_log_replay() Coverity reported a NULL pointer dereference issue (CID 1666756) in do_abort_log_replay(). When btrfs_alloc_path() fails in replay_one_buffer(), wc->subvol_path is NULL, but btrfs_abort_log_replay() calls do_abort_log_replay() which unconditionally dereferences wc->subvol_path when attempting to print debug information. Fix this by adding a NULL check before dereferencing wc->subvol_path in do_abort_log_replay().

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: btrfs: corrige la desreferencia de puntero NULL en do_abort_log_replay() Coverity informó un problema de desreferencia de puntero NULL (CID 1666756) en do_abort_log_replay(). Cuando btrfs_alloc_path() falla en replay_one_buffer(), wc->subvol_path es NULL, pero btrfs_abort_log_replay() llama a do_abort_log_replay() que desreferencia incondicionalmente wc->subvol_path al intentar imprimir información de depuración. Esto se corrige añadiendo una comprobación de NULL antes de desreferenciar wc->subvol_path en do_abort_log_replay().

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23043 changed 2026-05-11CVE Terms of Use
NVDCVE-2026-23043 changed 2026-06-17Public domain