[google/syzkaller] 7b5907: sys/linux: add UAC2, UAC3, and MIDI USB audio clas...

0 views
Skip to first unread message

Berk Cem Göksel

unread,
Feb 27, 2026, 11:04:06 AM (15 hours ago) Feb 27
to syzk...@googlegroups.com
Branch: refs/heads/gh-readonly-queue/master/pr-6644-2cf092b8cfccda3ad7fc30eeaf025f97bd331bb8
Home: https://github.com/google/syzkaller
Commit: 7b5907abe5c0995c821a7999f04c108560897271
https://github.com/google/syzkaller/commit/7b5907abe5c0995c821a7999f04c108560897271
Author: Berk Cem Goksel <berkc...@gmail.com>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M AUTHORS
M CONTRIBUTORS
M sys/linux/init.go
M sys/linux/init_vusb.go
A sys/linux/test/vusb_midi
A sys/linux/test/vusb_uac2
A sys/linux/test/vusb_uac3
M sys/linux/vusb.txt
M sys/linux/vusb.txt.const

Log Message:
-----------
sys/linux: add UAC2, UAC3, and MIDI USB audio class descriptions

This patch extends the USB audio fuzzing support by adding syzlang
descriptions for:

- UAC2 (USB Audio Class 2.0) devices with clock management units,
interface association descriptors, and extended format types.
- UAC3 (USB Audio Class 3.0) devices including power domain
descriptors and cluster information segments.
- USB MIDI devices with jack descriptors and streaming endpoints.

A new generateAudioDeviceDescriptor function patches in both
auto-extracted USB IDs from the kernel driver matching rules and
hardcoded quirk IDs from the USB audio driver sources (sound/usb/).
This approach follows the pattern established for the HID and printer
classes, allowing exercising driver quirks that cannot be automatically
extracted.

The config descriptor template now includes an EXTRA field to support
Interface Association Descriptors required by UAC2/UAC3. This also
requires adjusting the interface field index in patchUsbDeviceID.


Commit: d687eb22c3b5fdc19a4d5680dfa06072cc5317d9
https://github.com/google/syzkaller/commit/d687eb22c3b5fdc19a4d5680dfa06072cc5317d9
Author: Berk Cem Göksel <25488666+...@users.noreply.github.com>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M sys/linux/init_vusb.go

Log Message:
-----------
sys/linux: format init_vusb.go


Commit: fa68502155e27a7fa4ebb428cdd25ec44c3703e5
https://github.com/google/syzkaller/commit/fa68502155e27a7fa4ebb428cdd25ec44c3703e5
Author: Berk Cem Goksel <berkc...@gmail.com>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M sys/linux/vusb.txt

Log Message:
-----------
sys/linux: change syz_usb_connect$midi to use patched ids

The vendorID and productID pairs in syz_usb_connect$midi descriptor
are now patched by init_vusb.go.

Remove syz_usb_control_io$midi since it didn't produce meaningful
coverage.


Commit: d29c7e4acc72e7b16dd0fb9410aac19e27ce02a4
https://github.com/google/syzkaller/commit/d29c7e4acc72e7b16dd0fb9410aac19e27ce02a4
Author: Berk Cem Goksel <berkc...@gmail.com>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M sys/linux/init_vusb.go

Log Message:
-----------
sys/linux: clean up vendor/product ID pairs

Remove duplicate vendor and product ID pairs from quirksIDs and add new
unique pairs in init_vusb.go.


Commit: a0cf4ad0bb38ac91e85fe7a60f3c77f7e083547f
https://github.com/google/syzkaller/commit/a0cf4ad0bb38ac91e85fe7a60f3c77f7e083547f
Author: Berk Cem Goksel <berkc...@gmail.com>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M sys/linux/test/vusb_midi
A sys/linux/test/vusb_uac1
M sys/linux/test/vusb_uac2
M sys/linux/test/vusb_uac3

Log Message:
-----------
sys/linux: replace trivial vusb_uac* and vusb_midi tests


Commit: 0da78f912658755fda575898adbb6ae2bc65e443
https://github.com/google/syzkaller/commit/0da78f912658755fda575898adbb6ae2bc65e443
Author: Berk Cem Goksel <berkc...@gmail.com>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M sys/linux/vusb.txt

