CVE-2026-74367 (GCVE-0-2026-74367)
Vulnerability from cvelistv5
Published
2026-08-15 05:58
Modified
2026-08-17 05:46
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix inconsistent arvif state in vdev_create error paths ath12k_mac_vdev_create() has three error path issues that leave arvif in an inconsistent state: 1. When ath12k_wmi_vdev_create() fails, the function returns directly without clearing arvif->ar, which was already set before the WMI call. Subsequent code checking arvif->ar to determine vdev readiness will see a non-NULL value despite no vdev existing in firmware. 2. When ath12k_wmi_send_peer_delete_cmd() fails in err_peer_del, the code jumped to err: skipping the DP peer cleanup and vdev rollback, leaving num_created_vdevs, vdev maps and arvif list membership live. 3. When ath12k_wait_for_peer_delete_done() fails, the code jumped to err_vdev_del: skipping the DP peer cleanup. Fix by changing the ath12k_wmi_vdev_create() failure to goto err instead of returning directly, routing both err_peer_del failure paths through err_dp_peer_del: for proper DP peer and vdev rollback, and consolidating the arvif state cleanup at err:. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c5-00302-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.115823.3
Impacted products
Vendor Product Version
Linux Linux Version: 477cabfdb776b571fab425813c074f30c02a5cf6
Version: 477cabfdb776b571fab425813c074f30c02a5cf6
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/ath/ath12k/mac.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e0140e094b196d92f2a4ce167ee73cbfab000290",
              "status": "affected",
              "version": "477cabfdb776b571fab425813c074f30c02a5cf6",
              "versionType": "git"
            },
            {
              "lessThan": "c972636efc63f0f43d725b59805dd1ae5bc4b31e",
              "status": "affected",
              "version": "477cabfdb776b571fab425813c074f30c02a5cf6",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/ath/ath12k/mac.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.13"
            },
            {
              "lessThan": "6.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix inconsistent arvif state in vdev_create error paths\n\nath12k_mac_vdev_create() has three error path issues that leave arvif\nin an inconsistent state:\n\n1. When ath12k_wmi_vdev_create() fails, the function returns directly\n   without clearing arvif-\u003ear, which was already set before the WMI\n   call. Subsequent code checking arvif-\u003ear to determine vdev readiness\n   will see a non-NULL value despite no vdev existing in firmware.\n\n2. When ath12k_wmi_send_peer_delete_cmd() fails in err_peer_del, the\n   code jumped to err: skipping the DP peer cleanup and vdev rollback,\n   leaving num_created_vdevs, vdev maps and arvif list membership live.\n\n3. When ath12k_wait_for_peer_delete_done() fails, the code jumped to\n   err_vdev_del: skipping the DP peer cleanup.\n\nFix by changing the ath12k_wmi_vdev_create() failure to goto err instead\nof returning directly, routing both err_peer_del failure paths through\nerr_dp_peer_del: for proper DP peer and vdev rollback, and consolidating\nthe arvif state cleanup at err:.\n\nTested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c5-00302-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.115823.3"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - ath12k_mac_vdev_create() is only reached from mac80211 driver callbacks (assign_vif_chanctx, hw_scan, remain_on_channel) invoked by nl80211/generic-netlink WiFi management commands, not from remote WiFi frame processing.\nAC:L - An attacker with CAP_NET_ADMIN can repeatedly create AP/scan interfaces and race teardown to stress firmware WMI commands, reliably provoking vdev_create or peer-delete failures/timeouts on error rollback paths they control.\nPR:L - Triggering vdev creation requires nl80211 operations (NEW_INTERFACE, START_AP, TRIGGER_SCAN) gated by GENL_UNS_ADMIN_PERM; this capability is obtainable by an unprivileged user inside a user+network namespace via unshare -Urn.\nUI:N - Exploitation requires no action by another user; the attacker directly issues the nl80211 interface/scan operations that drive ath12k_mac_vdev_create() and its faulty error paths.\nS:U - The bug corrupts ath12k driver/kernel state on the same host; it does not cross a VM, container, or IOMMU security boundary to affect a separate security authority.\nC:H - Incomplete rollback leaves orphaned DP peers and stale vdev/arvif bookkeeping while firmware objects remain live, enabling heap corruption that can be leveraged for arbitrary kernel memory reads.\nI:H - Inconsistent is_created, vdev maps, and arvif list membership with uncleared DP peers permits subsequent driver operations on stale objects, enabling heap corruption and potential arbitrary kernel write or code execution.\nA:H - Error paths can leave is_created true with arvif-\u003ear NULL while the arvif stays on arvifs; later nl80211-driven callbacks dereference arvif-\u003ear unchecked, causing kernel NULL pointer oops/panic and persistent WiFi DoS."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:46:25.345Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e0140e094b196d92f2a4ce167ee73cbfab000290"
        },
        {
          "url": "https://git.kernel.org/stable/c/c972636efc63f0f43d725b59805dd1ae5bc4b31e"
        }
      ],
      "title": "wifi: ath12k: fix inconsistent arvif state in vdev_create error paths",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74367",
    "datePublished": "2026-08-15T05:58:48.938Z",
    "dateReserved": "2026-08-15T05:44:03.888Z",
    "dateUpdated": "2026-08-17T05:46:25.345Z",
    "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…