Extracting prog: 45.316694731s
Minimizing prog: 25m20.740573848s
Simplifying prog options: 0s
Extracting C: 24.081495838s
Simplifying C: 4m41.693112893s
extracting reproducer from 30 programs
first checking the prog from the crash report
single: executing 1 programs separately with timeout 30s
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-openat-write-close-mkdirat-mkdirat-openat-write-close-openat-write-close-symlinkat-openat-write-close
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
r1 = openat(0xffffff9c, &(0x7f0000000300)='./my_config/usb_gadget/g1/idProduct\x00', 0x1, 0x0)
write(r1, &(0x7f0000000340)='0x0104\x00', 0x6)
close(r1)
mkdirat(0xffffff9c, &(0x7f0000000380)='./my_config/usb_gadget/g1/configs/c.1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r2 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r2, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
close(r2)
r3 = openat(0xffffff9c, &(0x7f00000004c0)='./my_config/usb_gadget/g1/functions/uac2.usb0/p_srate\x00', 0x1, 0x0)
write(r3, &(0x7f0000000580)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
close(r3)
symlinkat(&(0x7f0000000600)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0xffffff9c, &(0x7f0000000640)='./my_config/usb_gadget/g1/configs/c.1/uac2.usb0\x00')
r4 = openat(0xffffff9c, &(0x7f0000000680)='./my_config/usb_gadget/g1/UDC\x00', 0x1, 0x0)
write(r4, &(0x7f00000006c0)='dummy_udc.1\x00', 0xb)
close(r4)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
single: successfully extracted reproducer
found reproducer with 22 syscalls
minimizing guilty program
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-openat-write-close-mkdirat-mkdirat-openat-write-close-openat-write-close-symlinkat-openat-write
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
r1 = openat(0xffffff9c, &(0x7f0000000300)='./my_config/usb_gadget/g1/idProduct\x00', 0x1, 0x0)
write(r1, &(0x7f0000000340)='0x0104\x00', 0x6)
close(r1)
mkdirat(0xffffff9c, &(0x7f0000000380)='./my_config/usb_gadget/g1/configs/c.1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r2 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r2, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
close(r2)
r3 = openat(0xffffff9c, &(0x7f00000004c0)='./my_config/usb_gadget/g1/functions/uac2.usb0/p_srate\x00', 0x1, 0x0)
write(r3, &(0x7f0000000580)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
close(r3)
symlinkat(&(0x7f0000000600)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0xffffff9c, &(0x7f0000000640)='./my_config/usb_gadget/g1/configs/c.1/uac2.usb0\x00')
r4 = openat(0xffffff9c, &(0x7f0000000680)='./my_config/usb_gadget/g1/UDC\x00', 0x1, 0x0)
write(r4, &(0x7f00000006c0)='dummy_udc.1\x00', 0xb)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-openat-write-close-mkdirat-mkdirat-openat-write-close-openat-write-close-symlinkat-openat
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
r1 = openat(0xffffff9c, &(0x7f0000000300)='./my_config/usb_gadget/g1/idProduct\x00', 0x1, 0x0)
write(r1, &(0x7f0000000340)='0x0104\x00', 0x6)
close(r1)
mkdirat(0xffffff9c, &(0x7f0000000380)='./my_config/usb_gadget/g1/configs/c.1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r2 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r2, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
close(r2)
r3 = openat(0xffffff9c, &(0x7f00000004c0)='./my_config/usb_gadget/g1/functions/uac2.usb0/p_srate\x00', 0x1, 0x0)
write(r3, &(0x7f0000000580)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
close(r3)
symlinkat(&(0x7f0000000600)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0xffffff9c, &(0x7f0000000640)='./my_config/usb_gadget/g1/configs/c.1/uac2.usb0\x00')
openat(0xffffff9c, &(0x7f0000000680)='./my_config/usb_gadget/g1/UDC\x00', 0x1, 0x0)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-openat-write-close-mkdirat-mkdirat-openat-write-close-openat-write-close-symlinkat
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
r1 = openat(0xffffff9c, &(0x7f0000000300)='./my_config/usb_gadget/g1/idProduct\x00', 0x1, 0x0)
write(r1, &(0x7f0000000340)='0x0104\x00', 0x6)
close(r1)
mkdirat(0xffffff9c, &(0x7f0000000380)='./my_config/usb_gadget/g1/configs/c.1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r2 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r2, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
close(r2)
r3 = openat(0xffffff9c, &(0x7f00000004c0)='./my_config/usb_gadget/g1/functions/uac2.usb0/p_srate\x00', 0x1, 0x0)
write(r3, &(0x7f0000000580)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
close(r3)
symlinkat(&(0x7f0000000600)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0xffffff9c, &(0x7f0000000640)='./my_config/usb_gadget/g1/configs/c.1/uac2.usb0\x00')
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-openat-write-close-mkdirat-mkdirat-openat-write-close-openat-write-close
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
r1 = openat(0xffffff9c, &(0x7f0000000300)='./my_config/usb_gadget/g1/idProduct\x00', 0x1, 0x0)
write(r1, &(0x7f0000000340)='0x0104\x00', 0x6)
close(r1)
mkdirat(0xffffff9c, &(0x7f0000000380)='./my_config/usb_gadget/g1/configs/c.1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r2 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r2, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
close(r2)
r3 = openat(0xffffff9c, &(0x7f00000004c0)='./my_config/usb_gadget/g1/functions/uac2.usb0/p_srate\x00', 0x1, 0x0)
write(r3, &(0x7f0000000580)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
close(r3)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-openat-write-close-mkdirat-mkdirat-openat-write-close-openat-write
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
r1 = openat(0xffffff9c, &(0x7f0000000300)='./my_config/usb_gadget/g1/idProduct\x00', 0x1, 0x0)
write(r1, &(0x7f0000000340)='0x0104\x00', 0x6)
close(r1)
mkdirat(0xffffff9c, &(0x7f0000000380)='./my_config/usb_gadget/g1/configs/c.1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r2 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r2, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
close(r2)
r3 = openat(0xffffff9c, &(0x7f00000004c0)='./my_config/usb_gadget/g1/functions/uac2.usb0/p_srate\x00', 0x1, 0x0)
write(r3, &(0x7f0000000580)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-openat-write-close-mkdirat-mkdirat-openat-write-close-openat
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
r1 = openat(0xffffff9c, &(0x7f0000000300)='./my_config/usb_gadget/g1/idProduct\x00', 0x1, 0x0)
write(r1, &(0x7f0000000340)='0x0104\x00', 0x6)
close(r1)
mkdirat(0xffffff9c, &(0x7f0000000380)='./my_config/usb_gadget/g1/configs/c.1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r2 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r2, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
close(r2)
openat(0xffffff9c, &(0x7f00000004c0)='./my_config/usb_gadget/g1/functions/uac2.usb0/p_srate\x00', 0x1, 0x0)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-openat-write-close-mkdirat-mkdirat-openat-write-close
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
r1 = openat(0xffffff9c, &(0x7f0000000300)='./my_config/usb_gadget/g1/idProduct\x00', 0x1, 0x0)
write(r1, &(0x7f0000000340)='0x0104\x00', 0x6)
close(r1)
mkdirat(0xffffff9c, &(0x7f0000000380)='./my_config/usb_gadget/g1/configs/c.1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r2 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r2, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
close(r2)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-openat-write-close-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
r1 = openat(0xffffff9c, &(0x7f0000000300)='./my_config/usb_gadget/g1/idProduct\x00', 0x1, 0x0)
write(r1, &(0x7f0000000340)='0x0104\x00', 0x6)
close(r1)
mkdirat(0xffffff9c, &(0x7f0000000380)='./my_config/usb_gadget/g1/configs/c.1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r2 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r2, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-openat-write-close-mkdirat-mkdirat-openat
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
r1 = openat(0xffffff9c, &(0x7f0000000300)='./my_config/usb_gadget/g1/idProduct\x00', 0x1, 0x0)
write(r1, &(0x7f0000000340)='0x0104\x00', 0x6)
close(r1)
mkdirat(0xffffff9c, &(0x7f0000000380)='./my_config/usb_gadget/g1/configs/c.1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
program did not crash
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-openat-write-close-mkdirat-mkdirat-write
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
r1 = openat(0xffffff9c, &(0x7f0000000300)='./my_config/usb_gadget/g1/idProduct\x00', 0x1, 0x0)
write(r1, &(0x7f0000000340)='0x0104\x00', 0x6)
close(r1)
mkdirat(0xffffff9c, &(0x7f0000000380)='./my_config/usb_gadget/g1/configs/c.1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
write(0xffffffffffffffff, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program did not crash
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-openat-write-close-mkdirat-openat-write
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
r1 = openat(0xffffff9c, &(0x7f0000000300)='./my_config/usb_gadget/g1/idProduct\x00', 0x1, 0x0)
write(r1, &(0x7f0000000340)='0x0104\x00', 0x6)
close(r1)
mkdirat(0xffffff9c, &(0x7f0000000380)='./my_config/usb_gadget/g1/configs/c.1\x00', 0x1ff)
r2 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r2, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program did not crash
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-openat-write-close-mkdirat-openat-write
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
r1 = openat(0xffffff9c, &(0x7f0000000300)='./my_config/usb_gadget/g1/idProduct\x00', 0x1, 0x0)
write(r1, &(0x7f0000000340)='0x0104\x00', 0x6)
close(r1)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r2 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r2, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-openat-write-mkdirat-openat-write
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
r1 = openat(0xffffff9c, &(0x7f0000000300)='./my_config/usb_gadget/g1/idProduct\x00', 0x1, 0x0)
write(r1, &(0x7f0000000340)='0x0104\x00', 0x6)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r2 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r2, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-openat-mkdirat-openat-write
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
openat(0xffffff9c, &(0x7f0000000300)='./my_config/usb_gadget/g1/idProduct\x00', 0x1, 0x0)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r1 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r1, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-close-mkdirat-openat-write
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
close(r0)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r1 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r1, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write-mkdirat-openat-write
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='0x1d6b\x00', 0x6)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r1 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r1, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-mkdirat-openat-write
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
openat(0xffffff9c, &(0x7f0000000280)='./my_config/usb_gadget/g1/idVendor\x00', 0x1, 0x0)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mount-mkdirat-openat-write
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program did not crash
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mkdirat-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program did not crash
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$uac2-mount-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
syz_usb_connect$uac2(0x5, 0x9f, &(0x7f00000000c0)={{0x12, 0x1, 0x300, 0x0, 0x0, 0x0, 0x20, 0x499, 0x1054, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x8d, 0x3, 0x1, 0x4, 0x100, 0x7f, {0x8, 0xb, 0x1, 0x1, 0x1, 0xa, 0x20, 0x2}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x20, 0x0, {{0x9, 0x24, 0x1, 0x7, 0x6, 0x15, 0xb2}, [@output_terminal={0xc, 0x24, 0x3, 0x5, 0x400, 0xa, 0x25, 0x0, 0x7f, 0x80}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {[@format_type_i_continuous={0x8, 0x24, 0x2, 0x1, 0xe6, 0x3, 0x4, 0x6}, @as_header={0x10, 0x24, 0x1, 0x5, 0x5, 0x0, 0x4, 0x5, 0x5, 0x44}]}, {{0x9, 0x5, 0x1, 0x9, 0x200, 0x6, 0x99, 0x80, {0x8, 0x25, 0x1, 0x1, 0x18, 0x1e}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x20, 0x0, {}, {{0x9, 0x5, 0x82, 0x9, 0x200, 0xe, 0x4, 0x52, {0x8, 0x25, 0x1, 0x4, 0xf, 0x43, 0x3ce}}}}}}}}]}}, &(0x7f0000000540)={0x0, 0x0, 0x0, 0x0})
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program did not crash
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffff9c, 0x0, 0x1ff)
mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program did not crash
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(0x0, &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(0x0, 0x0, &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program did not crash
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(0x0, &(0x7f00000001c0)='./my_config\x00', 0x0, 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program did not crash
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(0x0, &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, 0x0, 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program did not crash
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(0x0, &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffff9c, 0x0, 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program did not crash
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(0x0, &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, 0x0, 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program did not crash
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(0x0, &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, 0x0, 0x0)
program did not crash
testing program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(0x0, &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440), 0x0)
program did not crash
extracting C reproducer
testing compiled C program (duration=34.575140431s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
simplifying C reproducer
testing compiled C program (duration=34.575140431s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing compiled C program (duration=34.575140431s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing compiled C program (duration=34.575140431s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing compiled C program (duration=34.575140431s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing compiled C program (duration=34.575140431s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing compiled C program (duration=34.575140431s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
testing program (duration=34.575140431s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(0x0, &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
validation run: crashed=true
testing program (duration=34.575140431s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(0x0, &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
validation run: crashed=true
testing program (duration=34.575140431s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffff9c, &(0x7f0000000080)='./my_config\x00', 0x1ff)
mount(0x0, &(0x7f00000001c0)='./my_config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffff9c, &(0x7f0000000240)='./my_config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffff9c, &(0x7f00000003c0)='./my_config/usb_gadget/g1/functions/uac2.usb0\x00', 0x1ff)
r0 = openat(0xffffff9c, &(0x7f0000000400)='./my_config/usb_gadget/g1/functions/uac2.usb0/c_srate\x00', 0x1, 0x0)
write(r0, &(0x7f0000000440)='44100,48000,88200,96000,176400,192000,352800,384000,705600,768000,1411200,1536000\x00', 0x53)
program crashed: UBSAN: array-index-out-of-bounds in f_uac2_opts_c_srate_store
validation run: crashed=true
reproducing took 33m53.600296939s
repro crashed as (corrupted=false):
================================================================================
UBSAN: array-index-out-of-bounds in drivers/usb/gadget/function/f_uac2.c:2082:1
index 10 is out of range for type 'int[10]'
CPU: 1 PID: 374 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
__dump_stack+0x21/0x24 lib/dump_stack.c:88
dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106
dump_stack+0x15/0x24 lib/dump_stack.c:113
ubsan_epilogue+0xe/0x40 lib/ubsan.c:151
__ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282
f_uac2_opts_c_srate_store+0x1d7/0x2a0 drivers/usb/gadget/function/f_uac2.c:2082
flush_write_buffer fs/configfs/file.c:207 [inline]
configfs_write_iter+0x323/0x410 fs/configfs/file.c:229
call_write_iter include/linux/fs.h:2282 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x5ef/0xd00 fs/read_write.c:584
ksys_write+0x14a/0x260 fs/read_write.c:637
__do_sys_write fs/read_write.c:649 [inline]
__se_sys_write fs/read_write.c:646 [inline]
__x64_sys_write+0x7b/0x90 fs/read_write.c:646
x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe49679e0d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff09481af8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fe496a25fa0 RCX: 00007fe49679e0d9
RDX: 0000000000000053 RSI: 0000200000000440 RDI: 0000000000000003
RBP: 00007fe496835024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe496a25fac R14: 00007fe496a25fa0 R15: 00007fe496a25fa0
================================================================================
final repro crashed as (corrupted=false):
================================================================================
UBSAN: array-index-out-of-bounds in drivers/usb/gadget/function/f_uac2.c:2082:1
index 10 is out of range for type 'int[10]'
CPU: 1 PID: 374 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
__dump_stack+0x21/0x24 lib/dump_stack.c:88
dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106
dump_stack+0x15/0x24 lib/dump_stack.c:113
ubsan_epilogue+0xe/0x40 lib/ubsan.c:151
__ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282
f_uac2_opts_c_srate_store+0x1d7/0x2a0 drivers/usb/gadget/function/f_uac2.c:2082
flush_write_buffer fs/configfs/file.c:207 [inline]
configfs_write_iter+0x323/0x410 fs/configfs/file.c:229
call_write_iter include/linux/fs.h:2282 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x5ef/0xd00 fs/read_write.c:584
ksys_write+0x14a/0x260 fs/read_write.c:637
__do_sys_write fs/read_write.c:649 [inline]
__se_sys_write fs/read_write.c:646 [inline]
__x64_sys_write+0x7b/0x90 fs/read_write.c:646
x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe49679e0d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff09481af8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fe496a25fa0 RCX: 00007fe49679e0d9
RDX: 0000000000000053 RSI: 0000200000000440 RDI: 0000000000000003
RBP: 00007fe496835024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe496a25fac R14: 00007fe496a25fa0 R15: 00007fe496a25fa0
================================================================================