# CVE-2025-21906: wifi: iwlwifi: mvm: clean up ROC on failure

- Severity: High 7.6 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-04-01T15:40:47.059Z
- Modified: 2026-10-15T22:18:11.770Z
- Weaknesses: CWE-665
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8 before a88c18409b5d69f426d5acc583c053eac71756a3; from 35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8 before d1a12fcb9051bbf38b2e5af310ffb102a0fab6f9; from 35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8 before f9751163bffd3fe60794929829f810968c6de73d; 6.9 (not affected: before 6.9; from 6.12.19 up to 6.12.*; from 6.13.7 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.9 before 6.12.19; from 6.13 before 6.13.7; 6.14

## Every score

- Linux: CVSS:3.1 7.6 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/a88c18409b5d69f426d5acc583c053eac71756a3> (patch)
- <https://git.kernel.org/stable/c/d1a12fcb9051bbf38b2e5af310ffb102a0fab6f9> (patch)
- <https://git.kernel.org/stable/c/f9751163bffd3fe60794929829f810968c6de73d> (patch)

## Sources

- CVE List: [CVE-2025-21906](https://www.cve.org/CVERecord?id=CVE-2025-21906), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-21906](https://nvd.nist.gov/vuln/detail/CVE-2025-21906), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-21906 · Whole record: https://cve.day/CVE-2025-21906.json · Rebuilt by cve.day 2026-11-25T22:58:55.879Z
