CVE-2023-52664

net: atlantic: eliminate double free in error handling logic

HIGH
7.8
CVSS Score
Published: May 17, 2024 at 01:45 PM UTC
Updated: August 5, 2026 at 10:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

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 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 aq_ring_free on higher layer.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.1.774.11 ≤ v < 6.1.774.11 ≤ v < 6.6.164.11 ≤ v < 6.7.44.11 ≤ v < 6.86.2 ≤ v < 6.6.166.7 ≤ v < 6.7.418423e90bee8978105eaaa265a26e70637f9f1e4.11
Vendor states this is fixed in 0edb3ae8bfa31cd544b0c195bdec00e036002b5d (fixed)
Vendor states this is fixed in b3cb7a830a24527877b0bc900b9bd74a96aea928 (fixed)
Vendor states this is fixed in c11a870a73a3bc4cc7df6dd877a45b181795fcbf (fixed)
Vendor states this is fixed in d1fde4a7e1dcc4d49cce285107a7a43c3030878d (fixed)
Vendor states this is fixed in 4.11 (unaffected)
Vendor states this is fixed in 6.1.77 (unaffected)
Vendor states this is fixed in 6.6.16 (unaffected)
Vendor states this is fixed in 6.7.4 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0edb3ae8bfa31cd544b0c195bdec00e036002b5d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b3cb7a830a24527877b0bc900b9bd74a96aea928
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c11a870a73a3bc4cc7df6dd877a45b181795fcbf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d1fde4a7e1dcc4d49cce285107a7a43c3030878d

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-415

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card