program:
mkdirat(0xffffffffffffff9c, &(0x7f0000000080)='./my_configfs\x00', 0x1ff)
r0 = socket$nl_route(0x10, 0x3, 0x0)
sendmsg$nl_route(r0, &(0x7f0000000200)={0x0, 0x0, &(0x7f00000001c0)={&(0x7f00000000c0)=@bridge_dellink={0x20, 0x13, 0x1}, 0x20}, 0x1, 0x0, 0x0, 0x20008010}, 0x0)
mmap(&(0x7f0000001000/0x2000)=nil, 0x2000, 0x2000009, 0x32, 0xffffffffffffffff, 0x0)
r1 = syz_open_dev$usbfs(&(0x7f0000000100), 0x205, 0x28401)
r2 = syz_open_dev$usbmon(&(0x7f0000000900), 0x7, 0x0)
r3 = fcntl$dupfd(r1, 0x406, r1)
ioctl$USBDEVFS_SUBMITURB(r3, 0x8038550a, &(0x7f0000000000)=@urb_type_control={0x2, {}, 0x0, 0x0, &(0x7f0000000080)={0x2, 0x3, 0x0, 0x0, 0x7995}, 0xfcb5, 0x0, 0x0, 0x48000000, 0x0, 0x0, 0x0})
readv(r2, &(0x7f0000000380)=[{&(0x7f0000000bc0)=""/4096, 0x1000}], 0x1)
ioctl$MON_IOCX_MFETCH(r2, 0xc0109207, &(0x7f00000003c0)={&(0x7f0000000340)=[0x0, 0x0, 0x0, 0x0, 0x0, 0x0], 0x6, 0x7})
mount(0x0, &(0x7f0000000100)='./my_configfs\x00', &(0x7f0000000140)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000180)='./my_configfs/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffffffffffff9c, &(0x7f00000001c0)='./my_configfs/usb_gadget/g1/configs/c.1\x00', 0x1ff)
mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./my_configfs/usb_gadget/g1/functions/midi2.usb0\x00', 0x1ff)
sendmsg$NFT_BATCH(0xffffffffffffffff, &(0x7f0000009b40)={0x0, 0x0, &(0x7f0000009b00)={&(0x7f00000001c0)=ANY=[@ANYBLOB="140000001000010000000000000000000500000a480000001e0a010100000000000000000a000006090002007379"], 0x70}, 0x1, 0x0, 0x0, 0x4451099e661a63b1}, 0x0)
r4 = socket(0x2, 0x1, 0x0)
sendmsg$NFT_BATCH(0xffffffffffffffff, &(0x7f00000000c0)={0x0, 0x0, &(0x7f0000000000)={&(0x7f0000000100)=ANY=[@ANYBLOB="140000001000010000000000000000000100000a20000000000a01040000000000000000010080030900010073797a30000000002c000000030a01010000000000000000010000000900010073797a30000000000900030073797a310000000094000000060a010400000000000000000100000008000b40000000006c000480340001800b000100657874686472000024000280080001400000000c08000340000000b108000440000000220500020007000000340001800c000100626974776973650024"], 0x108}}, 0x0)
r5 = socket(0x10, 0x3, 0x0)
ioctl$sock_SIOCGIFINDEX(r5, 0x8933, &(0x7f0000000380)={'bridge_slave_0\x00'})
sendmsg$nl_route(r5, &(0x7f0000000400)={0x0, 0x0, &(0x7f0000000040)={&(0x7f0000000640)=ANY=[], 0x270}, 0x1, 0x0, 0x0, 0x20008014}, 0x4)
write$binfmt_script(r3, &(0x7f0000000240)={'#! ', './my_configfs/usb_gadget/g1/functions/midi2.usb0/ep.0/block.0/direction', [{0x20, '^\a,'}, {0x20, '-'}], 0xa, "1f6783b3c06f77bde7d0757c96b065be1545176aefefc46e394f4ccb2373aa23b1da0ed15bfb329d48e4ae0eadc0208a58e8cfb6344c6501c2f14f414784c8699da77212ce260201e425895946cad9d6b39d46f442d56d05a86291e0d3b4c526f908d08ac859fde9026172f75067c57671e04273ce7a48421bb320102b30a4dd80f4471ae17dd82bbb9e15c548e94da90e"}, 0xe2)
sendmmsg(r4, &(0x7f0000000000), 0x400000000000235, 0x0)
r6 = openat(0xffffffffffffff9c, &(0x7f0000000580)='./my_configfs/usb_gadget/g1/functions/midi2.usb0/ep.0/block.0/direction\x00', 0x1, 0x0)
write(r6, &(0x7f0000000600)='2', 0x1)
symlinkat(&(0x7f0000000880)='./my_configfs/usb_gadget/g1/functions/midi2.usb0\x00', 0xffffffffffffff9c, &(0x7f00000008c0)='./my_configfs/usb_gadget/g1/configs/c.1/midi2.usb0\x00')
r7 = openat(0xffffffffffffff9c, &(0x7f0000000900)='./my_configfs/usb_gadget/g1/UDC\x00', 0x1, 0x0)
write(r7, &(0x7f0000000940)='dummy_udc.0', 0xb)
[ 94.961540][ T5272] Bluetooth: hci0: command tx timeout
[ 95.545210][ T1371] usb 5-1: new high-speed USB device number 2 using dummy_hcd
[ 95.696116][ T1371] usb 5-1: New USB device found, idVendor=0000, idProduct=0000, bcdDevice= 7.02
[ 95.701833][ T1371] usb 5-1: Dual-Role OTG device on HNP port
[ 95.705859][ T1371] usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 95.737412][ T1371] gspca_main: spca501-2.14.0 probing 0000:0000
[ 95.749141][ T1371] gspca_spca501: reg write: error -32
[ 95.751451][ T1371] spca501 5-1:1.0: Reg write failed for 0x02,0x0f,0x05
[ 95.754528][ T1371] spca501 5-1:1.0: probe with driver spca501 failed with error -22
[ 95.766962][ C0] Oops: general protection fault, probably for non-canonical address 0xdffffc00000000e6: 0000 [#1] SMP KASAN NOPTI
[ 95.771896][ C0] KASAN: null-ptr-deref in range [0x0000000000000730-0x0000000000000737]
[ 95.775342][ C0] CPU: 0 UID: 0 PID: 1371 Comm: kworker/0:3 Not tainted syzkaller #0 PREEMPT(full)
[ 95.779225][ C0] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 95.783490][ C0] Workqueue: usb_hub_wq hub_event
[ 95.785801][ C0] RIP: 0010:f_midi2_stop_eps+0x5f/0x4d0
[ 95.788239][ C0] Code: e8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 ef e8 77 4b 61 fa 41 bc 30 07 00 00 4c 03 65 00 4c 89 e0 48 c1 e8 03 48 89 44 24 10 <42> 0f b6 04 28 84 c0 0f 85 23 04 00 00 41 8b 1c 24 31 ff 89 de e8
[ 95.796468][ C0] RSP: 0018:ffffc90000007930 EFLAGS: 00010002
[ 95.799053][ C0] RAX: 00000000000000e6 RBX: 0000000000000001 RCX: ffff88801fb98000
[ 95.802392][ C0] RDX: 8000000000000100 RSI: 0000000000000100 RDI: ffff88805136c148
[ 95.805921][ C0] RBP: ffff88805136c0f0 R08: ffff88805136c14f R09: 1ffff1100a26d829
[ 95.809332][ C0] R10: dffffc0000000000 R11: ffffed100a26d82a R12: 0000000000000730
[ 95.812711][ C0] R13: dffffc0000000000 R14: ffff88805136c128 R15: 0000000000000001
[ 95.816087][ C0] FS: 0000000000000000(0000) GS:ffff88808c30a000(0000) knlGS:0000000000000000
[ 95.819810][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 95.822681][ C0] CR2: 00007fc7fd7240f5 CR3: 000000001afe0000 CR4: 0000000000352ef0
[ 95.826027][ C0] Call Trace:
[ 95.827445][ C0]
[ 95.828722][ C0] f_midi2_set_alt+0x11c/0xf00
[ 95.830802][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10
[ 95.833117][ C0] composite_setup+0x1ffd/0x3480
[ 95.835222][ C0] configfs_composite_setup+0xc7/0x100
[ 95.837625][ C0] dummy_timer+0x2f43/0x4cf0
[ 95.839548][ C0] ? update_se+0x90/0x1020
[ 95.841455][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10
[ 95.843654][ C0] ? __pfx_dummy_timer+0x10/0x10
[ 95.845689][ C0] ? _raw_spin_unlock_irqrestore+0x30/0x80
[ 95.847943][ C0] ? __pfx_dummy_timer+0x10/0x10
[ 95.850027][ C0] __hrtimer_run_queues+0x3bc/0xa10
[ 95.852336][ C0] hrtimer_run_softirq+0x1e3/0x2e0
[ 95.854468][ C0] handle_softirqs+0x226/0x860
[ 95.856432][ C0] ? __irq_exit_rcu+0xcb/0x220
[ 95.858391][ C0] __irq_exit_rcu+0xcb/0x220
[ 95.860301][ C0] irq_exit_rcu+0x9/0x30
[ 95.862109][ C0] sysvec_apic_timer_interrupt+0xa6/0xc0
[ 95.864533][ C0]
[ 95.865804][ C0]
[ 95.866992][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 95.869659][ C0] RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80
[ 95.872654][ C0] Code: f7 e8 ad b6 c2 f5 f7 c3 00 02 00 00 74 05 e8 b0 e7 ee f5 9c 58 a9 00 02 00 00 75 29 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 b4 d6 b3 f5 65 48 8b 05 2c ce b0 07 48 85 c0 74 18 5b 41 5e c3
[ 95.879747][ C0] RSP: 0018:ffffc9000256e7d0 EFLAGS: 00000206
[ 95.881959][ C0] RAX: 0000000000000006 RBX: 0000000000000246 RCX: 8000000000000001
[ 95.884781][ C0] RDX: 0000000000000006 RSI: ffffffff8e460b06 RDI: 0000000000000001
[ 95.887682][ C0] RBP: 0000000000000007 R08: ffffffff9078fa37 R09: 1ffffffff20f1f46
[ 95.891024][ C0] R10: dffffc0000000000 R11: fffffbfff20f1f47 R12: 0000000000000000
[ 95.895141][ C0] R13: dffffc0000000000 R14: ffff888034618000 R15: 1ffff11003f09c94
[ 95.898695][ C0] dummy_urb_enqueue+0x587/0x780
[ 95.900951][ C0] usb_hcd_submit_urb+0x328/0x1b60
[ 95.903186][ C0] usb_start_wait_urb+0x13f/0x5b0
[ 95.905371][ C0] ? trace_kmalloc+0x2a/0xf0
[ 95.907422][ C0] ? __pfx_usb_start_wait_urb+0x10/0x10
[ 95.909822][ C0] usb_control_msg+0x234/0x3e0
[ 95.911970][ C0] usb_set_interface+0x521/0x1470
[ 95.914150][ C0] snd_usb_midi_v2_create+0x621/0x4ac0
[ 95.916443][ C0] ? __pfx_proc_audio_usbid_read+0x10/0x10
[ 95.918932][ C0] ? snd_card_rw_proc_new+0x10d/0x140
[ 95.921218][ C0] ? __pfx_snd_usb_midi_v2_create+0x10/0x10
[ 95.923812][ C0] ? usb_ifnum_to_if+0x262/0x2f0
[ 95.925945][ C0] snd_usb_create_stream+0x262/0x630
[ 95.928141][ C0] usb_audio_probe+0x144c/0x2240
[ 95.930243][ C0] ? __pfx_usb_audio_probe+0x10/0x10
[ 95.932499][ C0] ? _raw_spin_unlock_irqrestore+0x30/0x80
[ 95.935006][ C0] usb_probe_interface+0x653/0xc60
[ 95.937192][ C0] ? __pfx_usb_probe_interface+0x10/0x10
[ 95.939486][ C0] really_probe+0x254/0xae0
[ 95.941603][ C0] __driver_probe_device+0x1e8/0x360
[ 95.943891][ C0] driver_probe_device+0x4f/0x240
[ 95.946091][ C0] __device_attach_driver+0x270/0x410
[ 95.948304][ C0] bus_for_each_drv+0x258/0x2f0
[ 95.950333][ C0] ? __pfx___device_attach_driver+0x10/0x10
[ 95.952811][ C0] ? __pfx_bus_for_each_drv+0x10/0x10
[ 95.955024][ C0] ? _raw_spin_unlock_irqrestore+0x4c/0x80
[ 95.957576][ C0] __device_attach+0x2c4/0x450
[ 95.959674][ C0] ? __pfx___device_attach+0x10/0x10
[ 95.962073][ C0] ? do_raw_spin_unlock+0x4d/0x200
[ 95.964362][ C0] ? _raw_spin_unlock+0x28/0x50
[ 95.966386][ C0] device_initial_probe+0xa1/0xd0
[ 95.968535][ C0] bus_probe_device+0x12a/0x220
[ 95.970585][ C0] device_add+0x7d7/0xb80
[ 95.972495][ C0] usb_set_configuration+0x1ad8/0x2180
[ 95.974826][ C0] usb_generic_driver_probe+0x8d/0x150
[ 95.977133][ C0] usb_probe_device+0x1c3/0x3b0
[ 95.979122][ C0] ? __pfx_usb_probe_device+0x10/0x10
[ 95.981331][ C0] really_probe+0x254/0xae0
[ 95.983235][ C0] __driver_probe_device+0x1e8/0x360
[ 95.985435][ C0] driver_probe_device+0x4f/0x240
[ 95.987499][ C0] __device_attach_driver+0x270/0x410
[ 95.989835][ C0] bus_for_each_drv+0x258/0x2f0
[ 95.991841][ C0] ? __pfx___device_attach_driver+0x10/0x10
[ 95.994341][ C0] ? __pfx_bus_for_each_drv+0x10/0x10
[ 95.996702][ C0] ? _raw_spin_unlock_irqrestore+0x4c/0x80
[ 95.999111][ C0] __device_attach+0x2c4/0x450
[ 96.001094][ C0] ? __pfx___device_attach+0x10/0x10
[ 96.003374][ C0] ? do_raw_spin_unlock+0x4d/0x200
[ 96.005581][ C0] ? _raw_spin_unlock+0x28/0x50
[ 96.007538][ C0] device_initial_probe+0xa1/0xd0
[ 96.009669][ C0] bus_probe_device+0x12a/0x220
[ 96.011582][ C0] device_add+0x7d7/0xb80
[ 96.013347][ C0] usb_new_device+0x9aa/0x1690
[ 96.015271][ C0] ? __pfx_usb_new_device+0x10/0x10
[ 96.017526][ C0] ? _raw_spin_unlock_irq+0x23/0x50
[ 96.020103][ C0] hub_event+0x28e8/0x4d30
[ 96.022108][ C0] ? do_raw_spin_unlock+0x4d/0x200
[ 96.024168][ C0] ? __pfx_hub_event+0x10/0x10
[ 96.026370][ C0] ? process_scheduled_works+0x97a/0x1630
[ 96.028851][ C0] ? rcu_is_watching+0x16/0xb0
[ 96.030896][ C0] ? process_scheduled_works+0x97a/0x1630
[ 96.033352][ C0] process_scheduled_works+0xc3d/0x1630
[ 96.035702][ C0] ? __pfx_process_scheduled_works+0x10/0x10
[ 96.038310][ C0] ? assign_work+0x3cf/0x5d0
[ 96.040891][ C0] worker_thread+0xa47/0xfb0
[ 96.042984][ C0] ? __kthread_parkme+0x71/0x1f0
[ 96.045031][ C0] kthread+0x38b/0x480
[ 96.046718][ C0] ? __pfx_worker_thread+0x10/0x10
[ 96.048908][ C0] ? __pfx_kthread+0x10/0x10
[ 96.050887][ C0] ret_from_fork+0x514/0xb70
[ 96.052881][ C0] ? __pfx_ret_from_fork+0x10/0x10
[ 96.055074][ C0] ? __switch_to+0xc89/0x1420
[ 96.057176][ C0] ? __pfx_kthread+0x10/0x10
[ 96.059213][ C0] ret_from_fork_asm+0x1a/0x30
[ 96.061287][ C0]
[ 96.062571][ C0] Modules linked in:
[ 96.064255][ C0] ---[ end trace 0000000000000000 ]---
[ 96.066508][ C0] RIP: 0010:f_midi2_stop_eps+0x5f/0x4d0
[ 96.068917][ C0] Code: e8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 ef e8 77 4b 61 fa 41 bc 30 07 00 00 4c 03 65 00 4c 89 e0 48 c1 e8 03 48 89 44 24 10 <42> 0f b6 04 28 84 c0 0f 85 23 04 00 00 41 8b 1c 24 31 ff 89 de e8
[ 96.077356][ C0] RSP: 0018:ffffc90000007930 EFLAGS: 00010002
[ 96.080306][ C0] RAX: 00000000000000e6 RBX: 0000000000000001 RCX: ffff88801fb98000
[ 96.083765][ C0] RDX: 8000000000000100 RSI: 0000000000000100 RDI: ffff88805136c148
[ 96.087179][ C0] RBP: ffff88805136c0f0 R08: ffff88805136c14f R09: 1ffff1100a26d829
[ 96.090494][ C0] R10: dffffc0000000000 R11: ffffed100a26d82a R12: 0000000000000730
[ 96.093829][ C0] R13: dffffc0000000000 R14: ffff88805136c128 R15: 0000000000000001
[ 96.096954][ C0] FS: 0000000000000000(0000) GS:ffff88808c30a000(0000) knlGS:0000000000000000
[ 96.100827][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 96.103578][ C0] CR2: 00007fc7fd7240f5 CR3: 000000001afe0000 CR4: 0000000000352ef0
[ 96.106748][ C0] Kernel panic - not syncing: Fatal exception in interrupt
[ 96.110129][ C0] Kernel Offset: disabled
[ 96.111915][ C0] Rebooting in 86400 seconds..