Log Message:
-----------
sys/linux: revert unnecessary idVendor/idProduct type changes in usb_device_descriptor


Commit: 7ee77c522f1e5b1b400a0b15f71e898c194be224
https://github.com/google/syzkaller/commit/7ee77c522f1e5b1b400a0b15f71e898c194be224
Author: Berk Cem Goksel <berkc...@gmail.com>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M sys/linux/vusb.txt

Log Message:
-----------
sys/linux: remove leftover comment lines regarding uac_usb_format_types_i/ii


Commit: 42e2dda5bfe96fb6dd42fe1f64521d0f94eaf28b
https://github.com/google/syzkaller/commit/42e2dda5bfe96fb6dd42fe1f64521d0f94eaf28b
Author: Berk Cem Goksel <berkc...@gmail.com>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M sys/linux/init_vusb.go

Log Message:
-----------
sys/linux: check USB audio driver IDs before patching them in init_vusb.go


Commit: a1682ebe9350aaa34f3f7318a1aa3bba7e1fa63a
https://github.com/google/syzkaller/commit/a1682ebe9350aaa34f3f7318a1aa3bba7e1fa63a
Author: Berk Cem Goksel <berkc...@gmail.com>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M sys/linux/vusb.txt

Log Message:
-----------
sys/linux: remove TODO comments regarding issue #6814


Commit: a983c745a538061156e65064d57032daf7bb96bf
https://github.com/google/syzkaller/commit/a983c745a538061156e65064d57032daf7bb96bf
Author: Berk Cem Goksel <berkc...@gmail.com>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M sys/linux/vusb.txt.const

Log Message:
-----------
sys/linux: generate vusb.txt.const for all archs


Commit: aa202d12144eeceab15a981c5567a08d67dd7c9c
https://github.com/google/syzkaller/commit/aa202d12144eeceab15a981c5567a08d67dd7c9c
Author: Berk Cem Goksel <berkc...@gmail.com>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M sys/linux/init_vusb.go

Log Message:
-----------
sys/linux: simplify generateAudioDeviceDescriptor


Commit: ccb0ddb24cf5265db202d43a6b7edbcb451d3b5a
https://github.com/google/syzkaller/commit/ccb0ddb24cf5265db202d43a6b7edbcb451d3b5a
Author: Berk Cem Goksel <berkc...@gmail.com>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M sys/linux/test/vusb
M sys/linux/test/vusb_ath9k
M sys/linux/test/vusb_cdc_ecm
M sys/linux/test/vusb_cdc_ncm
M sys/linux/test/vusb_hid_hiddev
M sys/linux/test/vusb_lan78xx
M sys/linux/test/vusb_printer
M sys/linux/test/vusb_rtl8150
M sys/linux/test/vusb_sierra_net

Log Message:
-----------
sys/linux: add missing void arg in old broken seeds


Commit: 5b433adac116be625d2c670599a8096842ec7577
https://github.com/google/syzkaller/commit/5b433adac116be625d2c670599a8096842ec7577
Author: Berk Cem Goksel <berkc...@gmail.com>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M sys/linux/test/vusb_midi
M sys/linux/test/vusb_uac1
M sys/linux/test/vusb_uac2
M sys/linux/test/vusb_uac3

Log Message:
-----------
sys/linux: replace broken uac1/2/3 and midi seeds


Commit: 43249bac5ea7329293dfc606828db9cdec2cb392
https://github.com/google/syzkaller/commit/43249bac5ea7329293dfc606828db9cdec2cb392
Author: Berk Cem Goksel <berkc...@gmail.com>
Date: 2026-02-27 (Fri, 27 Feb 2026)

Changed paths:
M sys/linux/test/vusb_midi
M sys/linux/test/vusb_uac1
M sys/linux/test/vusb_uac2
M sys/linux/test/vusb_uac3

Log Message:
-----------
sys/linux: expand uac1/2/3 and midi seeds


Compare: https://github.com/google/syzkaller/compare/7b5907abe5c0%5E...43249bac5ea7

To unsubscribe from these emails, change your notification settings at https://github.com/google/syzkaller/settings/notifications

Berk Cem Göksel

unread,
Feb 27, 2026, 11:17:05 AM (15 hours ago) Feb 27
to syzk...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages