wifi: iwlwifi: mvm: clean up ROC on failure
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.19, 6.13.7
- CVEs
- CVE-2025-21906
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 17:37 UTC · Revision 1
Source evidence
wifi: iwlwifi: mvm: clean up ROC on failure
core-osv · Original sourcePublished 1 Apr 2025, 15:40 UTC
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.
osv:CVE-2025-21906
Kernel
Fixed versions: 6.12.19, 6.13.7
Complete source record
{
"id": "fa3b6895f7752b9604b33e3597b1e942a1f5c2141963b73fd53f1e82de7cb38a",
"url": "https://osv.dev/vulnerability/CVE-2025-21906",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "wifi: iwlwifi: mvm: clean up ROC on failure",
"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 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.",
"evidence": "osv:CVE-2025-21906",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.19",
"evidence": "/affected/1/ranges"
},
{
"value": "6.13.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-21906",
"aliases": [
"CVE-2025-21906"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8"
},
{
"fixed": "a88c18409b5d69f426d5acc583c053eac71756a3"
},
{
"fixed": "d1a12fcb9051bbf38b2e5af310ffb102a0fab6f9"
},
{
"fixed": "f9751163bffd3fe60794929829f810968c6de73d"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21906.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.9.0"
},
{
"fixed": "6.12.19"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.13.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21906.json"
}
}
],
"modified": "2026-10-28T02:30:31.283192355Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/a88c18409b5d69f426d5acc583c053eac71756a3",
"https://git.kernel.org/stable/c/d1a12fcb9051bbf38b2e5af310ffb102a0fab6f9",
"https://git.kernel.org/stable/c/f9751163bffd3fe60794929829f810968c6de73d",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21906.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-21906",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21906.json"
}
},
"related_cves": [
{
"value": "CVE-2025-21906",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497915,
"published_at": "2025-04-01T15:40:47.059+00:00"
}