CVE-2023-52667

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

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> net/mlx5e: fix a potential double-free in fs_any_create_groups<br /> <br /> When kcalloc() for ft-&gt;g succeeds but kvzalloc() for in fails,<br /> fs_any_create_groups() will free ft-&gt;g. However, its caller<br /> fs_any_create_table() will free ft-&gt;g again through calling<br /> mlx5e_destroy_flow_table(), which will lead to a double-free.<br /> Fix this by setting ft-&gt;g to NULL in fs_any_create_groups().

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.13 (including) 5.15.149 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.76 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.15 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.7.3 (excluding)
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*