Bug 2356617 (CVE-2025-21975) - CVE-2025-21975 kernel: net/mlx5: handle errors in mlx5_chains_create_table()
Summary: CVE-2025-21975 kernel: net/mlx5: handle errors in mlx5_chains_create_table()
Keywords:
Status: NEW
Alias: CVE-2025-21975
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-01 16:02 UTC by OSIDB Bzimport
Modified: 2025-05-22 10:41 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-01 16:02:44 UTC
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.

Comment 2 Mauro Matteo Cascella 2025-05-22 10:03:04 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025040147-CVE-2025-21975-6693@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.