Review reviewHigh

CVE-2023-52667

Linux Linux, linux kernel

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
7.8
EPSS
0.27%
18.8% percentile
CISA KEV
Not listed
Published
2024.05.17
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.27%
Technical severityCVSS 7.8

Vulnerability overview

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 product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 < 72a729868592752b5a294d27453da264106983b1, >= 0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 < b2fa86b2aceb4bc9ada51cea90f61546d7512cbe, >= 0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 < 2897c981ee63e1be5e530b1042484626a10b26d8, >= 0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 < 65a4ade8a6d205979292e88beeb6a626ddbd4779, >= 0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 < aef855df7e1bbd5aa4484851561211500b22707e, >= 5.13, >= 5.13 < 5.15.149, >= 5.16 < 6.1.76, >= 6.2 < 6.6.15, >= 6.7 < 6.7.3, 6.8
Fixed versions
5.15.149, 6.1.76, 6.6.15, 6.7.3

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-415
CVE-2023-52667 — Linux Linux, linux kernel | SECUFOCUS NOW