CVE-2023-2513 Use after free in Linux kernel ext4 filesystem
A privileged local user can trigger a use-after-free in the ext4 filesystem, causing a system crash or undefined behavior.
- 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-2513?
CVE-2023-2513 is a medium-severity use after free vulnerability in Linux kernel, published on 8 May 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 vulnerability was found in the Linux kernel's ext4 filesystem in the way it handled the extra inode size for extended attributes. This flaw could allow a privileged local user to cause a system crash or other undefined behaviors.
Weakness: CWE-416
Which versions are affected by CVE-2023-2513?
It affects 2 products.
Products include Linux kernel, Redhat Enterprise Linux.
How do I fix CVE-2023-2513?
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-2513 being exploited?
There is no known exploitation of CVE-2023-2513 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-26689, DEBIAN-CVE-2023-2513, GHSA-8m42-pwwf-cc8j, UBUNTU-CVE-2023-2513.