CVE-2025-21906

MEDIUM

Linux Kernel 6.9-6.12.19 - Improper Initialization in iwlwifi ROC Handling

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: mvm: clean up ROC on failure If the firmware fails to start the session protection, then we do call iwl_mvm_roc_finished() here, but that won't do anything at all because IWL_MVM_STATUS_ROC_P2P_RUNNING was never set. Set IWL_MVM_STATUS_ROC_P2P_RUNNING in the failure/stop path. If it started successfully before, it's already set, so that doesn't matter, and if it didn't start it needs to be set to clean up. Not doing so will lead to a WARN_ON() later on a fresh remain- on-channel, since the link is already active when activated as it was never deactivated.

Scores

CVSS v3 5.5
EPSS 0.0016
EPSS Percentile 5.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-665
Status published
Products (12)
linux/Kernel 6.13.0 - 6.13.7linux
linux/Kernel 6.9.0 - 6.12.19linux
Linux/Linux < 6.9
Linux/Linux 35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8 - a88c18409b5d69f426d5acc583c053eac71756a3
Linux/Linux 35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8 - d1a12fcb9051bbf38b2e5af310ffb102a0fab6f9
Linux/Linux 35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8 - f9751163bffd3fe60794929829f810968c6de73d
Linux/Linux 6.12.19 - 6.12.*
Linux/Linux 6.13.7 - 6.13.*
Linux/Linux 6.14
Linux/Linux 6.9
... and 2 more
Published Apr 01, 2025
Tracked Since Feb 18, 2026