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.
History

Fri, 23 May 2025 06:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Thu, 10 Apr 2025 13:15:00 +0000


Wed, 02 Apr 2025 14:00:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Tue, 01 Apr 2025 16:00:00 +0000

Type Values Removed Values Added
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.
Title net/mlx5: handle errors in mlx5_chains_create_table()
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2025-04-01T15:47:06.590Z

Updated: 2025-05-04T07:26:18.960Z

Reserved: 2024-12-29T08:45:45.797Z

Link: CVE-2025-21975

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-04-01T16:15:28.853

Modified: 2025-04-10T13:15:48.573

Link: CVE-2025-21975

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-04-01T00:00:00Z

Links: CVE-2025-21975 - Bugzilla