CVE-2024-35835

net/mlx5e: fix a double-free in arfs_create_groups

State
Published
Severity
7.8 High
Published
May 17, 2024
Updated
Aug 5, 2026
Reserved
May 17, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c to before e3d3ed8c152971dbe64c92c9ecb98fdb52abb629Affected
  • 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c to before 2501afe6c4c9829d03abe9a368b83d9ea1b611b7Affected
  • 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c to before cf116d9c3c2aebd653c2dfab5b10c278e9ec3ee5Affected
  • 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c to before c57ca114eb00e03274dd38108d07a3750fa3c056Affected
  • 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c to before 42876db001bbea7558e8676d1019f08f9390addbAffected
  • 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c to before b21db3f1ab7967a81d6bbd328d28fe5a4c07a8a7Affected
  • 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c to before 66cc521a739ccd5da057a1cb3d6346c6d0e7619bAffected
  • 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c to before 3c6d5189246f590e4e1f167991558bdb72a4738bAffected
LinuxLinux
  • 4.7Affected
  • before 4.7Not affected
  • 4.19.307 through 4.19.*Not affected
  • 5.4.269 through 5.4.*Not affected
  • 5.10.210 through 5.10.*Not affected
  • 5.15.149 through 5.15.*Not affected
  • 6.1.76 through 6.1.*Not affected
  • 6.6.15 through 6.6.*Not affected
  • 6.7.3 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.