Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2024-26897
HistoryApr 17, 2024 - 11:15 a.m.

CVE-2024-26897

2024-04-1711:15:10
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
61
linux kernel
vulnerability
ath9k
ath9k_htc
usb subsystem
synchronisation

6.5 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.2%

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()).

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.175.10.214
OR
linuxlinux_kernelRange5.11.05.15.153
OR
linuxlinux_kernelRange5.16.06.1.83
OR
linuxlinux_kernelRange6.2.06.6.23
OR
linuxlinux_kernelRange6.7.06.7.11
OR
linuxlinux_kernelRange6.8.06.8.2
OR
linuxlinux_kernelRange6.9.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "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"
    ],
    "versions": [
      {
        "version": "78c8397132dd",
        "lessThan": "1bc5461a21c5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "735aefae7b68",
        "lessThan": "f8ff4b4df71e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8b3046abc99e",
        "lessThan": "74d0639261dd",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8b3046abc99e",
        "lessThan": "a015fbf698c8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8b3046abc99e",
        "lessThan": "ac90e22e735b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8b3046abc99e",
        "lessThan": "4afa0246656d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8b3046abc99e",
        "lessThan": "24355fcb0d4c",
        "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/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"
    ],
    "versions": [
      {
        "version": "5.17",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.17",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.214",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.153",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.83",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.23",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.11",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.2",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.5 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.2%