Overview
About vulnerability
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.
Details
- Affected product:
- Debian 10 ELS , Debian 11 ELS
- Affected packages:
- linux @ 4.19.0 (+1 more)