CVE
CVE-2023-52667
CNA 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 versions
All Linux kernel vulnerabilities →
- 6.8-rc1This version only
- ≥ 6.7, < 6.7.3Fixed in 6.7.3
- ≥ 6.2, < 6.6.15Fixed in 6.6.15
- ≥ 5.16, < 6.1.76Fixed in 6.1.76
- ≥ 5.13, < 5.15.149Fixed in 5.15.149
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/2897c981ee63e1be5e530b1042484626a10b26d8 · Patch
- git.kernel.org/stable/c/65a4ade8a6d205979292e88beeb6a626ddbd4779 · Patch
- git.kernel.org/stable/c/72a729868592752b5a294d27453da264106983b1 · Patch
- git.kernel.org/stable/c/aef855df7e1bbd5aa4484851561211500b22707e · Patch
- git.kernel.org/stable/c/b2fa86b2aceb4bc9ada51cea90f61546d7512cbe · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.