{"id":"CVE-2024-43842","summary":"wifi: rtw89: Fix array index mistake in rtw89_sta_info_get_iter()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rtw89: Fix array index mistake in rtw89_sta_info_get_iter()\n\nIn rtw89_sta_info_get_iter() 'status-\u003ehe_gi' is compared to array size.\nBut then 'rate-\u003ehe_gi' is used as array index instead of 'status-\u003ehe_gi'.\nThis can lead to go beyond array boundaries in case of 'rate-\u003ehe_gi' is\nnot equal to 'status-\u003ehe_gi' and is bigger than array size. Looks like\n\"copy-paste\" mistake.\n\nFix this mistake by replacing 'rate-\u003ehe_gi' with 'status-\u003ehe_gi'.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","modified":"2026-04-16T04:30:15.124763873Z","published":"2024-08-17T09:21:57.172Z","related":["ALSA-2025:8246","ALSA-2025:8247","SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43842.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/7a0edc3d83aff3a48813d78c9cad9daf38decc74"},{"type":"WEB","url":"https://git.kernel.org/stable/c/85099c7ce4f9e64c66aa397cd9a37473637ab891"},{"type":"WEB","url":"https://git.kernel.org/stable/c/96ae4de5bc4c8ba39fd072369398f59495b73f58"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2a095c08b95372d6d0c5819b77f071af5e75366"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43842.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43842"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd"},{"fixed":"a2a095c08b95372d6d0c5819b77f071af5e75366"},{"fixed":"7a0edc3d83aff3a48813d78c9cad9daf38decc74"},{"fixed":"96ae4de5bc4c8ba39fd072369398f59495b73f58"},{"fixed":"85099c7ce4f9e64c66aa397cd9a37473637ab891"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43842.json"}}],"schema_version":"1.7.5"}