CVE-2023-52667

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

HIGH
7.8
CVSS Score
Published: May 17, 2024 at 02:01 PM UTC
Updated: August 5, 2026 at 10:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known 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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.13 ≤ v < 5.15.1495.13 ≤ v < 6.1.765.13 ≤ v < 6.6.155.13 ≤ v < 6.7.35.13 ≤ v < 6.85.16 ≤ v < 6.1.766.2 ≤ v < 6.6.156.7 ≤ v < 6.7.30f575c20bf0686caf3d82d6c626c2e1e4a4c36e66.8 rc1
Vendor states this is fixed in 2897c981ee63e1be5e530b1042484626a10b26d8 (fixed)
Vendor states this is fixed in 65a4ade8a6d205979292e88beeb6a626ddbd4779 (fixed)
Vendor states this is fixed in 72a729868592752b5a294d27453da264106983b1 (fixed)
Vendor states this is fixed in aef855df7e1bbd5aa4484851561211500b22707e (fixed)
Vendor states this is fixed in b2fa86b2aceb4bc9ada51cea90f61546d7512cbe (fixed)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.15.149 (unaffected)
Vendor states this is fixed in 6.1.76 (unaffected)
Vendor states this is fixed in 6.6.15 (unaffected)
Vendor states this is fixed in 6.7.3 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2897c981ee63e1be5e530b1042484626a10b26d8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/65a4ade8a6d205979292e88beeb6a626ddbd4779
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/72a729868592752b5a294d27453da264106983b1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aef855df7e1bbd5aa4484851561211500b22707e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b2fa86b2aceb4bc9ada51cea90f61546d7512cbe

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-415

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card