Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 39ac237ce00968545e7298faa9e07ecb7e440fb5 to < 15bdd93728369b2c8942a8e5d549d4b5dc04a2d9affected
  • 39ac237ce00968545e7298faa9e07ecb7e440fb5 to < 29c419c64e9b396baeda1d8713d2aa3ba7c0acf6affected
  • 39ac237ce00968545e7298faa9e07ecb7e440fb5 to < 1598307c914ba3d2642a2b03d1ff11efbdb7c6c2affected
  • 39ac237ce00968545e7298faa9e07ecb7e440fb5 to < 637105ef0d46fe5beac15aceb431da3ec832bb00affected
  • 39ac237ce00968545e7298faa9e07ecb7e440fb5 to < 1d34296409a519b4027750e3e82d9e19553a7398affected
  • 39ac237ce00968545e7298faa9e07ecb7e440fb5 to < 093b4aaec97ec048623e3fe1e516fc45a954d412affected
  • 39ac237ce00968545e7298faa9e07ecb7e440fb5 to < eab0396353be1c778eba1c0b5180176f04dd21ceaffected

Linux Linux

Default version status: affected

  • 5.6affected
  • 0 to < 5.6unaffected
  • 5.10.236 to ≤ 5.10.*unaffected
  • 5.15.180 to ≤ 5.15.*unaffected
  • 6.1.132 to ≤ 6.1.*unaffected
  • 6.6.84 to ≤ 6.6.*unaffected
  • 6.12.20 to ≤ 6.12.*unaffected
  • 6.13.8 to ≤ 6.13.*unaffected
  • 6.14 to ≤ *unaffected

References