Commit f7af68d
committed
ALSA: usb-audio: Validate UAC3 cluster segment descriptors
jira VULN-152934
jira VULN-152933
cve CVE-2025-39757
commit-author Takashi Iwai <[email protected]>
commit ecfd411
UAC3 class segment descriptors need to be verified whether their sizes
match with the declared lengths and whether they fit with the
allocated buffer sizes, too. Otherwise malicious firmware may lead to
the unexpected OOB accesses.
Fixes: 11785ef ("ALSA: usb-audio: Initial Power Domain support")
Reported-and-tested-by: Youngjun Lee <[email protected]>
Cc: <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
(cherry picked from commit ecfd411)
Signed-off-by: Jonathan Maple <[email protected]>1 parent 8bc6736 commit f7af68d
1 file changed
+22
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
| 339 | + | |
| 340 | + | |
340 | 341 | | |
341 | | - | |
| 342 | + | |
342 | 343 | | |
343 | 344 | | |
344 | 345 | | |
345 | 346 | | |
| 347 | + | |
| 348 | + | |
346 | 349 | | |
| 350 | + | |
| 351 | + | |
347 | 352 | | |
348 | 353 | | |
349 | 354 | | |
350 | 355 | | |
351 | 356 | | |
352 | 357 | | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
353 | 361 | | |
354 | 362 | | |
355 | 363 | | |
| |||
451 | 459 | | |
452 | 460 | | |
453 | 461 | | |
| 462 | + | |
454 | 463 | | |
455 | 464 | | |
456 | 465 | | |
| |||
871 | 880 | | |
872 | 881 | | |
873 | 882 | | |
874 | | - | |
| 883 | + | |
875 | 884 | | |
876 | 885 | | |
877 | 886 | | |
| |||
998 | 1007 | | |
999 | 1008 | | |
1000 | 1009 | | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
1001 | 1020 | | |
1002 | 1021 | | |
1003 | 1022 | | |
| |||
0 commit comments