Skip to content
Heist/ feed
Unrated

wifi: ath9k: delay all of ath9k_wmi_event_tasklet() until init is complete

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k: delay all of ath9k_wmi_event_tasklet() until init is complete The ath9k_wmi_event_tasklet() used in ath9k_htc assumes that all the data structures have been fully initialised by the time it runs. However, because of the order in which things are initialised, this is not guaranteed to be the case, because the device is exposed to the USB subsystem before the ath9k driver initialisation is completed. We already committed a partial fix for this in commit: 8b3046abc99e ("ath9k_htc: fix NULL pointer dereference at ath9k_htc_tx_get_packet()") However, that commit only aborted the WMI_TXSTATUS_EVENTID command in the event tasklet, pairing it with an "initialisation complete" bit in the TX struct. It seems syzbot managed to trigger the race for one of the other commands as well, so let's just move the existing synchronisation bit to cover the whole tasklet (setting it at the end of ath9k_htc_probe_device() instead of inside ath9k_tx_init()).

Announced Group revision 1
Original source ↗

CVE-2024-26897

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2024-26897

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "78c8397132dd4735ac6a7b5a651302f0b9f264ad",
        "lessThan": "1bc5461a21c56a36e2a7d81e152b90ce019a3905",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "735aefae7b68025cd04c482a940c0f6fc6797a63",
        "lessThan": "f8ff4b4df71e87f609be0cc37d92e918107f9b90",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8b3046abc99eefe11438090bcc4ec3a3994b55d0",
        "lessThan": "74d0639261dd795dce958d1b14815bdcbb48a715",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8b3046abc99eefe11438090bcc4ec3a3994b55d0",
        "lessThan": "a015fbf698c8957aa5fbeefc5c59dd2cf3107298",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8b3046abc99eefe11438090bcc4ec3a3994b55d0",
        "lessThan": "ac90e22e735bac44f74b5161fb096fbeb0ff8bc2",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8b3046abc99eefe11438090bcc4ec3a3994b55d0",
        "lessThan": "4afa0246656d5680c8a4c3fb37ba6570c4ab819b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8b3046abc99eefe11438090bcc4ec3a3994b55d0",
        "lessThan": "24355fcb0d4cbcb6ddda262596558e8cfba70f11",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7bbc1a50a7963f14048f0e54b0b73159f86d4ea3",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5.10.136",
        "lessThan": "5.10.214",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "5.15.17",
        "lessThan": "5.15.153",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "5.16.3",
        "lessThan": "5.17",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "drivers/net/wireless/ath/ath9k/htc.h",
      "drivers/net/wireless/ath/ath9k/htc_drv_init.c",
      "drivers/net/wireless/ath/ath9k/htc_drv_txrx.c",
      "drivers/net/wireless/ath/ath9k/wmi.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.17"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.17",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.214",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.153",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.83",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.23",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.7.11",
        "versionType": "semver",
        "lessThanOrEqual": "6.7.*"
      },
      {
        "status": "unaffected",
        "version": "6.8.2",
        "versionType": "semver",
        "lessThanOrEqual": "6.8.*"
      },
      {
        "status": "unaffected",
        "version": "6.9",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/wireless/ath/ath9k/htc.h",
      "drivers/net/wireless/ath/ath9k/htc_drv_init.c",
      "drivers/net/wireless/ath/ath9k/htc_drv_txrx.c",
      "drivers/net/wireless/ath/ath9k/wmi.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2024-26897

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#26452 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement