{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-21906","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-12-29T08:45:45.786Z","datePublished":"2025-04-01T15:40:47.059Z","dateUpdated":"2026-08-05T11:55:17.575Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:55:17.575Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: iwlwifi: mvm: clean up ROC on failure\n\nIf the firmware fails to start the session protection, then we\ndo call iwl_mvm_roc_finished() here, but that won't do anything\nat all because IWL_MVM_STATUS_ROC_P2P_RUNNING was never set.\nSet IWL_MVM_STATUS_ROC_P2P_RUNNING in the failure/stop path.\nIf it started successfully before, it's already set, so that\ndoesn't matter, and if it didn't start it needs to be set to\nclean up.\n\nNot doing so will lead to a WARN_ON() later on a fresh remain-\non-channel, since the link is already active when activated as\nit was never deactivated."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","baseScore":7.6,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:A - The affected code is the iwlwifi P2P remain-on-channel/session-protection path, which is driven over the air by adjacent Wi-Fi Direct peers — an attacker in radio range performing P2P discovery/GO negotiation causes the target to issue repeated ROC cycles, and RF congestion on the same segment is what makes the firmware fail to start session protection. No routable-network path exists, so this is Adjacent rather than Network.\nAC:L - The attacker can drive ROC attempts repeatedly and indefinitely at no cost, and each attempt that the firmware fails to start leaks a station ID and leaves the link active; there is no memory layout to guess, no race to win, and no lockout, so success is only a matter of retrying.\nPR:N - An adjacent P2P peer needs no credentials on the target — P2P discovery, provision discovery and GO negotiation are entirely pre-association, and the target's supplicant responds automatically by requesting off-channel ROC on the P2P_DEVICE interface.\nUI:N - On devices where Wi-Fi Direct/P2P is active (Android phones, Miracast/Chromecast-capable systems, wpa_supplicant with P2P enabled), the P2P device sits in listen/find state and answers peer frames automatically, so no victim action is required at exploitation time.\nS:U - The corrupted state, the WARN, and the leaked station/queue resources are all confined to the kernel's own iwlwifi driver state within the same host; no VM, IOMMU, or sandbox boundary is crossed.\nC:L - The resulting `WARN_ON_ONCE()` in `iwl_mvm_link_changed()` dumps a full backtrace with kernel text/module addresses and register contents into the ring buffer, exposing KASLR-relevant pointers on the common `dmesg_restrict=0` configurations; the leak is bounded to that log record with no out-of-bounds or arbitrary read.\nI:L - The skipped cleanup leaves stale kernel/firmware state — the link remains active, a firmware station entry and the p2p_dev queue are orphaned and overwritten on the next ROC, and unflushed off-channel frames are documented to be transmitted during a later, unrelated time event (i.e. on the wrong channel/context). The modification is limited to driver/device state, not arbitrary kernel memory.\nA:H - The bug reliably produces a kernel `WARN_ON_ONCE`, which panics immediately on the many production, cloud, hardened, Android and CI configurations that set `panic_on_warn=1`; even without that, repeated triggering leaks firmware station IDs until `iwl_mvm_find_free_sta_id()` returns `IWL_INVALID_STA`, breaking remain-on-channel, P2P and association until the interface or firmware is reset."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/intel/iwlwifi/mvm/time-event.c"],"versions":[{"version":"35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8","lessThan":"a88c18409b5d69f426d5acc583c053eac71756a3","status":"affected","versionType":"git"},{"version":"35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8","lessThan":"d1a12fcb9051bbf38b2e5af310ffb102a0fab6f9","status":"affected","versionType":"git"},{"version":"35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8","lessThan":"f9751163bffd3fe60794929829f810968c6de73d","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/intel/iwlwifi/mvm/time-event.c"],"versions":[{"version":"6.9","status":"affected"},{"version":"0","lessThan":"6.9","status":"unaffected","versionType":"semver"},{"version":"6.12.19","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.7","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.12.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.13.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.14"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/a88c18409b5d69f426d5acc583c053eac71756a3"},{"url":"https://git.kernel.org/stable/c/d1a12fcb9051bbf38b2e5af310ffb102a0fab6f9"},{"url":"https://git.kernel.org/stable/c/f9751163bffd3fe60794929829f810968c6de73d"}],"title":"wifi: iwlwifi: mvm: clean up ROC on failure","x_generator":{"engine":"bippy-1.2.0"}}}}