CVE-2023-52664

Severity CVSS v4.0:
Pending analysis
Type:
CWE-415 Double Free
Publication date:
17/05/2024
Last modified:
07/01/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> net: atlantic: eliminate double free in error handling logic<br /> <br /> Driver has a logic leak in ring data allocation/free,<br /> where aq_ring_free could be called multiple times on same ring,<br /> if system is under stress and got memory allocation error.<br /> <br /> Ring pointer was used as an indicator of failure, but this is<br /> not correct since only ring data is allocated/deallocated.<br /> Ring itself is an array member.<br /> <br /> Changing ring allocation functions to return error code directly.<br /> This simplifies error handling and eliminates aq_ring_free<br /> on higher layer.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.77 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.16 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.7.4 (excluding)