Critical Vulnerability in Linux Kernel: RDMA/mlx5 Hardware Statistics Handling

linux Updated 02 Oct 2025

Summary

18/09/2025
N/A
No i
Unrated
Not published

CVE-2023-53393: In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Fix mlx5_ib_get_hw_stats when used for device Currently, when mlx5_ib_get_hw_stats() is used for device (port_num = 0), there is a special ha... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware resources and providing essential services to software applications. It supports a wide range of functionalities, including process management, memory management, and device control. The kernel is crucial for system stability and performance. This vulnerability specifically affects the RDMA (Remote Direct Memory Access) subsystem, particularly the mlx5 driver, which is used for high-performance networking. The issue arises from improper handling of hardware statistics when querying device information, leading to potential system crashes.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the RDMA/mlx5 subsystem. The function mlx5_ib_get_hw_stats() does not correctly handle the port number when querying device statistics, particularly when port_num is set to 0. This oversight can lead to a page fault, causing the kernel to crash and potentially resulting in a denial of service. The vulnerability is rooted in the assumption that port_num is always greater than or equal to 1, which is not the case in this scenario. This can lead to critical system instability, affecting all applications relying on the kernel's networking capabilities.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can avoid using the mlx5 driver for RDMA operations until the system is updated with the patched version. Additionally, ensure that any applications relying on this functionality are configured to handle potential failures gracefully.

Conclusion

The vulnerability CVE-2023-53393 in the Linux kernel's RDMA/mlx5 subsystem poses a significant risk due to improper handling of hardware statistics. Users are advised to update their systems to the patched version to ensure stability and security. Temporary workarounds are available, but updating is the best long-term solution.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2023-53393 is a vulnerability in the Linux kernel's RDMA/mlx5 subsystem that can lead to system crashes due to improper handling of hardware statistics.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

The vulnerability can cause kernel crashes, leading to denial of service and affecting the stability of applications relying on the kernel's networking capabilities.

Yes, a patch is available in the form of the Linux package version 6.1.7-1 or later. It is recommended to update to this version to mitigate the vulnerability.

If immediate updating is not possible, consider disabling the mlx5 driver for RDMA operations as a temporary workaround to prevent potential crashes.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback