---
id: CVE-2025-21906
title: |-
  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 anyth…
summary: |-
  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 anyth…
severity: high
cvss: 7.6
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H'
cwe:
  - CWE-665
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.9, < 6.12.19'
  - 'linux_kernel >= 6.13, < 6.13.7'
  - linux_kernel = 6.14
patched:
  - linux_kernel 6.13.7
published: '2025-04-01'
updated: '2026-07-30'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-21906'
references:
  - url: 'https://git.kernel.org/stable/c/a88c18409b5d69f426d5acc583c053eac71756a3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d1a12fcb9051bbf38b2e5af310ffb102a0fab6f9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f9751163bffd3fe60794929829f810968c6de73d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.0022
epssPercentile: 0.11156
ingestedAt: '2026-07-30T06:53:10.913Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 6.9, < 6.12.19`
- `linux_kernel >= 6.13, < 6.13.7`
- `linux_kernel = 6.14`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.13.7`
