What’s Vulnerable › Vulnerabilities

CVE-2024-35835: net/mlx5e: fix a double-free in arfs_create_groups

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.307, 5.10.210, 5.15.149, 5.4.269. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-35835 or the next vulnerability affects your stack