Critical Vulnerability in Linux Kernel: Double Initialization of mgnt_entry List

linux Updated 02 Oct 2025

Summary

27/02/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-21730: In the Linux kernel, the following vulnerability has been resolved: wifi: rtw89: avoid to init mgnt_entry list twice when WoWLAN failed If WoWLAN failed in resume flow, the rtw89_ops_add_interface() triggered without rem... Affects linux versions < 6.12.13-1. Fixed in 6.12.13-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 resources and providing essential services to software applications. It is widely used in various distributions, including Debian. This vulnerability affects the Linux kernel versions in Debian 13 and 14, specifically related to the rtw89 wireless driver, which handles Wi-Fi connectivity. The vulnerability arises from improper handling of the mgnt_entry list during the WoWLAN (Wake on WLAN) resume process, leading to potential system instability.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified where the mgnt_entry list is initialized twice if the WoWLAN process fails during resume. This results in a corrupted list, causing the list_empty() check to become ineffective and leading to further corruption when the list is manipulated. The vulnerability can lead to kernel crashes and system instability, as evidenced by the kernel BUG messages and invalid opcode errors observed during operation. The issue is traced back to the rtw89_ops_add_interface() function, which fails to properly manage the interface removal before reinitialization.

How To Fix

Minimum fixed version

6.12.13-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. It is recommended to apply the patch as soon as it is available to avoid potential issues.

Conclusion

The identified vulnerability in the Linux kernel poses significant risks to system stability and performance, particularly for users relying on Wi-Fi connectivity. It is crucial to apply the available patch to mitigate these risks and maintain a secure operating environment.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can lead to kernel crashes and system instability, particularly affecting Wi-Fi connectivity.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability affects Linux kernel versions in Debian 13 and 14 prior to the patch version 6.12.13-1.

While the primary risk is system instability, it is always advisable to back up important data regularly, especially when vulnerabilities are present.

It is recommended to regularly check for updates and apply them promptly to ensure your system is secure and stable.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.13-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