CVE-2025-21906 (GCVE-0-2025-21906)
Vulnerability from cvelistv5
Published
2025-04-01 15:40
Modified
2026-08-05 11:55
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.
Impacted products
Vendor Product Version
Linux Linux Version: 35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8
Version: 35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8
Version: 35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/intel/iwlwifi/mvm/time-event.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a88c18409b5d69f426d5acc583c053eac71756a3",
              "status": "affected",
              "version": "35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8",
              "versionType": "git"
            },
            {
              "lessThan": "d1a12fcb9051bbf38b2e5af310ffb102a0fab6f9",
              "status": "affected",
              "version": "35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8",
              "versionType": "git"
            },
            {
              "lessThan": "f9751163bffd3fe60794929829f810968c6de73d",
              "status": "affected",
              "version": "35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/intel/iwlwifi/mvm/time-event.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.9"
            },
            {
              "lessThan": "6.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.19",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.13.*",
              "status": "unaffected",
              "version": "6.13.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.14",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.19",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13.7",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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\u0027t 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\u0027s already set, so that\ndoesn\u0027t matter, and if it didn\u0027t 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": {
            "baseScore": 7.6,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H",
            "version": "3.1"
          },
          "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 \u2014 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 \u2014 P2P discovery, provision discovery and GO negotiation are entirely pre-association, and the target\u0027s 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\u0027s 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 \u2014 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."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:55:17.575Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-21906",
    "datePublished": "2025-04-01T15:40:47.059Z",
    "dateReserved": "2024-12-29T08:45:45.786Z",
    "dateUpdated": "2026-08-05T11:55:17.575Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…