CVE-2024-35835

published 17 May 2024 · updated 5 Aug 2026

net/mlx5e: fix a double-free in arfs_create_groups

7.8HighCVSS 7.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 2501afe6c4c9829d03abe9a368b83d9ea1b611b7, Kernel 3c6d5189246f590e4e1f167991558bdb72a4738b, Kernel 42876db001bbea7558e8676d1019f08f9390addb and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.7, >=1cabe6b0965ec067ac60e8f182f16d479a3b9a5c <2501afe6c4c9829d03abe9a368b83d9ea1b611b7, >=1cabe6b0965ec067ac60e8f182f16d479a3b9a5c <3c6d5189246f590e4e1f167991558bdb72a4738b, >=1cabe6b0965ec067ac60e8f182f16d479a3b9a5c <42876db001bbea7558e8676d1019f08f9390addb, >=1cabe6b0965ec067ac60e8f182f16d479a3b9a5c <66cc521a739ccd5da057a1cb3d6346c6d0e7619b, >=1cabe6b0965ec067ac60e8f182f16d479a3b9a5c <b21db3f1ab7967a81d6bbd328d28fe5a4c07a8a7, >=1cabe6b0965ec067ac60e8f182f16d479a3b9a5c <c57ca114eb00e03274dd38108d07a3750fa3c056, >=1cabe6b0965ec067ac60e8f182f16d479a3b9a5c <cf116d9c3c2aebd653c2dfab5b10c278e9ec3ee5, >=1cabe6b0965ec067ac60e8f182f16d479a3b9a5c <e3d3ed8c152971dbe64c92c9ecb98fdb52abb6292501afe6c4c9829d03abe9a368b83d9ea1b611b7, 3c6d5189246f590e4e1f167991558bdb72a4738b, 42876db001bbea7558e8676d1019f08f9390addb, 66cc521a739ccd5da057a1cb3d6346c6d0e7619b, b21db3f1ab7967a81d6bbd328d28fe5a4c07a8a7, c57ca114eb00e03274dd38108d07a3750fa3c056, cf116d9c3c2aebd653c2dfab5b10c278e9ec3ee5, e3d3ed8c152971dbe64c92c9ecb98fdb52abb629

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-35835 severity on Zeptric[![CVE-2024-35835](https://zeptric.io/badge/cve/CVE-2024-35835.svg)](https://zeptric.io/cve/CVE-2024-35835)