Lucene search

K
cveLinuxCVE-2024-43842
HistoryAug 17, 2024 - 10:15 a.m.

CVE-2024-43842

2024-08-1710:15:09
Linux
web.nvd.nist.gov
29
linux kernel
wifi vulnerability
cve-2024-43842
array index mistake
rtw89_sta_info_get_iter
svace
linux verification center

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

16.3%

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

wifi: rtw89: Fix array index mistake in rtw89_sta_info_get_iter()

In rtw89_sta_info_get_iter() ‘status->he_gi’ is compared to array size.
But then ‘rate->he_gi’ is used as array index instead of ‘status->he_gi’.
This can lead to go beyond array boundaries in case of ‘rate->he_gi’ is
not equal to ‘status->he_gi’ and is bigger than array size. Looks like
“copy-paste” mistake.

Fix this mistake by replacing ‘rate->he_gi’ with ‘status->he_gi’.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.166.1.103
OR
linuxlinux_kernelRange6.2.06.6.44
OR
linuxlinux_kernelRange6.7.06.10.3
OR
linuxlinux_kernelRange6.11.0
VendorProductVersionCPE
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/realtek/rtw89/debug.c"
    ],
    "versions": [
      {
        "version": "e3ec7017f6a2",
        "lessThan": "a2a095c08b95",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e3ec7017f6a2",
        "lessThan": "7a0edc3d83af",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e3ec7017f6a2",
        "lessThan": "96ae4de5bc4c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e3ec7017f6a2",
        "lessThan": "85099c7ce4f9",
        "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/realtek/rtw89/debug.c"
    ],
    "versions": [
      {
        "version": "5.16",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.16",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.103",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.44",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.3",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

16.3%