net/mlx5: handle errors in mlx5_chains_create_table()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 39ac237ce00968545e7298faa9e07ecb7e440fb5 · < 093b4aaec97ec048623e3fe1e516fc45a954d412| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: handle errors in mlx5_chains_create_table()
In mlx5_chains_create_table(), the return value of mlx5_get_fdb_sub_ns() and mlx5_get_flow_namespace() must be checked to prevent NULL pointer dereferences. If either function fails, the function should log error message with mlx5_core_warn() and return error pointer.
From the CVE record · Linux
The Linux kernel’s net/mlx5 component can dereference a NULL pointer when mlx5_chains_create_table() does not check for failures from two namespace functions. The input does not specify how an attacker could trigger this, or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with net/mlx5 should check their versions; affected versions are not specified.