CVE-2023-52664: linux-libc-dev - Double Free in Error Handling Logic

linux Updated 02 Oct 2025

Summary

17/05/2024
No i
High
7.8

CVE-2023-52664: 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 aq_ring_free could be called mu... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The linux-libc-dev package is a development package that provides the necessary header files and libraries for compiling programs that use the Linux kernel interfaces. It is an essential component for building and linking applications on Debian-based systems. This package is vulnerable to a double free vulnerability in the error handling logic of the net: atlantic driver.

Vulnerability Detail

The vulnerability in the linux-libc-dev package arises from a logic leak in the ring data allocation/free process of the net: atlantic driver. Under certain conditions, if the system is under stress and encounters a memory allocation error, the aq_ring_free function could be called multiple times on the same ring. This results in a double free vulnerability. The ring pointer was incorrectly used as an indicator of failure, leading to incorrect error handling. By changing the ring allocation functions to return error codes directly, the issue is resolved, simplifying error handling and eliminating the double free vulnerability on a higher layer.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the official fix by updating the linux-libc-dev package.

Conclusion

The linux-libc-dev package is vulnerable to a double free vulnerability in the net: atlantic driver. This vulnerability can be mitigated by updating the package to version 6.1.90-1 or later. It is important to promptly apply the fix to ensure the security and stability of the system. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The linux-libc-dev package provides the necessary header files and libraries for compiling programs that use the Linux kernel interfaces. It is an essential component for building and linking applications on Debian-based systems.

The net: atlantic driver is a network driver for the Atheros Atlantic network interface controller (NIC) family. It provides support for the network functionality of these NICs in the Linux kernel.

The double free vulnerability occurs when the aq_ring_free function is called multiple times on the same ring due to a logic leak in the ring data allocation/free process. This can happen under stress conditions and when a memory allocation error occurs.

Exploiting this vulnerability could lead to a system crash or potentially allow an attacker to execute arbitrary code with kernel privileges.

No, there is no known workaround for this vulnerability. It is recommended to apply the official fix by updating the linux-libc-dev package.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback