CVE-2023-52667CWE-415

CVE-2023-52667

High · published May 17, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
18.1
In the wild
Unconfirmed
What it is

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

net/mlx5e: fix a potential double-free in fs_any_create_groups

When kcalloc() for ft->g succeeds but kvzalloc() for in fails,

fs_any_create_groups() will free ft->g. However, its caller

fs_any_create_table() will free ft->g again through calling

mlx5e_destroy_flow_table(), which will lead to a double-free.

Fix this by setting ft->g to NULL in fs_any_create_groups().

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00269 · 18.1th percentile
Weakness
CWE-415 · Double Free
Published
2024-05-17T18:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 5.13, < 5.15.1495.15.149
linux/linux_kernel≥ 5.16, < 6.1.766.1.76
linux/linux_kernel≥ 6.2, < 6.6.156.6.15
linux/linux_kernel≥ 6.7, < 6.7.36.7.3
linux/linux_kernelall versions—
References (10)
EPSS history
Timeline
  • 17 MAY 14:01Z
    net/mlx5e: fix a potential double-free in fs_any_create_groups
    cvelistv5