# CVE-2024-43842: wifi: rtw89: Fix array index mistake in rtw89_sta_info_get_iter()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-08-17T09:21:57.172Z
- Modified: 2026-06-17T07:51:49.227Z
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd before a2a095c08b95372d6d0c5819b77f071af5e75366; from e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd before 7a0edc3d83aff3a48813d78c9cad9daf38decc74; from e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd before 96ae4de5bc4c8ba39fd072369398f59495b73f58; from e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd before 85099c7ce4f9e64c66aa397cd9a37473637ab891; 5.16 (not affected: before 5.16; from 6.1.103 up to 6.1.*; from 6.6.44 up to 6.6.*; from 6.10.3 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 5.16 before 6.1.103; from 6.2 before 6.6.44; from 6.7 before 6.10.3

## References

- <https://git.kernel.org/stable/c/a2a095c08b95372d6d0c5819b77f071af5e75366> (patch)
- <https://git.kernel.org/stable/c/7a0edc3d83aff3a48813d78c9cad9daf38decc74> (patch)
- <https://git.kernel.org/stable/c/96ae4de5bc4c8ba39fd072369398f59495b73f58> (patch)
- <https://git.kernel.org/stable/c/85099c7ce4f9e64c66aa397cd9a37473637ab891> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-43842](https://www.cve.org/CVERecord?id=CVE-2024-43842), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-43842](https://nvd.nist.gov/vuln/detail/CVE-2024-43842), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-43842 · Whole record: https://cve.day/CVE-2024-43842.json · Rebuilt by cve.day 2026-11-25T22:58:44.499Z
