Review reviewHigh

CVE-2024-35835

Linux Linux, linux kernel, debian linux

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: fix a double-free in arfs_create_groups When `in` allocated by kvzalloc fails, arfs_create_groups will free ft->g and return an error. However, arfs_create_table, the only caller of arfs_create_groups, will hold this error and call to mlx5e_destroy_flow_table, in which the ft->g will be freed again.

CVSS
7.8
EPSS
0.67%
48.4% 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.67%
Technical severityCVSS 7.8

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: fix a double-free in arfs_create_groups When `in` allocated by kvzalloc fails, arfs_create_groups will free ft->g and return an error. However, arfs_create_table, the only caller of arfs_create_groups, will hold this error and call to mlx5e_destroy_flow_table, in which the ft->g will be freed again.

Affected product and versions

Product
Linux Linux, linux kernel, debian linux
Affected versions
>= 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c < e3d3ed8c152971dbe64c92c9ecb98fdb52abb629, >= 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c < 2501afe6c4c9829d03abe9a368b83d9ea1b611b7, >= 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c < cf116d9c3c2aebd653c2dfab5b10c278e9ec3ee5, >= 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c < c57ca114eb00e03274dd38108d07a3750fa3c056, >= 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c < 42876db001bbea7558e8676d1019f08f9390addb, >= 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c < b21db3f1ab7967a81d6bbd328d28fe5a4c07a8a7, >= 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c < 66cc521a739ccd5da057a1cb3d6346c6d0e7619b, >= 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c < 3c6d5189246f590e4e1f167991558bdb72a4738b, >= 4.7, >= 4.7 < 4.19.307, >= 4.20 < 5.4.269, >= 5.5 < 5.10.210, >= 5.11 < 5.15.149, >= 5.16 < 6.1.76, >= 6.2 < 6.6.15, >= 6.7 < 6.7.3, 6.8, 10.0
Fixed versions
4.19.307, 5.4.269, 5.10.210, 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, debian linux 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-2024-35835 — Linux Linux, linux kernel, debian linux | SECUFOCUS NOW