CVE-2023-2513: Use After Free

Published May 4, 2023
·
Updated

A use-after-free vulnerability was found in the Linux kernel's ext4 filesystem in the way it handled extra inode size for extended attributes.

Quoting the upstream commit below: "In the calculation formula, all values except sinodesize and iextrasize are fixed values. When iextrasize is the maximum value sinodesize - EXT4GOODOLDINODESIZE, minoffs is -4 and free is -8. The value overflows. As a result, the preceding issue is triggered when memcpy is executed."

Patch series: https://lore.kernel.org/all/20220616021358.2504451-1-libaokun1@huawei.com/

Upstream fix: https://github.com/torvalds/linux/commit/67d7d8ad99be

Other sources

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.

Linux Kernel is vulnerable to a denial of service, caused by a use-after-free flaw in the ext4 filesystem when handling extra inode size for extended attributes. By sending a specially crafted request, a local authenticated attacker could exploit this vulnerability to cause the system to crash.

IBM

Affected Software

9 affected componentsFixes available
Linux Linux kernel<=5.19
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
IBM Security Verify Governance, Identity Manager software component<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager virtual appliance component<=ISVG 10.0.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1
redhat/kernel<6.0
6.0

Event History

May 4, 2023
Data Sourced
via Red Hat·10:18 AM
DescriptionSeverityAffected Software
May 8, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
09:15 PM
Description
Jan 12, 2024
Data Sourced
via Launchpad·12:16 AM
Description
May 2, 2025
Data Sourced
via Ubuntu·04:01 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-2513?

CVE-2023-2513 is a use-after-free vulnerability that can lead to potential data corruption and system instability.

2

How do I fix CVE-2023-2513?

To fix CVE-2023-2513, update your Linux kernel to version 6.0 or apply the latest patches from your distribution.

3

Which systems are affected by CVE-2023-2513?

CVE-2023-2513 affects multiple versions of the Linux kernel, specifically versions up to and including 5.19, as well as certain Red Hat Enterprise Linux versions.

4

What components of IBM are impacted by CVE-2023-2513?

CVE-2023-2513 impacts the IBM Security Verify Governance, Identity Manager software and virtual appliance components up to version ISVG 10.0.2.

5

What is the underlying issue in CVE-2023-2513?

The underlying issue in CVE-2023-2513 arises from the Linux kernel's ext4 filesystem improperly handling extra inode sizes for extended attributes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203