# CVE-2023-4394: Memory leak in btrfs_get_dev_args_from_path()

- Severity: Medium 6.7 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:H/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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2023-08-17T12:49:14.052Z
- Modified: 2026-06-17T06:37:44.523Z
- Weaknesses: CWE-400, CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

A use-after-free flaw was found in btrfs_get_dev_args_from_path in fs/btrfs/volumes.c in btrfs file-system in the Linux Kernel. This flaw allows a local attacker with special privileges to cause a system crash or leak internal kernel information

(As written by CVE List.)

## Affected

- Kernel: no versions given (not affected: 6.0-rc3)
- kernel-rt: no versions given
- linux linux_kernel: before 6.0; 6.0

## Every score

- redhat: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H`

## References

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

## Sources

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

---

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