CVE-2023-52664: net: atlantic: eliminate double free in error handling logic

Published May 17, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: atlantic: eliminate double free in error handling logic

Driver has a logic leak in ring data allocation/free, where aqringfree could be called multiple times on same ring, if system is under stress and got memory allocation error.

Ring pointer was used as an indicator of failure, but this is not correct since only ring data is allocated/deallocated. Ring itself is an array member.

Changing ring allocation functions to return error code directly. This simplifies error handling and eliminates aqringfree on higher layer.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

net: atlantic: eliminate double free in error handling logic

The Linux kernel CVE team has assigned CVE-2023-52664 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024051756-CVE-2023-52664-dea1@gregkh/T

— Red Hat

Affected Software

8 affected componentsFixes available
redhat/kernel<6.1.77
6.1.77
redhat/kernel<6.6.16
6.6.16
redhat/kernel<6.7.4
6.7.4
redhat/kernel<6.8
6.8
Linux Linux kernel<6.1.77
Linux Linux kernel>=6.2<6.6.16
Linux Linux kernel>=6.7<6.7.4
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.27-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.1.77
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.6.16
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.7.4
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.8

Event History

May 17, 2024
CVE Published
via MITRE·01:45 PM
Data Sourced
via MITRE·01:45 PM
DescriptionSeverity
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 18, 2024
Data Sourced
via Red Hat·01:57 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-52664?

CVE-2023-52664 has a severity rating that indicates it could lead to a denial of service due to double free issues in the Linux kernel.

2

How do I fix CVE-2023-52664?

To mitigate CVE-2023-52664, update the kernel to versions 6.1.77, 6.6.16, 6.7.4, or 6.8 for Red Hat systems or to 5.10.223-1 or 5.10.226-1 for Debian systems.

3

What versions of the Linux kernel are affected by CVE-2023-52664?

CVE-2023-52664 affects Linux kernel versions prior to 6.1.77, between 6.2 and 6.6.16, and between 6.7 and 6.7.4.

4

What are the potential consequences of exploiting CVE-2023-52664?

Exploitation of CVE-2023-52664 may lead to denial of service conditions, impacting system stability and availability.

5

Is there a workaround for CVE-2023-52664?

Currently, the recommended approach to address CVE-2023-52664 is to apply the relevant security patches as there are no official workarounds.

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