What’s Vulnerable › Vulnerabilities

CVE-2025-21975: net/mlx5: handle errors in mlx5_chains_create_table()

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.236, 5.15.180, 6.1.132, 6.12.20. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21975 or the next vulnerability affects your stack