CVE-2024-35835
net/mlx5e: fix a double-free in arfs_create_groups
Reported by linux · Published May 17, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 4.14.343-259.562.amzn2 |
| kernel-devel | Amazon Linux | 4.14.343-259.562.amzn2 |
| perf | Amazon Linux | 4.14.343-259.562.amzn2 |
| kernel-livepatch-4.14.343-259.562 | Amazon Linux | 1.0-0.amzn2 |
| kernel | Amazon Linux | 4.14.343-259.562.amzn2 |
| kernel-headers | Amazon Linux | 4.14.343-259.562.amzn2 |
| python-perf | Amazon Linux | 4.14.343-259.562.amzn2 |
| linux_kernel | linux | 6.7.3, 6.6.15, 6.1.76, 5.15.149, 5.10.210, 5.4.269, 4.19.307 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c, 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c, 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c |
| Linux | Linux | 4.7, 0, 4.19.307 |
| amazon:2 | kernel-tools | 0 |
| amazon:2 | kernel-devel | 0 |
| amazon:2 | perf | 0 |
| amazon:2 | kernel-livepatch-4.14.343-259.562 | 0 |
| amazon:2 | kernel | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2 | python-perf | 0 |
| linux | linux_kernel | 4.7, 4.7, 4.7 |
| Linux | Linux | 6.8, 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c, 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c |
| amazon:2 | kernel-tools-devel | 0 |
Timeline
- May 17, 2024 CVE Published
- May 18, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 10, 2026 Security Advisory (438 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (333 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-35835
vulnetix vdb fixes CVE-2024-35835
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35835/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart