net/mlx5: Fix tainted pointer delete is case of flow rules creation fail
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: Fix tainted pointer delete is case of flow rules creation fail
In case of flow rule creation fail in mlx5_lag_create_port_sel_table(), instead of previously created rules, the tainted pointer is deleted deveral times. Fix this bug by using correct flow rules pointers.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
The Linux kernel's mlx5 driver can delete an invalid pointer multiple times if flow-rule creation fails in mlx5_lag_create_port_sel_table(). The input does not specify what an attacker could do or whether network access, local access, authentication, or user interaction is required.
Engineers running Linux kernels with the mlx5 driver should check their versions; affected versions are not specified.