Deadlock Prevention in Linux Kernel's mlx5e Package: CVE-2024-27014

linux Updated 02 Oct 2025

Summary

01/05/2024
N/A
No i
Medium
5.5

CVE-2024-27014: In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Prevent deadlock while disabling aRFS When disabling aRFS under the priv->state_lock, any scheduled aRFS works are canceled using the cancel_... 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. The mlx5e package is a driver for Mellanox Ethernet devices, enabling high-performance networking capabilities. This package is crucial for managing network interfaces and ensuring efficient data transmission. However, it is susceptible to a vulnerability that can lead to deadlock situations when disabling aRFS (Adaptive Receive Flow Steering).

Vulnerability Detail

CVE-2024-27014 is a vulnerability in the Linux kernel's mlx5e driver that arises when disabling aRFS while holding the state_lock. The cancel_work_sync function is used to cancel scheduled aRFS work, but it can lead to a deadlock. This occurs because the work handler attempts to acquire the state_lock, which is already held by the task that called cancel_work_sync. The vulnerability can cause the system to hang, impacting network performance and stability.

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

Currently, there are no specific workarounds provided for this vulnerability. It is recommended to apply the patch as soon as it is available to prevent potential deadlocks.

Conclusion

CVE-2024-27014 is a significant vulnerability in the Linux kernel's mlx5e driver that can lead to deadlocks, affecting network performance. It is essential to update your kernel to the latest version to mitigate this risk. Regular monitoring using tools like Vulert can help ensure your system remains secure.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-27014 is a vulnerability in the Linux kernel's mlx5e driver that can lead to deadlock situations when disabling aRFS.

This vulnerability can cause your system to hang, particularly affecting network performance and stability.

The vulnerability affects various versions of the Linux kernel, specifically those using the mlx5e driver. Ensure you are running updated versions to avoid issues.

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.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risk of deadlocks.

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