ALSA: ctxfi: Fix potential OOB access in audio mixer handling
- 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 5.10.249, 5.15.199, 6.1.162, 6.6.122, 6.12.68, and 1 more
- 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
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: ALSA: ctxfi: Fix potential OOB access in audio mixer handling In the audio mixer handling code of ctxfi driver, the conf field is used as a kind of loop index, and it's referred in the index callbacks (amixer_index() and sum_index()). As spotted recently by fuzzers, the current code causes OOB access at those functions. | UBSAN: array-index-out-of-bounds in /build/reproducible-path/linux-6.17.8/sound/pci/ctxfi/ctamixer.c:347:48 | index 8 is out of range for type 'unsigned char [8]' After the analysis, the cause was found to be the lack of the proper (re-)initialization of conj field. This patch addresses those OOB accesses by adding the proper initializations of the loop indices.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 8cc72361481f00253f1e468ade5795427386d593 · fixed in 6524205326e0c1a21263b5c14e48e14ef7e449ae; From 8cc72361481f00253f1e468ade5795427386d593 · fixed in afca7ff5d5d4d63a1acb95461f55ca9a729feedf; From 8cc72361481f00253f1e468ade5795427386d593 · fixed in 8c1d09806e1441bc6a54b9a4f2818918046d5174; From 8cc72361481f00253f1e468ade5795427386d593 · fixed in a8c42d11b0526a89192bd2f79facb4c60c8a1f38; From 8cc72361481f00253f1e468ade5795427386d593 · fixed in d77ba72558cd66704f0fb7e0969f697e87c0f71c; From 8cc72361481f00253f1e468ade5795427386d593 · fixed in 873e2360d247eeee642878fcc3398babff7e387c; From 8cc72361481f00253f1e468ade5795427386d593 · fixed in 61006c540cbdedea83b05577dc7fb7fa18fe1276
- Linux Linux
2.6.31
- KernelLinux
From 2.6.31 · fixed in 5.10.249; From 5.11.0 · fixed in 5.15.199; From 5.16.0 · fixed in 6.1.162; From 6.2.0 · fixed in 6.6.122; From 6.7.0 · fixed in 6.12.68; From 6.13.0 · fixed in 6.18.8
References 7
git.kernel.org
- stable/c/6524205326e0c1a21263b5c14e48e14ef7e449ae
- stable/c/afca7ff5d5d4d63a1acb95461f55ca9a729feedf
- stable/c/8c1d09806e1441bc6a54b9a4f2818918046d5174
- stable/c/a8c42d11b0526a89192bd2f79facb4c60c8a1f38
- stable/c/d77ba72558cd66704f0fb7e0969f697e87c0f71c
- stable/c/873e2360d247eeee642878fcc3398babff7e387c
- stable/c/61006c540cbdedea83b05577dc7fb7fa18fe1276