CVE-2023-52667
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.27%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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().
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.27% probability · 19th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-415
- Affected
- linux/linux kernel
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
References
- https://git.kernel.org/stable/c/2897c981ee63e1be5e530b1042484626a10b26d8Patch
- https://git.kernel.org/stable/c/65a4ade8a6d205979292e88beeb6a626ddbd4779Patch
- https://git.kernel.org/stable/c/72a729868592752b5a294d27453da264106983b1Patch
- https://git.kernel.org/stable/c/aef855df7e1bbd5aa4484851561211500b22707ePatch
- https://git.kernel.org/stable/c/b2fa86b2aceb4bc9ada51cea90f61546d7512cbePatch
- https://git.kernel.org/stable/c/2897c981ee63e1be5e530b1042484626a10b26d8Patch
- https://git.kernel.org/stable/c/65a4ade8a6d205979292e88beeb6a626ddbd4779Patch
- https://git.kernel.org/stable/c/72a729868592752b5a294d27453da264106983b1Patch
- https://git.kernel.org/stable/c/aef855df7e1bbd5aa4484851561211500b22707ePatch
- https://git.kernel.org/stable/c/b2fa86b2aceb4bc9ada51cea90f61546d7512cbePatch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.