CVE-2025-21975
JSON

5.5medium

net/mlx5: handle errors in mlx5_chains_create_table()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 39ac237ce00968545e7298faa9e07ecb7e440fb5 before 15bdd93728369b2c8942a8e5d549d4b5dc04a2d9, from 39ac237ce00968545e7298faa9e07ecb7e440fb5 before 29c419c64e9b396baeda1d8713d2aa3ba7c0acf6, from 39ac237ce00968545e7298faa9e07ecb7e440fb5 before 1598307c914ba3d2642a2b03d1ff11efbdb7c6c2, from 39ac237ce00968545e7298faa9e07ecb7e440fb5 before 637105ef0d46fe5beac15aceb431da3ec832bb00, from 39ac237ce00968545e7298faa9e07ecb7e440fb5 before 1d34296409a519b4027750e3e82d9e19553a7398, from 39ac237ce00968545e7298faa9e07ecb7e440fb5 before 093b4aaec97ec048623e3fe1e516fc45a954d412, from 39ac237ce00968545e7298faa9e07ecb7e440fb5 before eab0396353be1c778eba1c0b5180176f04dd21ce, 5.6
Not affected: before 5.6, from 5.10.236 up to 5.10.*, from 5.15.180 up to 5.15.*, from 6.1.132 up to 6.1.*, from 6.6.84 up to 6.6.*, from 6.12.20 up to 6.12.*
CVE List
linux linux_kernelfrom 5.6 before 5.10.236, from 5.11 before 5.15.180, from 5.16 before 6.1.132, from 6.2 before 6.6.84, from 6.7 before 6.12.20, from 6.13 before 6.13.8, 6.14NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net/mlx5: gestión de errores en mlx5_chains_create_table(). En mlx5_chains_create_table(), se debe comprobar el valor de retorno de mlx5_get_fdb_sub_ns() y mlx5_get_flow_namespace() para evitar desreferencias de punteros nulos. Si alguna de las funciones falla, debe registrar un mensaje de error con mlx5_core_warn() y devolver un puntero de error.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21975 changed 2026-11-05CVE Terms of Use
NVDCVE-2025-21975 changed 2026-11-05Public domain