VDB

CVE-2024-43842

CVE-2024-43842 PUBLISHED

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

Reported by linux · Published August 17, 2024

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 products

VendorProductVersions
LinuxLinuxe3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd
LinuxLinux5.16, 0, 6.1.103
linuxlinux_kernel5.16, 5.16, 5.16
LinuxLinux*, *, 5.16

Timeline

  • Aug 17, 2024 CVE Published
  • Aug 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (13 in total, the first dated here)
  • Jan 5, 2026 Security Advisory (140 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (126 in total, the first dated here)
  • May 11, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-43842
vulnetix vdb fixes CVE-2024-43842

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-43842/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›