CVEvulnerability
CVE-2023-52667
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-05-17
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-415
Description
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().
Affected configurations
• linux linux kernel (>= 5.13 < 5.15.149)
• linux linux kernel (>= 5.16 < 6.1.76)
• linux linux kernel (>= 6.2 < 6.6.15)
• linux linux kernel (>= 6.7 < 6.7.3)
• linux linux kernel 6.8
Related
Weakness · CWE (1)
- CWE-415 Double Free weakness
References
- https://git.kernel.org/stable/c/2897c981ee63e1be5e530b1042484626a10b26d8 Patch
- https://git.kernel.org/stable/c/65a4ade8a6d205979292e88beeb6a626ddbd4779 Patch
- https://git.kernel.org/stable/c/72a729868592752b5a294d27453da264106983b1 Patch
- https://git.kernel.org/stable/c/aef855df7e1bbd5aa4484851561211500b22707e Patch
- https://git.kernel.org/stable/c/b2fa86b2aceb4bc9ada51cea90f61546d7512cbe Patch
- https://git.kernel.org/stable/c/2897c981ee63e1be5e530b1042484626a10b26d8 Patch
- https://git.kernel.org/stable/c/65a4ade8a6d205979292e88beeb6a626ddbd4779 Patch
- https://git.kernel.org/stable/c/72a729868592752b5a294d27453da264106983b1 Patch
- https://git.kernel.org/stable/c/aef855df7e1bbd5aa4484851561211500b22707e Patch
- https://git.kernel.org/stable/c/b2fa86b2aceb4bc9ada51cea90f61546d7512cbe Patch