CVE-2025-21975

net/mlx5: handle errors in mlx5_chains_create_table()

MEDIUM
5.5
CVSS Score
Published: April 1, 2025 at 03:47 PM UTC
Updated: June 17, 2026 at 08:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1805.16 ≤ v < 6.1.1325.6 ≤ v < 5.10.2365.6 ≤ v < 5.15.1805.6 ≤ v < 6.1.1325.6 ≤ v < 6.12.205.6 ≤ v < 6.13.85.6 ≤ v < 6.145.6 ≤ v < 6.6.846.13 ≤ v < 6.13.86.2 ≤ v < 6.6.846.7 ≤ v < 6.12.2039ac237ce00968545e7298faa9e07ecb7e440fb55.66.14 rc16.14 rc26.14 rc36.14 rc46.14 rc56.14 rc6
Vendor states this is fixed in 093b4aaec97ec048623e3fe1e516fc45a954d412 (fixed)
Vendor states this is fixed in 1598307c914ba3d2642a2b03d1ff11efbdb7c6c2 (fixed)
Vendor states this is fixed in 15bdd93728369b2c8942a8e5d549d4b5dc04a2d9 (fixed)
Vendor states this is fixed in 1d34296409a519b4027750e3e82d9e19553a7398 (fixed)
Vendor states this is fixed in 29c419c64e9b396baeda1d8713d2aa3ba7c0acf6 (fixed)
Vendor states this is fixed in 637105ef0d46fe5beac15aceb431da3ec832bb00 (fixed)
Vendor states this is fixed in eab0396353be1c778eba1c0b5180176f04dd21ce (fixed)
Vendor states this is fixed in 5.10.236 (unaffected)
Vendor states this is fixed in 5.15.180 (unaffected)
Vendor states this is fixed in 5.6 (unaffected)
Vendor states this is fixed in 6.1.132 (unaffected)
Vendor states this is fixed in 6.12.20 (unaffected)
Vendor states this is fixed in 6.13.8 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.84 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/093b4aaec97ec048623e3fe1e516fc45a954d412
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1598307c914ba3d2642a2b03d1ff11efbdb7c6c2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/15bdd93728369b2c8942a8e5d549d4b5dc04a2d9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1d34296409a519b4027750e3e82d9e19553a7398
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/29c419c64e9b396baeda1d8713d2aa3ba7c0acf6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/637105ef0d46fe5beac15aceb431da3ec832bb00
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eab0396353be1c778eba1c0b5180176f04dd21ce
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card