# CVE-2024-35835: net/mlx5e: fix a double-free in arfs\_create\_groups

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-17 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-35835, DEBIAN-CVE-2024-35835
- Record: https://cvemate.com/vulnerability/CVE-2024-35835 · JSON: https://cvemate.com/vulnerability/CVE-2024-35835/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.628%, percentile 51.539%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 120)

- debian linux (Debian): \< 6.1.76-1 \| \< 6.7.7-1
- ubuntu linux (Ubuntu): \< 4.15.0-228.240 \| \< 5.4.0-181.201 \| \< 5.15.0-106.116
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.15.0-1172.185 \| \< 5.4.0-1124.134 \| \< 5.15.0-1061.67
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1061.67~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1124.134~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2110.116 \| All versions (No fix recorded) \| \< 5.4.0-1124.134+fips1 \| \< 5.15.0-1061.67+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1172.185~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1180.195~14.04.1 \| \< 4.15.0-1180.195~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1129.136 \| \< 5.15.0-1063.72
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1180.195
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 26)

- <https://git.kernel.org/stable/c/e3d3ed8c152971dbe64c92c9ecb98fdb52abb629>
- <https://git.kernel.org/stable/c/2501afe6c4c9829d03abe9a368b83d9ea1b611b7>
- <https://git.kernel.org/stable/c/cf116d9c3c2aebd653c2dfab5b10c278e9ec3ee5>
- <https://git.kernel.org/stable/c/c57ca114eb00e03274dd38108d07a3750fa3c056>
- <https://git.kernel.org/stable/c/42876db001bbea7558e8676d1019f08f9390addb>
- <https://git.kernel.org/stable/c/b21db3f1ab7967a81d6bbd328d28fe5a4c07a8a7>
- <https://git.kernel.org/stable/c/66cc521a739ccd5da057a1cb3d6346c6d0e7619b>
- <https://git.kernel.org/stable/c/3c6d5189246f590e4e1f167991558bdb72a4738b>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- <https://ubuntu.com/security/CVE-2024-35835>
- <https://www.cve.org/CVERecord?id=CVE-2024-35835>
- <https://git.kernel.org/linus/3c6d5189246f590e4e1f167991558bdb72a4738b>
- <https://ubuntu.com/security/notices/USN-6818-1>
- <https://ubuntu.com/security/notices/USN-6819-1>
- <https://ubuntu.com/security/notices/USN-6818-2>
- <https://ubuntu.com/security/notices/USN-6819-2>
- <https://ubuntu.com/security/notices/USN-6819-3>
- <https://ubuntu.com/security/notices/USN-6818-3>
- <https://ubuntu.com/security/notices/USN-6818-4>

---

Data as of 2026-12-05T09:43:22.931Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
