# CVE-2023-4389: Kernel: btrfs: double free in btrfs_get_root_ref()

- Severity: High 7.0 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.33%, higher than 18% of CVEs (2026-11-30)
- Published: 2023-08-16T18:49:10.737Z
- Modified: 2026-06-17T06:37:43.940Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- Kernel: no versions given (not affected: 5.18-rc3)
- kernel-rt: no versions given
- linux linux_kernel: from 5.7 before 5.10.112; from 5.11 before 5.15.35; from 5.16 before 5.17.4

## Every score

- redhat: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://access.redhat.com/security/cve/CVE-2023-4389> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2219271> (issue-tracking, third-party-advisory)
- <https://patchwork.kernel.org/project/linux-btrfs/patch/20220324134454.15192-1-baijiaju1990@gmail.com/> (patch, vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2023-4389 · Whole record: https://cve.day/CVE-2023-4389.json · Rebuilt by cve.day 2026-11-25T22:58:27.182Z
