ASoC: Intel: avs: Refactor and fix init_config access
- 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.12.114, 6.18.53, 7.2.7
- 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: ASoC: Intel: avs: Refactor and fix init_config access Existing code accesses enties found in ->init_configs array through indexes that are part of ->config_ids array. Those two are limited by: ->num_init_configs and ->num_config_ids respectively. Using ID larger or equal to ->num_init_configs leads to out-of-bounds access: avs_path_module_send_init_configs() loop: (...) &acomp->tplg->init_configs[ids[i]] ^ out-of-bounds candidate Rather than adding another if-statement, refactor the code. There is no need to store the IDs, have a list of pointers to actual config-entries instead. As the verification of ->init_config entries does not differ from verification of other types that are part of the topology.c file, simply reuse the code.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 8a49ef789b1be68242624d460df2ada8087308a7 · fixed in 70ffcaf86a053be99daaf3b103beac0ad7136ca3; From 8a49ef789b1be68242624d460df2ada8087308a7 · fixed in 75bd5ea9c858d89fb8862f23afb00783bf02cd7a; From 8a49ef789b1be68242624d460df2ada8087308a7 · fixed in 8f20a0f4f7d638e83ae86db1719a24c7049762f5; From 8a49ef789b1be68242624d460df2ada8087308a7 · fixed in 681e91035dc794896a904852040837190e5041f5
- Linux Linux
6.9
- KernelLinux
From 6.9.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.2.7