net/mlx5e: fix a double-free in arfs_create_groups
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1cabe6b0965ec067ac60e8f182f16d479a3b9a5c · < b21db3f1ab7967a81d6bbd328d28fe5a4c07a8a7| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s net/mlx5e code can free a flow table group twice when an allocation fails in arfs_create_groups. The input does not describe how an attacker could trigger the failure or whether access or user interaction is required.
Engineers running Linux kernels with net/mlx5e should check their versions; affected versions are not specified.