A vulnerability in the ALSA cs46xx driver in the Linux kernel allowed an out-of-bounds write and read due to a unit mismatch in the DSP code area bounds check. The check incorrectly compared offsets and sizes measured in 32-bit words against a byte-sized limit, permitting up to four times more code than the allocated buffer could hold. This flaw could lead to memory corruption when loading firmware with oversized code segments. The issue was identified and fixed by correcting the bounds check to compare values in consistent units and prevent integer wraparound.