CVE-2025-21975

net/mlx5: handle errors in mlx5_chains_create_table()

State
Published
Severity
Not scored
Published
Apr 1, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 39ac237ce00968545e7298faa9e07ecb7e440fb5 to before 15bdd93728369b2c8942a8e5d549d4b5dc04a2d9Affected
  • 39ac237ce00968545e7298faa9e07ecb7e440fb5 to before 29c419c64e9b396baeda1d8713d2aa3ba7c0acf6Affected
  • 39ac237ce00968545e7298faa9e07ecb7e440fb5 to before 1598307c914ba3d2642a2b03d1ff11efbdb7c6c2Affected
  • 39ac237ce00968545e7298faa9e07ecb7e440fb5 to before 637105ef0d46fe5beac15aceb431da3ec832bb00Affected
  • 39ac237ce00968545e7298faa9e07ecb7e440fb5 to before 1d34296409a519b4027750e3e82d9e19553a7398Affected
  • 39ac237ce00968545e7298faa9e07ecb7e440fb5 to before 093b4aaec97ec048623e3fe1e516fc45a954d412Affected
  • 39ac237ce00968545e7298faa9e07ecb7e440fb5 to before eab0396353be1c778eba1c0b5180176f04dd21ceAffected
LinuxLinux
  • 5.6Affected
  • before 5.6Not affected
  • 5.10.236 through 5.10.*Not affected
  • 5.15.180 through 5.15.*Not affected
  • 6.1.132 through 6.1.*Not affected
  • 6.6.84 through 6.6.*Not affected
  • 6.12.20 through 6.12.*Not affected
  • 6.13.8 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.