CWE
416
Advisory Published
CVE Published
Updated

CVE-2023-2513: Use After Free

First published: Thu May 04 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 s_inode_size and i_extra_size are fixed values. When i_extra_size is the maximum value s_inode_size - EXT4_GOOD_OLD_INODE_SIZE, min_offs is -4 and free is -8. The value overflows. As a result, the preceding issue is triggered when memcpy is executed." Patch series: <a href="https://lore.kernel.org/all/20220616021358.2504451-1-libaokun1@huawei.com/">https://lore.kernel.org/all/20220616021358.2504451-1-libaokun1@huawei.com/</a> Upstream fix: <a href="https://github.com/torvalds/linux/commit/67d7d8ad99be">https://github.com/torvalds/linux/commit/67d7d8ad99be</a>

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/kernel<6.0
6.0
Linux Kernel<=5.19
Red Hat Enterprise Linux=6.0
Red Hat Enterprise Linux=7.0
Red Hat Enterprise Linux=8.0
Red Hat Enterprise Linux=9.0
debian/linux
5.10.223-1
5.10.226-1
6.1.123-1
6.1.128-1
6.12.12-1
6.12.13-1
IBM Security Verify Governance - Identity Manager<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager<=ISVG 10.0.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203