In the Linux kernel, the following vulnerability has been resolved: soundwire: fix bug in sdw_add_element_group_count found by syzkaller The original implementation caused an out-of-bounds memory access in the sdw_add_element_group_count for-loop when i == num. for (i = 0; i <= num; i++) { if (rate == group->rates[i] && lane == group->lanes[i]) ... To fix this error, the function now checks for existing rate/lane entries in the group(a function parameter) using a for-loop before adding them. No functional changes apart from this fix.
https://git.kernel.org/stable/c/f772ff5a0e6758fd412803c09e03ba3bca5f5878
https://git.kernel.org/stable/c/e483a406a23a92d5202e8d324f206e127eef48ff
https://git.kernel.org/stable/c/a454f61747c97e2eadaa7a35ffc1f4b1645c6a53