CVE-2026-74333: ASoC: amd: acp-sdw-legacy: Bound DAI link iteration
In the Linux kernel, the following vulnerability has been resolved:
ASoC: amd: acp-sdw-legacy: Bound DAI link iteration
createsdwdailinks() walks socdais until it finds an entry with initialised cleared, but socdais is allocated with exactly numends entries. If all entries are initialised, the loop reads past the end of the array.
This was reported by KASAN:
BUG: KASAN: slab-out-of-bounds in mcprobe+0x26b3/0x2774 [sndacpsdwlegacymach] Read of size 1
Pass the allocated entry count to createsdwdailinks() and stop before reading past the array.