Linux
ALSA: ctxfi: Fix potential OOB access in audio mixer handling
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8cc72361481f00253f1e468ade5795427386d593, < 6524205326e0c1a21263b5c14e48e14ef7e449ae
- >= 8cc72361481f00253f1e468ade5795427386d593, < afca7ff5d5d4d63a1acb95461f55ca9a729feedf
- >= 8cc72361481f00253f1e468ade5795427386d593, < 8c1d09806e1441bc6a54b9a4f2818918046d5174
- >= 8cc72361481f00253f1e468ade5795427386d593, < a8c42d11b0526a89192bd2f79facb4c60c8a1f38
- >= 8cc72361481f00253f1e468ade5795427386d593, < d77ba72558cd66704f0fb7e0969f697e87c0f71c
- >= 8cc72361481f00253f1e468ade5795427386d593, < 873e2360d247eeee642878fcc3398babff7e387c
- >= 8cc72361481f00253f1e468ade5795427386d593, < 61006c540cbdedea83b05577dc7fb7fa18fe1276
Fixed in 6524205326e0c1a21263b5c14e48e14ef7e449ae, afca7ff5d5d4d63a1acb95461f55ca9a729feedf, 8c1d09806e1441bc6a54b9a4f2818918046d5174, a8c42d11b0526a89192bd2f79facb4c60c8a1f38, d77ba72558cd66704f0fb7e0969f697e87c0f71c, 873e2360d247eeee642878fcc3398babff7e387c, 61006c540cbdedea83b05577dc7fb7fa18fe1276
- 2.6.31
Fixed in 0, 5.10.249, 5.15.199, 6.1.162, 6.6.122, 6.12.68, 6.18.8, 6.19
Mitigation
Upgrade Linux to 6524205326e0c1a21263b5c14e48e14ef7e449ae or afca7ff5d5d4d63a1acb95461f55ca9a729feedf or 8c1d09806e1441bc6a54b9a4f2818918046d5174 or a8c42d11b0526a89192bd2f79facb4c60c8a1f38 or d77ba72558cd66704f0fb7e0969f697e87c0f71c or 873e2360d247eeee642878fcc3398babff7e387c or 61006c540cbdedea83b05577dc7fb7fa18fe1276 or later.
Upgrade Linux to 0 or 5.10.249 or 5.15.199 or 6.1.162 or 6.6.122 or 6.12.68 or 6.18.8 or 6.19 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.