program:
mkdirat(0xffffffffffffff9c, &(0x7f0000000080)='./my_configfs\x00', 0x1ff)
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)
r0 = openat(0xffffffffffffff9c, &(0x7f0000000240)='./my_configfs/usb_gadget/g1/functions/midi2.usb0/ep.0/block.0/direction\x00', 0x1, 0x0)
write(r0, &(0x7f00000002c0)='1', 0x1)
r1 = openat(0xffffffffffffff9c, &(0x7f0000000300)='./my_configfs/usb_gadget/g1/functions/midi2.usb0/ep.0/block.0/num_groups\x00', 0x1, 0x0)
write(r1, &(0x7f0000000380)='2', 0x1)
r2 = openat(0xffffffffffffff9c, &(0x7f00000003c0)='./my_configfs/usb_gadget/g1/functions/midi2.usb0/ep.0/block.0/midi1_num_groups\x00', 0x1, 0x0)
write(r2, &(0x7f0000000440)='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')
r3 = openat(0xffffffffffffff9c, &(0x7f0000000900)='./my_configfs/usb_gadget/g1/UDC\x00', 0x1, 0x0)
write(r3, &(0x7f0000000940)='dummy_udc.0', 0xb)
syz_usb_connect_ath9k(0x3, 0x0, 0x0, 0x0)
r4 = socket$kcm(0x10, 0x2, 0x0)
sendmsg$kcm(r4, &(0x7f00000002c0)={0x0, 0x0, &(0x7f0000000080)=[{&(0x7f0000000300)="2e00000011008108090f9becdb4cb92e0a4831371c00000069bd6efb2502eaf60d000100020400bf050005001201", 0x2e}], 0x1}, 0x0)
[ 93.829447][ T1022] ata1.00: irq_stat 0x41000008
[ 93.835017][ T1022] ata1.00: failed command: WRITE FPDMA QUEUED
[ 93.848300][ T1022] ata1.00: cmd 61/78:f0:7e:1b:08/09:00:00:00:00/40 tag 30 ncq dma 1241088 ou
[ 93.848300][ T1022] res 50/04:00:00:00:00/00:00:00:00:00/00 Emask 0x1 (device error)
[ 93.855449][ T1022] ata1.00: status: { DRDY }
[ 93.857435][ T1022] ata1.00: error: { ABRT }
[ 93.868956][ T1022] ata1.00: configured for UDMA/100
[ 93.871448][ T1022] ata1: EH complete
[ 93.904014][ T4638] Bluetooth: hci0: command tx timeout
[ 94.050933][ T5312] bridge0: port 1(bridge_slave_0) entered disabled state
[ 94.210372][ T5312] bridge_slave_0 (unregistering): left allmulticast mode
[ 94.230757][ T5312] bridge_slave_0 (unregistering): left promiscuous mode
[ 94.245550][ T5312] bridge0: port 1(bridge_slave_0) entered disabled state
[ 94.577927][ T9] usb 5-1: new high-speed USB device number 2 using dummy_hcd
[ 94.728323][ T9] usb 5-1: New USB device found, idVendor=0000, idProduct=0000, bcdDevice= 7.02
[ 94.734061][ T9] usb 5-1: Dual-Role OTG device on HNP port
[ 94.737006][ T9] usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 94.764757][ T9] gspca_main: spca501-2.14.0 probing 0000:0000
[ 94.777686][ T9] gspca_spca501: reg write: error -32
[ 94.781315][ T9] spca501 5-1:1.0: Reg write failed for 0x02,0x0f,0x05
[ 94.784450][ T9] spca501 5-1:1.0: probe with driver spca501 failed with error -22
[ 94.796905][ C0] Oops: general protection fault, probably for non-canonical address 0xdffffc00000000e6: 0000 [#1] SMP KASAN NOPTI
[ 94.802014][ C0] KASAN: null-ptr-deref in range [0x0000000000000730-0x0000000000000737]
[ 94.805554][ C0] CPU: 0 UID: 0 PID: 9 Comm: kworker/0:0 Not tainted syzkaller #0 PREEMPT(full)
[ 94.809252][ C0] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 94.813307][ C0] Workqueue: usb_hub_wq hub_event
[ 94.815543][ C0] RIP: 0010:f_midi2_stop_eps+0x28e/0x4d0
[ 94.817895][ C0] Code: 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 47 49 61 fa 41 bf 30 07 00 00 4d 03 3e 4c 89 f8 48 c1 e8 03 48 89 44 24 18 <42> 0f b6 04 28 84 c0 0f 85 12 02 00 00 41 8b 1f 31 ff 89 de e8 b9
[ 94.826044][ C0] RSP: 0018:ffffc90000007930 EFLAGS: 00010002
[ 94.828547][ C0] RAX: 00000000000000e6 RBX: ffff888012acc120 RCX: ffff88801b734b00
[ 94.831965][ C0] RDX: 0000000000000100 RSI: 0000000000000100 RDI: ffffffff8c6d1520
[ 94.835364][ C0] RBP: ffff888012acc100 R08: 000000001e6d8e3a R09: 00000000c0995c85
[ 94.838553][ C0] R10: 0000000000000010 R11: ffffffff8ed5a360 R12: ffff888012acc730
[ 94.841685][ C0] R13: dffffc0000000000 R14: ffff888012acc128 R15: 0000000000000730
[ 94.844777][ C0] FS: 0000000000000000(0000) GS:ffff88808c30a000(0000) knlGS:0000000000000000
[ 94.848245][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 94.850854][ C0] CR2: 00007f6f396140f5 CR3: 0000000042f6d000 CR4: 0000000000352ef0
[ 94.854181][ C0] Call Trace:
[ 94.855656][ C0]
[ 94.857066][ C0] f_midi2_set_alt+0x11c/0xf00
[ 94.859150][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10
[ 94.861428][ C0] composite_setup+0x1ffd/0x3480
[ 94.863592][ C0] configfs_composite_setup+0xc7/0x100
[ 94.865894][ C0] dummy_timer+0x2f43/0x4cf0
[ 94.867799][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10
[ 94.870105][ C0] ? __pfx_dummy_timer+0x10/0x10
[ 94.872193][ C0] ? _raw_spin_unlock_irqrestore+0x30/0x80
[ 94.874610][ C0] ? __pfx_dummy_timer+0x10/0x10
[ 94.876687][ C0] __hrtimer_run_queues+0x3bc/0xa10
[ 94.878869][ C0] hrtimer_run_softirq+0x1e3/0x2e0
[ 94.881023][ C0] handle_softirqs+0x226/0x860
[ 94.883130][ C0] ? __irq_exit_rcu+0xcb/0x220
[ 94.885027][ C0] __irq_exit_rcu+0xcb/0x220
[ 94.886988][ C0] irq_exit_rcu+0x9/0x30
[ 94.888811][ C0] sysvec_apic_timer_interrupt+0xa6/0xc0
[ 94.891182][ C0]
[ 94.892457][ C0]
[ 94.894236][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 94.896934][ C0] RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80
[ 94.899713][ 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
[ 94.908115][ C0] RSP: 0018:ffffc9000022e7d0 EFLAGS: 00000206
[ 94.910595][ C0] RAX: 0000000000000006 RBX: 0000000000000246 RCX: 8000000000000001
[ 94.913947][ C0] RDX: 0000000000000006 RSI: ffffffff8e460b06 RDI: 0000000000000001
[ 94.917558][ C0] RBP: 0000000000000007 R08: ffffffff9078fa37 R09: 1ffffffff20f1f46
[ 94.921111][ C0] R10: dffffc0000000000 R11: fffffbfff20f1f47 R12: 0000000000000000
[ 94.924242][ C0] R13: dffffc0000000000 R14: ffff8880372a0000 R15: 1ffff11003efb694
[ 94.927789][ C0] dummy_urb_enqueue+0x587/0x780
[ 94.930025][ C0] usb_hcd_submit_urb+0x328/0x1b60
[ 94.932451][ C0] usb_start_wait_urb+0x13f/0x5b0
[ 94.934743][ C0] ? trace_kmalloc+0x2a/0xf0
[ 94.936822][ C0] ? __pfx_usb_start_wait_urb+0x10/0x10
[ 94.939197][ C0] usb_control_msg+0x234/0x3e0
[ 94.941301][ C0] usb_set_interface+0x521/0x1470
[ 94.943562][ C0] snd_usb_midi_v2_create+0x621/0x4ac0
[ 94.946126][ C0] ? __pfx_proc_audio_usbid_read+0x10/0x10
[ 94.948600][ C0] ? snd_card_rw_proc_new+0x10d/0x140
[ 94.950995][ C0] ? __pfx_snd_usb_midi_v2_create+0x10/0x10
[ 94.953550][ C0] ? usb_ifnum_to_if+0x262/0x2f0
[ 94.955775][ C0] snd_usb_create_stream+0x262/0x630
[ 94.958190][ C0] usb_audio_probe+0x144c/0x2240
[ 94.960327][ C0] ? __pfx_usb_audio_probe+0x10/0x10
[ 94.962639][ C0] ? _raw_spin_unlock_irqrestore+0x30/0x80
[ 94.965117][ C0] usb_probe_interface+0x653/0xc60
[ 94.967425][ C0] ? __pfx_usb_probe_interface+0x10/0x10
[ 94.969856][ C0] really_probe+0x254/0xae0
[ 94.971926][ C0] __driver_probe_device+0x1e8/0x360
[ 94.974272][ C0] driver_probe_device+0x4f/0x240
[ 94.976536][ C0] __device_attach_driver+0x270/0x410
[ 94.978875][ C0] bus_for_each_drv+0x258/0x2f0
[ 94.980996][ C0] ? __pfx___device_attach_driver+0x10/0x10
[ 94.983440][ C0] ? __pfx_bus_for_each_drv+0x10/0x10
[ 94.985700][ C0] ? _raw_spin_unlock_irqrestore+0x4c/0x80
[ 94.988305][ C0] __device_attach+0x2c4/0x450
[ 94.990440][ C0] ? __pfx___device_attach+0x10/0x10
[ 94.992668][ C0] ? do_raw_spin_unlock+0x4d/0x200
[ 94.994857][ C0] ? _raw_spin_unlock+0x28/0x50
[ 94.997071][ C0] device_initial_probe+0xa1/0xd0
[ 94.999297][ C0] bus_probe_device+0x12a/0x220
[ 95.001421][ C0] device_add+0x7d7/0xb80
[ 95.003259][ C0] usb_set_configuration+0x1ad8/0x2180
[ 95.005613][ C0] usb_generic_driver_probe+0x8d/0x150
[ 95.008010][ C0] usb_probe_device+0x1c3/0x3b0
[ 95.010282][ C0] ? __pfx_usb_probe_device+0x10/0x10
[ 95.012471][ C0] really_probe+0x254/0xae0
[ 95.014471][ C0] __driver_probe_device+0x1e8/0x360
[ 95.016813][ C0] driver_probe_device+0x4f/0x240
[ 95.019047][ C0] __device_attach_driver+0x270/0x410
[ 95.021470][ C0] bus_for_each_drv+0x258/0x2f0
[ 95.024193][ C0] ? __pfx___device_attach_driver+0x10/0x10
[ 95.027354][ C0] ? __pfx_bus_for_each_drv+0x10/0x10
[ 95.029709][ C0] ? _raw_spin_unlock_irqrestore+0x4c/0x80
[ 95.032277][ C0] __device_attach+0x2c4/0x450
[ 95.034447][ C0] ? __pfx___device_attach+0x10/0x10
[ 95.036737][ C0] ? do_raw_spin_unlock+0x4d/0x200
[ 95.039156][ C0] ? _raw_spin_unlock+0x28/0x50
[ 95.041356][ C0] device_initial_probe+0xa1/0xd0
[ 95.043576][ C0] bus_probe_device+0x12a/0x220
[ 95.045681][ C0] device_add+0x7d7/0xb80
[ 95.047468][ C0] usb_new_device+0x9aa/0x1690
[ 95.049561][ C0] ? __pfx_usb_new_device+0x10/0x10
[ 95.051995][ C0] ? _raw_spin_unlock_irq+0x23/0x50
[ 95.054297][ C0] hub_event+0x28e8/0x4d30
[ 95.056387][ C0] ? do_raw_spin_unlock+0x4d/0x200
[ 95.059511][ C0] ? __pfx_hub_event+0x10/0x10
[ 95.061830][ C0] ? process_scheduled_works+0x97a/0x1630
[ 95.064313][ C0] ? rcu_is_watching+0x16/0xb0
[ 95.066502][ C0] ? process_scheduled_works+0x97a/0x1630
[ 95.068897][ C0] process_scheduled_works+0xc3d/0x1630
[ 95.071351][ C0] ? __pfx_process_scheduled_works+0x10/0x10
[ 95.073908][ C0] ? assign_work+0x3cf/0x5d0
[ 95.075838][ C0] worker_thread+0xa47/0xfb0
[ 95.078022][ C0] kthread+0x38b/0x480
[ 95.079731][ C0] ? __pfx_worker_thread+0x10/0x10
[ 95.081808][ C0] ? __pfx_kthread+0x10/0x10
[ 95.083697][ C0] ret_from_fork+0x514/0xb70
[ 95.085515][ C0] ? __pfx_ret_from_fork+0x10/0x10
[ 95.087606][ C0] ? __switch_to+0xc89/0x1420
[ 95.089645][ C0] ? __pfx_kthread+0x10/0x10
[ 95.091536][ C0] ret_from_fork_asm+0x1a/0x30
[ 95.093593][ C0]
[ 95.094968][ C0] Modules linked in:
[ 95.096810][ C0] ---[ end trace 0000000000000000 ]---
[ 95.099112][ C0] RIP: 0010:f_midi2_stop_eps+0x28e/0x4d0
[ 95.101467][ C0] Code: 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 47 49 61 fa 41 bf 30 07 00 00 4d 03 3e 4c 89 f8 48 c1 e8 03 48 89 44 24 18 <42> 0f b6 04 28 84 c0 0f 85 12 02 00 00 41 8b 1f 31 ff 89 de e8 b9
[ 95.109640][ C0] RSP: 0018:ffffc90000007930 EFLAGS: 00010002
[ 95.112091][ C0] RAX: 00000000000000e6 RBX: ffff888012acc120 RCX: ffff88801b734b00
[ 95.115456][ C0] RDX: 0000000000000100 RSI: 0000000000000100 RDI: ffffffff8c6d1520
[ 95.118788][ C0] RBP: ffff888012acc100 R08: 000000001e6d8e3a R09: 00000000c0995c85
[ 95.122111][ C0] R10: 0000000000000010 R11: ffffffff8ed5a360 R12: ffff888012acc730
[ 95.125286][ C0] R13: dffffc0000000000 R14: ffff888012acc128 R15: 0000000000000730
[ 95.128534][ C0] FS: 0000000000000000(0000) GS:ffff88808c30a000(0000) knlGS:0000000000000000
[ 95.132120][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 95.134818][ C0] CR2: 00007f6f396140f5 CR3: 0000000042f6d000 CR4: 0000000000352ef0
[ 95.138125][ C0] Kernel panic - not syncing: Fatal exception in interrupt
[ 95.141463][ C0] Kernel Offset: disabled
[ 95.143200][ C0] Rebooting in 86400 seconds..