wifi: iwlwifi: fix counter type in iwl_fwrt_dump_error_logs
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.5, 6.6.157, 6.12.110, 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: fix counter type in iwl_fwrt_dump_error_logs The loop counter 'count' was declared as u8 while num_pc is u32. If firmware advertises more than 255 PC entries the counter wraps back to zero and the loop never terminates potentially causing an infinite loop or reading past the allocated pc_data array. Change the declaration to u32 to match num_pc.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 2b69d242e29b891b11f1190201f4a08abb0c8342 · fixed in 8d74cb5fbb7a0d825403a74d18386dc7b22426a9; From 2b69d242e29b891b11f1190201f4a08abb0c8342 · fixed in 9710b20d09d847e07e190087b0b529673d3f1fad; From 2b69d242e29b891b11f1190201f4a08abb0c8342 · fixed in 8d8a526f3ec659194f846a2cb33844d9f6cb9995; From 2b69d242e29b891b11f1190201f4a08abb0c8342 · fixed in 769e1910d41fdd01453cef4ae032a3c162f029f8; From 2b69d242e29b891b11f1190201f4a08abb0c8342 · fixed in 71e67b4b59337b2f9f4fef976a27de2dad7aabf2; From 6.4.4 · fixed in 6.5
- Linux Linux
6.5
- KernelLinux
From 6.5.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6