net/mlx5: DR, Fix slab-out-of-bounds in mlx5_cmd_dr_create_fte

Kernel Updated 02 Oct 2025

Summary

18/03/2022
N/A
No i
Unrated
Not published

GSD-2022-1000738: net/mlx5: DR, Fix slab-out-of-bounds in mlx5_cmd_dr_create_fte. Affects Kernel versions >= 1ffd498901c1134a7cbecf5409e12c064c39cef9, < 4ad319cdfbe555b4ff67bc608736c46a6930c848. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The net/mlx5 package is a component of the Linux Kernel ecosystem. It provides support for Mellanox network adapters, specifically the mlx5 driver. The mlx5_cmd_dr_create_fte function is responsible for creating a flow table entry (FTE) in the Mellanox ConnectX-4 and ConnectX-5 network adapters. This vulnerability affects versions of the Linux Kernel from v5.16 to v5.16.11, and it was introduced in v5.16. The vulnerability allows an attacker to trigger a slab-out-of-bounds condition in the mlx5_cmd_dr_create_fte function, potentially leading to a denial-of-service (DoS) or arbitrary code execution.

Vulnerability Detail

The vulnerability in net/mlx5's mlx5_cmd_dr_create_fte function arises from a slab-out-of-bounds condition. This occurs when the function attempts to access memory outside the bounds of an allocated slab. An attacker can exploit this vulnerability by crafting a malicious input that triggers the out-of-bounds access. The impact of this vulnerability includes potential denial-of-service (DoS) attacks or arbitrary code execution. The vulnerability was fixed in Linux Kernel version v5.16.12 by commit 4ad319cdfbe555b4ff67bc608736c46a6930c848.

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 →

Conclusion

The net/mlx5 package in the Linux Kernel is vulnerable to a slab-out-of-bounds condition in the mlx5_cmd_dr_create_fte function. This vulnerability can potentially lead to denial-of-service (DoS) attacks or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.16.12 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially lead to denial-of-service (DoS) attacks or arbitrary code execution.

Versions from v5.16 to v5.16.11 are affected.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and it will provide real-time alerts for open-source vulnerabilities.

No specific workaround has been provided for this vulnerability. It is recommended to update to the fixed version of the Linux Kernel.

You can find more information about this vulnerability in the GSD-2022-1000738.json file located in the GSD database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000738.json

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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