# CVE-2026-23043: btrfs: fix NULL pointer dereference in do_abort_log_replay()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-02-04T16:00:26.353Z
- Modified: 2026-06-17T10:20:45.820Z
- 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)

## References

- <https://git.kernel.org/stable/c/6d1b61b8e1e44888c643d89225ab819b10649b2e>
- <https://git.kernel.org/stable/c/530e3d4af566ca44807d79359b90794dea24c4f3>

## Sources

- CVE List: [CVE-2026-23043](https://www.cve.org/CVERecord?id=CVE-2026-23043), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-23043](https://nvd.nist.gov/vuln/detail/CVE-2026-23043), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23043 · Whole record: https://cve.day/CVE-2026-23043.json · Rebuilt by cve.day 2026-11-25T22:59:13.447Z
