# CVE-2023-4389: Kernel: btrfs: double free in btrfs\_get\_root\_ref()

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-08-16 · Modified: 2024-10-15
- Aliases: UBUNTU-CVE-2023-4389, DEBIAN-CVE-2023-4389
- Record: https://cvemate.com/vulnerability/CVE-2023-4389 · JSON: https://cvemate.com/vulnerability/CVE-2023-4389/json

## Description

```text
A flaw was found in btrfs_get_root_ref in fs/btrfs/disk-io.c in the btrfs filesystem in the Linux Kernel due to a double decrement of the reference count. This issue may allow a local attacker with user privilege to crash the system or may lead to leaked internal kernel information.
```

## Signals

- CVSS: 7.1 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- EPSS: 0.252%, percentile 17.777%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 65)

- debian linux (Debian): \< 5.17.6-1
- ubuntu linux (Ubuntu): \< 5.15.0-37.39
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1011.14
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1010.12
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1008.9~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-edge (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-fde-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-gcp (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1008.12
- ubuntu linux-gcp-5.11 (Ubuntu): All versions (No fix recorded)

## References

- <https://access.redhat.com/security/cve/CVE-2023-4389>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2219271>
- <https://patchwork.kernel.org/project/linux-btrfs/patch/20220324134454.15192-1-baijiaju1990@gmail.com/>
- <https://ubuntu.com/security/CVE-2023-4389>
- <https://git.kernel.org/linus/168a2f776b9762f4021421008512dd7ab7474df1>
- <https://www.cve.org/CVERecord?id=CVE-2023-4389>
- <https://security-tracker.debian.org/tracker/CVE-2023-4389>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-4389>

---

Data as of 2026-12-06T06:02:52.593Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
