CVE-2024-43842

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

State
Published
Severity
Not scored
Published
Aug 17, 2024
Updated
May 11, 2026
Reserved
Aug 17, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd to before a2a095c08b95372d6d0c5819b77f071af5e75366Affected
  • e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd to before 7a0edc3d83aff3a48813d78c9cad9daf38decc74Affected
  • e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd to before 96ae4de5bc4c8ba39fd072369398f59495b73f58Affected
  • e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd to before 85099c7ce4f9e64c66aa397cd9a37473637ab891Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 6.1.103 through 6.1.*Not affected
  • 6.6.44 through 6.6.*Not affected
  • 6.10.3 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.