CVE-2023-4394 Memory leak in btrfs_get_dev_args_from_path()
A local attacker with special privileges can trigger a use-after-free in the btrfs filesystem, causing a system crash or leaking kernel information.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-4394?
CVE-2023-4394 is a medium-severity use after free vulnerability in Linux kernel, published on 17 Aug 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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
Which versions are affected by CVE-2023-4394?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-4394?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2023-4394 being exploited?
There is no known exploitation of CVE-2023-4394 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-27970, DEBIAN-CVE-2023-4394, GHSA-5w86-j94c-54q5, UBUNTU-CVE-2023-4394.