program: r0 = socket$nl_route(0x10, 0x3, 0x0) 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) r1 = openat(0xffffffffffffff9c, &(0x7f0000000240)='./my_configfs/usb_gadget/g1/functions/midi2.usb0/ep.0/block.0/direction\x00', 0x1, 0x0) write(r1, &(0x7f00000002c0)='1', 0x1) r2 = openat(0xffffffffffffff9c, &(0x7f0000000300)='./my_configfs/usb_gadget/g1/functions/midi2.usb0/ep.0/block.0/num_groups\x00', 0x1, 0x0) write(r2, &(0x7f0000000380)='2', 0x1) r3 = openat(0xffffffffffffff9c, &(0x7f00000003c0)='./my_configfs/usb_gadget/g1/functions/midi2.usb0/ep.0/block.0/midi1_num_groups\x00', 0x1, 0x0) write(r3, &(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') r4 = openat(0xffffffffffffff9c, &(0x7f0000000900)='./my_configfs/usb_gadget/g1/UDC\x00', 0x1, 0x0) write(r4, &(0x7f0000000940)='dummy_udc.0', 0xb) ioctl$ifreq_SIOCGIFINDEX_vcan(r0, 0x8933, &(0x7f0000000040)={'vcan0\x00', 0x0}) ioctl$ifreq_SIOCGIFINDEX_vcan(r0, 0x8933, &(0x7f0000000080)={'vxcan1\x00', 0x0}) sendmsg$nl_route(r0, &(0x7f0000000800)={0x0, 0x0, &(0x7f0000000040)={&(0x7f0000000100)=ANY=[@ANYBLOB="240000001800010000000000000000001d01000008000a00", @ANYRES32=r5, @ANYBLOB='\b\x00\t\x00', @ANYRES32=r6], 0x24}}, 0x0) r7 = socket$nl_route(0x10, 0x3, 0x0) perf_event_open(&(0x7f0000000180)={0x2, 0x80, 0xc4, 0x1, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0xe, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_config_ext={0x2, 0x1}, 0x1, 0x4, 0x3, 0x5, 0x7fff, 0x80}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0xa) mlock(&(0x7f0000ffa000/0x4000)=nil, 0x4000) r8 = socket$can_j1939(0x1d, 0x2, 0x7) ioctl$ifreq_SIOCGIFINDEX_vcan(r8, 0x8933, &(0x7f00000000c0)={'vcan0\x00', 0x0}) syz_usb_connect$uac1(0x2, 0xdc, 0x0, 0x0) sendmsg$nl_route_sched(r7, &(0x7f00000002c0)={0x0, 0x0, &(0x7f0000000100)={&(0x7f0000000480)=@newtfilter={0x24, 0x11, 0x1, 0x70bd2c, 0x25dfdbfc, {0x0, 0x0, 0x74, r9, {0xfff3, 0x10}, {0xfff1, 0x9}, {0x2, 0x8}}}, 0x24}, 0x1, 0xf0ffffffffffff, 0x0, 0x48040}, 0x20000050) [ 94.314246][ T5284] Bluetooth: hci0: command tx timeout [ 94.569287][ T5328] netlink: 4 bytes leftover after parsing attributes in process `syz.0.0'. [ 94.901465][ T10] usb 5-1: new high-speed USB device number 2 using dummy_hcd [ 95.053828][ T10] usb 5-1: Dual-Role OTG device on HNP port [ 95.056859][ T10] usb 5-1: New USB device found, idVendor=0000, idProduct=0000, bcdDevice= 7.02 [ 95.060825][ T10] usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 95.074822][ T10] gspca_main: spca501-2.14.0 probing 0000:0000 [ 95.079068][ T10] gspca_spca501: reg write: error -32 [ 95.081577][ T10] spca501 5-1:1.0: Reg write failed for 0x02,0x0f,0x05 [ 95.084659][ T10] spca501 5-1:1.0: probe with driver spca501 failed with error -22 [ 95.095895][ C0] Oops: general protection fault, probably for non-canonical address 0xdffffc00000000e6: 0000 [#1] SMP KASAN NOPTI [ 95.100848][ C0] KASAN: null-ptr-deref in range [0x0000000000000730-0x0000000000000737] [ 95.104344][ C0] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Not tainted syzkaller #0 PREEMPT(full) [ 95.108174][ C0] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 95.112346][ C0] Workqueue: usb_hub_wq hub_event [ 95.114561][ C0] RIP: 0010:f_midi2_stop_eps+0x28e/0x4d0 [ 95.116934][ C0] Code: 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 b7 f4 63 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 f9 [ 95.124850][ C0] RSP: 0018:ffffc90000007930 EFLAGS: 00010002 [ 95.127401][ C0] RAX: 00000000000000e6 RBX: ffff8880526c4120 RCX: ffff88801bf0a540 [ 95.130748][ C0] RDX: 0000000000000100 RSI: ffffffff8c4bed60 RDI: ffffffff8c4bed20 [ 95.134200][ C0] RBP: ffff8880526c4100 R08: 000000004450e3d6 R09: 000000004def5976 [ 95.137630][ C0] R10: 0000000000000010 R11: ffffffff8eb59c60 R12: ffff8880526c4730 [ 95.140997][ C0] R13: dffffc0000000000 R14: ffff8880526c4128 R15: 0000000000000730 [ 95.144343][ C0] FS: 0000000000000000(0000) GS:ffff88808c543000(0000) knlGS:0000000000000000 [ 95.148133][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 95.150967][ C0] CR2: 00007fe266cea370 CR3: 000000000e946000 CR4: 0000000000352ef0 [ 95.154412][ C0] Call Trace: [ 95.155911][ C0] [ 95.157138][ C0] f_midi2_set_alt+0x11c/0xf00 [ 95.159123][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 95.161445][ C0] composite_setup+0x1ffd/0x3480 [ 95.163560][ C0] configfs_composite_setup+0xc7/0x100 [ 95.165878][ C0] dummy_timer+0x2f43/0x4cf0 [ 95.167842][ C0] ? __lock_acquire+0x683/0x2cf0 [ 95.170043][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 95.172535][ C0] ? __pfx_dummy_timer+0x10/0x10 [ 95.175284][ C0] ? _raw_spin_unlock_irqrestore+0x30/0x80 [ 95.178367][ C0] ? __pfx_dummy_timer+0x10/0x10 [ 95.180426][ C0] __hrtimer_run_queues+0x3bc/0xa10 [ 95.182601][ C0] hrtimer_run_softirq+0x17a/0x240 [ 95.184787][ C0] handle_softirqs+0x225/0x840 [ 95.186774][ C0] ? __irq_exit_rcu+0xca/0x220 [ 95.188886][ C0] __irq_exit_rcu+0xca/0x220 [ 95.190875][ C0] irq_exit_rcu+0x9/0x30 [ 95.192734][ C0] sysvec_apic_timer_interrupt+0xa6/0xc0 [ 95.195227][ C0] [ 95.196473][ C0] [ 95.197656][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 95.200222][ C0] RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80 [ 95.202896][ C0] Code: f7 e8 1d ab cd f5 f7 c3 00 02 00 00 74 05 e8 e0 9f f9 f5 9c 58 a9 00 02 00 00 75 27 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 24 c1 be f5 65 8b 05 1d 11 98 07 85 c0 74 18 5b 41 5e e9 81 48 [ 95.210895][ C0] RSP: 0018:ffffc9000023e7f0 EFLAGS: 00000206 [ 95.213424][ C0] RAX: 0000000000000006 RBX: 0000000000000246 RCX: 0000000080000001 [ 95.216676][ C0] RDX: 0000000000000006 RSI: ffffffff8e230467 RDI: 0000000000000001 [ 95.219917][ C0] RBP: 0000000000000007 R08: ffffffff9057b737 R09: 1ffffffff20af6e6 [ 95.223227][ C0] R10: dffffc0000000000 R11: fffffbfff20af6e7 R12: 0000000000000000 [ 95.226548][ C0] R13: dffffc0000000000 R14: ffff8880341bc000 R15: 1ffff11003eef094 [ 95.229780][ C0] dummy_urb_enqueue+0x587/0x780 [ 95.231838][ C0] usb_hcd_submit_urb+0x328/0x1b60 [ 95.233899][ C0] usb_start_wait_urb+0x13f/0x5b0 [ 95.235986][ C0] ? trace_kmalloc+0x2a/0xf0 [ 95.237830][ C0] ? __pfx_usb_start_wait_urb+0x10/0x10 [ 95.240062][ C0] usb_control_msg+0x234/0x3e0 [ 95.242067][ C0] usb_set_interface+0x521/0x1470 [ 95.244078][ C0] snd_usb_midi_v2_create+0x621/0x4ac0 [ 95.246302][ C0] ? __pfx_proc_audio_usbid_read+0x10/0x10 [ 95.248622][ C0] ? snd_card_rw_proc_new+0x10d/0x140 [ 95.250838][ C0] ? __pfx_snd_usb_midi_v2_create+0x10/0x10 [ 95.253250][ C0] ? usb_ifnum_to_if+0x262/0x2f0 [ 95.255382][ C0] snd_usb_create_stream+0x262/0x630 [ 95.257620][ C0] usb_audio_probe+0x1447/0x2280 [ 95.259566][ C0] ? __pfx_usb_audio_probe+0x10/0x10 [ 95.261802][ C0] ? _raw_spin_unlock_irqrestore+0x30/0x80 [ 95.264279][ C0] usb_probe_interface+0x653/0xc60 [ 95.266245][ C0] ? __pfx_usb_probe_interface+0x10/0x10 [ 95.268585][ C0] really_probe+0x254/0xae0 [ 95.270558][ C0] __driver_probe_device+0x1e8/0x360 [ 95.272847][ C0] driver_probe_device+0x4f/0x240 [ 95.274981][ C0] __device_attach_driver+0x270/0x410 [ 95.277305][ C0] bus_for_each_drv+0x258/0x2f0 [ 95.279368][ C0] ? __pfx___device_attach_driver+0x10/0x10 [ 95.281879][ C0] ? __pfx_bus_for_each_drv+0x10/0x10 [ 95.284066][ C0] ? lockdep_hardirqs_on+0x7a/0x110 [ 95.286242][ C0] ? _raw_spin_unlock_irqrestore+0x4c/0x80 [ 95.288662][ C0] __device_attach+0x2c4/0x450 [ 95.290693][ C0] ? __pfx___device_attach+0x10/0x10 [ 95.292792][ C0] ? do_raw_spin_unlock+0x4d/0x210 [ 95.294828][ C0] ? _raw_spin_unlock+0x28/0x50 [ 95.296791][ C0] device_initial_probe+0xa1/0xd0 [ 95.298771][ C0] bus_probe_device+0x12a/0x220 [ 95.300637][ C0] device_add+0x7d7/0xb80 [ 95.302356][ C0] usb_set_configuration+0x1ad8/0x2180 [ 95.304687][ C0] usb_generic_driver_probe+0x8d/0x150 [ 95.306920][ C0] usb_probe_device+0x1c3/0x3b0 [ 95.308922][ C0] ? __pfx_usb_probe_device+0x10/0x10 [ 95.311082][ C0] really_probe+0x254/0xae0 [ 95.313029][ C0] __driver_probe_device+0x1e8/0x360 [ 95.315156][ C0] driver_probe_device+0x4f/0x240 [ 95.317223][ C0] __device_attach_driver+0x270/0x410 [ 95.319438][ C0] bus_for_each_drv+0x258/0x2f0 [ 95.321584][ C0] ? __pfx___device_attach_driver+0x10/0x10 [ 95.324177][ C0] ? __pfx_bus_for_each_drv+0x10/0x10 [ 95.326518][ C0] ? lockdep_hardirqs_on+0x7a/0x110 [ 95.328812][ C0] ? _raw_spin_unlock_irqrestore+0x4c/0x80 [ 95.331355][ C0] __device_attach+0x2c4/0x450 [ 95.333440][ C0] ? __pfx___device_attach+0x10/0x10 [ 95.335784][ C0] ? do_raw_spin_unlock+0x4d/0x210 [ 95.337952][ C0] ? _raw_spin_unlock+0x28/0x50 [ 95.339975][ C0] device_initial_probe+0xa1/0xd0 [ 95.342174][ C0] bus_probe_device+0x12a/0x220 [ 95.344238][ C0] device_add+0x7d7/0xb80 [ 95.345964][ C0] usb_new_device+0x99d/0x1620 [ 95.348067][ C0] ? __pfx_usb_new_device+0x10/0x10 [ 95.350219][ C0] ? _raw_spin_unlock_irq+0x23/0x50 [ 95.352420][ C0] hub_event+0x28e8/0x4d30 [ 95.354385][ C0] ? do_raw_spin_unlock+0x4d/0x210 [ 95.356580][ C0] ? __pfx_hub_event+0x10/0x10 [ 95.358560][ C0] ? process_scheduled_works+0xa20/0x14e0 [ 95.360895][ C0] ? rcu_is_watching+0x15/0xb0 [ 95.363021][ C0] ? process_scheduled_works+0xa20/0x14e0 [ 95.365345][ C0] process_scheduled_works+0xa8e/0x14e0 [ 95.367716][ C0] ? __pfx_process_scheduled_works+0x10/0x10 [ 95.370152][ C0] ? assign_work+0x3cf/0x5d0 [ 95.372098][ C0] worker_thread+0xa47/0xfb0 [ 95.374109][ C0] kthread+0x388/0x470 [ 95.375904][ C0] ? __pfx_worker_thread+0x10/0x10 [ 95.378072][ C0] ? __pfx_kthread+0x10/0x10 [ 95.380026][ C0] ret_from_fork+0x514/0xb70 [ 95.382044][ C0] ? __pfx_ret_from_fork+0x10/0x10 [ 95.384200][ C0] ? __switch_to+0xc89/0x1420 [ 95.386136][ C0] ? __pfx_kthread+0x10/0x10 [ 95.388297][ C0] ret_from_fork_asm+0x1a/0x30 [ 95.390743][ C0] [ 95.392103][ C0] Modules linked in: [ 95.393696][ C0] ---[ end trace 0000000000000000 ]--- [ 95.396086][ C0] RIP: 0010:f_midi2_stop_eps+0x28e/0x4d0 [ 95.398335][ C0] Code: 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 b7 f4 63 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 f9 [ 95.406282][ C0] RSP: 0018:ffffc90000007930 EFLAGS: 00010002 [ 95.408915][ C0] RAX: 00000000000000e6 RBX: ffff8880526c4120 RCX: ffff88801bf0a540 [ 95.412326][ C0] RDX: 0000000000000100 RSI: ffffffff8c4bed60 RDI: ffffffff8c4bed20 [ 95.415766][ C0] RBP: ffff8880526c4100 R08: 000000004450e3d6 R09: 000000004def5976 [ 95.419142][ C0] R10: 0000000000000010 R11: ffffffff8eb59c60 R12: ffff8880526c4730 [ 95.422481][ C0] R13: dffffc0000000000 R14: ffff8880526c4128 R15: 0000000000000730 [ 95.425830][ C0] FS: 0000000000000000(0000) GS:ffff88808c543000(0000) knlGS:0000000000000000 [ 95.429569][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 95.432276][ C0] CR2: 00007fe266cea370 CR3: 000000000e946000 CR4: 0000000000352ef0 [ 95.435585][ C0] Kernel panic - not syncing: Fatal exception in interrupt [ 95.438867][ C0] Kernel Offset: disabled [ 95.440682][ C0] Rebooting in 86400 seconds..