Lucene search

K
cvelistLinuxCVELIST:CVE-2024-38562
HistoryJun 19, 2024 - 1:35 p.m.

CVE-2024-38562 wifi: nl80211: Avoid address calculations via out of bounds array indexing

2024-06-1913:35:30
Linux
www.cve.org
1
linux kernel
wifi
nl80211
out of bounds array indexing
memory allocation

0.0004 Low

EPSS

Percentile

15.7%

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

wifi: nl80211: Avoid address calculations via out of bounds array indexing

Before request->channels[] can be used, request->n_channels must be set.
Additionally, address calculations for memory after the “channels” array
need to be calculated from the allocation base (“request”) rather than
via the first “out of bounds” index of “channels”, otherwise run-time
bounds checking will throw a warning.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/wireless/nl80211.c"
    ],
    "versions": [
      {
        "version": "e3eac9f32ec0",
        "lessThan": "ed74398642fc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e3eac9f32ec0",
        "lessThan": "4e2a5566462b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e3eac9f32ec0",
        "lessThan": "8fa4d56564ee",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e3eac9f32ec0",
        "lessThan": "838c7b8f1f27",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/wireless/nl80211.c"
    ],
    "versions": [
      {
        "version": "6.6",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.6",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.33",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.12",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.3",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10-rc1",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

0.0004 Low

EPSS

Percentile

15.7%

Related for CVELIST:CVE-2024-38562