Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26693
HistoryApr 03, 2024 - 2:54 p.m.

CVE-2024-26693 wifi: iwlwifi: mvm: fix a crash when we run out of stations

2024-04-0314:54:54
Linux
www.cve.org
linux kernel
vulnerability
fix
dos
authentication frames
ap crash
iwlwifi
mvm
station depletion
firmware
mac80211
ieee80211_sta

7.8 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%

In the Linux kernel, the following vulnerability has been resolved:

wifi: iwlwifi: mvm: fix a crash when we run out of stations

A DoS tool that injects loads of authentication frames made our AP
crash. The iwl_mvm_is_dup() function couldn’t find the per-queue
dup_data which was not allocated.

The root cause for that is that we ran out of stations in the firmware
and we didn’t really add the station to the firmware, yet we didn’t
return an error to mac80211.
Mac80211 was thinking that we have the station and because of that,
sta_info::uploaded was set to 1. This allowed
ieee80211_find_sta_by_ifaddr() to return a valid station object, but
that ieee80211_sta didn’t have any iwl_mvm_sta object initialized and
that caused the crash mentioned earlier when we got Rx on that station.

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/intel/iwlwifi/mvm/mac80211.c",
      "drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c"
    ],
    "versions": [
      {
        "version": "57974a55d995",
        "lessThan": "00f4eb31b819",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "57974a55d995",
        "lessThan": "c12f0f4d4caf",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "57974a55d995",
        "lessThan": "b7198383ef2d",
        "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/intel/iwlwifi/mvm/mac80211.c",
      "drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c"
    ],
    "versions": [
      {
        "version": "6.4",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.4",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.18",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.6",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

7.8 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%