CVE-2025-21975

published 1 Apr 2025 · updated 7 Nov 2026

net/mlx5: handle errors in mlx5_chains_create_table()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.15.180, Kernel 6.1.132, Kernel 5.10.236 and 10 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.11 <5.15.180, >=5.16 <6.1.132, >=5.6 <5.10.236, >=6.13 <6.13.8, >=6.2 <6.6.84, >=6.7 <6.12.20, =6.14, >=39ac237ce00968545e7298faa9e07ecb7e440fb5 <1598307c914ba3d2642a2b03d1ff11efbdb7c6c2, >=39ac237ce00968545e7298faa9e07ecb7e440fb5 <15bdd93728369b2c8942a8e5d549d4b5dc04a2d9, >=39ac237ce00968545e7298faa9e07ecb7e440fb5 <1d34296409a519b4027750e3e82d9e19553a7398, >=39ac237ce00968545e7298faa9e07ecb7e440fb5 <29c419c64e9b396baeda1d8713d2aa3ba7c0acf6, >=39ac237ce00968545e7298faa9e07ecb7e440fb5 <637105ef0d46fe5beac15aceb431da3ec832bb00, >=39ac237ce00968545e7298faa9e07ecb7e440fb5 <eab0396353be1c778eba1c0b5180176f04dd21ce, =5.6, >=39ac237ce00968545e7298faa9e07ecb7e440fb5 <093b4aaec97ec048623e3fe1e516fc45a954d4125.15.180, 6.1.132, 5.10.236, 6.13.8, 6.6.84, 6.12.20, 1598307c914ba3d2642a2b03d1ff11efbdb7c6c2, 15bdd93728369b2c8942a8e5d549d4b5dc04a2d9, 1d34296409a519b4027750e3e82d9e19553a7398, 29c419c64e9b396baeda1d8713d2aa3ba7c0acf6, 637105ef0d46fe5beac15aceb431da3ec832bb00, eab0396353be1c778eba1c0b5180176f04dd21ce, 093b4aaec97ec048623e3fe1e516fc45a954d412
linux-kernel: Kernel>=5.11.0 <5.15.180, >=5.16.0 <6.1.132, >=5.6.0 <5.10.236, >=6.13.0 <6.13.8, >=6.2.0 <6.6.84, >=6.7.0 <6.12.205.15.180, 6.1.132, 5.10.236, 6.13.8, 6.6.84, 6.12.20

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21975 severity on Zeptric[![CVE-2025-21975](https://zeptric.io/badge/cve/CVE-2025-21975.svg)](https://zeptric.io/cve/CVE-2025-21975)