Lucene search

K
cvelistLinuxCVELIST:CVE-2024-40929
HistoryJul 12, 2024 - 12:25 p.m.

CVE-2024-40929 wifi: iwlwifi: mvm: check n_ssids before accessing the ssids

2024-07-1212:25:08
Linux
www.cve.org
8
linux
kernel
wifi
vulnerability
iwlwifi
mvm
cfg80211
ssids
n_ssids
out-of-bound access

EPSS

0

Percentile

10.6%

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

wifi: iwlwifi: mvm: check n_ssids before accessing the ssids

In some versions of cfg80211, the ssids poinet might be a valid one even
though n_ssids is 0. Accessing the pointer in this case will cuase an
out-of-bound access. Fix this by checking n_ssids first.

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/scan.c"
    ],
    "versions": [
      {
        "version": "c1a7515393e4",
        "lessThan": "3c4771091ea8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c1a7515393e4",
        "lessThan": "f777792952d0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c1a7515393e4",
        "lessThan": "9e719ae3abad",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c1a7515393e4",
        "lessThan": "29a18d56bd64",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c1a7515393e4",
        "lessThan": "62e007bdeb91",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c1a7515393e4",
        "lessThan": "60d62757df30",
        "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/scan.c"
    ],
    "versions": [
      {
        "version": "4.17",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.17",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.221",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.162",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.95",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.35",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.6",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]