soundwire: fix bug in sdw_add_element_group_count found by syzkaller
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f772ff5a0e6758fd412803c09e03ba3bca5f5878, Kernel 5c3ce6d3559ce57e6c3108aa9ecf7b32764188c5, Kernel a2275dce05e6d1cce69bf68f23ea7a63c0c54bae and 8 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=9026118f20e28f202dab34f219bbb831ffb8c4dc <f772ff5a0e6758fd412803c09e03ba3bca5f5878, >=9026118f20e28f202dab34f219bbb831ffb8c4dc <5c3ce6d3559ce57e6c3108aa9ecf7b32764188c5, >=9026118f20e28f202dab34f219bbb831ffb8c4dc <a2275dce05e6d1cce69bf68f23ea7a63c0c54bae, >=9026118f20e28f202dab34f219bbb831ffb8c4dc <a454f61747c97e2eadaa7a35ffc1f4b1645c6a53, >=9026118f20e28f202dab34f219bbb831ffb8c4dc <c35474cf6a7d0891ebebbeda08ce34b602885ab6, >=9026118f20e28f202dab34f219bbb831ffb8c4dc <e483a406a23a92d5202e8d324f206e127eef48ff, =5.10 | f772ff5a0e6758fd412803c09e03ba3bca5f5878, 5c3ce6d3559ce57e6c3108aa9ecf7b32764188c5, a2275dce05e6d1cce69bf68f23ea7a63c0c54bae, a454f61747c97e2eadaa7a35ffc1f4b1645c6a53, c35474cf6a7d0891ebebbeda08ce34b602885ab6, e483a406a23a92d5202e8d324f206e127eef48ff |
| linux-kernel: Kernel | >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.160, >=6.7.0 <6.12.114, >=5.10.0 <6.1.191 | 6.18.40, 7.1.5, 6.6.160, 6.12.114, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket