Kernel Crash Vulnerability in Linux Package due to Double-Destroyed Definers

linux Updated 02 Oct 2025

Summary

31/01/2025
N/A
Yes i
Medium
5.5

CVE-2025-21675: In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Clear port select structure when fail to create Clear the port select structure on error so no stale values left after definers are destroyed. Affects linux versions < 6.1.128-1. Fixed in 6.1.128-1. 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 Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system, including process management, memory management, and device control. This vulnerability specifically affects the Linux kernel versions in Debian 12 and 13, where a flaw in the mlx5 networking driver can lead to system instability and crashes.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the mlx5 networking driver related to the handling of port select structures. When the creation of lag definers fails, the existing port select structure is not cleared, leading to stale values persisting after the definers are destroyed. This results in a scenario where the same definer can be destroyed multiple times, causing a kernel NULL pointer dereference and ultimately leading to a system crash. The vulnerability can be exploited under specific conditions, particularly when creating lag definers, and can result in significant system downtime and instability.

How To Fix

Minimum fixed version

6.1.128-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available patches as soon as they are released.

Conclusion

The CVE-2025-21675 vulnerability poses a significant risk to systems running affected versions of the Linux kernel in Debian 12 and 13. It is essential for users to stay informed about this issue and apply the necessary updates to ensure system stability and security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-21675 is a vulnerability in the Linux kernel's mlx5 networking driver that can cause a kernel crash due to improper handling of port select structures.

This vulnerability can lead to system crashes and instability, particularly when creating lag definers in the networking stack.

If you are using the Linux kernel versions in Debian 12 or 13, it is advisable to check for updates and apply them to mitigate this vulnerability.

While there are no specific workarounds, it is crucial to monitor your system for any signs of instability and plan to apply the updates as soon as possible.

You can find more details about CVE-2025-21675 on the official CVE database or by visiting security advisories related to the Linux kernel.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.1.128-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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