program: syz_usb_connect(0x0, 0x24, &(0x7f0000000000)=ANY=[@ANYBLOB="1201000297ff8208582005109bc10102030109021200010100800009048f0000bf575a00"], 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./mysys\x00', 0x1ff) mount(&(0x7f0000000040)=@filename='none\x00', &(0x7f0000000080)='./mysys\x00', &(0x7f00000000c0)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./mysys/bus/platform/drivers/dummy_hcd/unbind\x00', 0x1, 0x0) write(r0, &(0x7f0000000200)='dummy_hcd.0\x00', 0xb) r1 = bpf$MAP_CREATE_RINGBUF(0x0, &(0x7f0000000040)={0x1b, 0x0, 0x0, 0x40000, 0x0, 0x0, 0x0, '\x00', 0x0, 0x0}, 0x50) r2 = bpf$PROG_LOAD(0x5, &(0x7f00000003c0)={0x19, 0xf, &(0x7f0000000580)=@ringbuf={{}, {{0x18, 0x1, 0x1, 0x0, r1}, {}, {}, {0x85, 0x0, 0x0, 0x50}}, {}, [], {{}, {0x7, 0x0, 0xb, 0x2, 0x0, 0x0, 0x1}, {0x85, 0x0, 0x0, 0xbb}}}, &(0x7f0000000540)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x0, '\x00', 0x0, @cgroup_sockopt=0x15, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, r0}, 0x94) r3 = socket$nl_netfilter(0x10, 0x3, 0xc) ioctl$FITRIM(r2, 0xc0185879, &(0x7f00000001c0)={0x8001, 0x9, 0x75}) sendmsg$IPSET_CMD_CREATE(r3, &(0x7f0000000180)={0x0, 0x0, &(0x7f0000000080)={&(0x7f0000000200)={0x4c, 0x2, 0x6, 0x5, 0x0, 0x0, {}, [@IPSET_ATTR_REVISION={0x5, 0x4, 0x1}, @IPSET_ATTR_PROTOCOL={0x5, 0x1, 0x6}, @IPSET_ATTR_REVISION={0x5}, @IPSET_ATTR_DATA={0xc, 0x7, 0x0, 0x1, [@IPSET_ATTR_TIMEOUT={0x8, 0x6, 0x0}]}, @IPSET_ATTR_FAMILY={0x5, 0x5, 0x2}, @IPSET_ATTR_SETNAME={0x9, 0x2, 'syz2\x00'}]}, 0x4c}}, 0x0) close(r0) r4 = openat$comedi(0xffffffffffffff9c, &(0x7f0000000080)='/dev/comedi1\x00', 0x2, 0x0) syz_usb_connect$cdc_ncm(0x4, 0x74, &(0x7f0000000600)=ANY=[@ANYBLOB="12010002020000ff2505a1a44000010203010902620002010550010904000001020d00000b24060001efb1851e081105240006000d24365fb2250f01cf0e0000090007009d06241a0500130905810310000bf80109afebde44d01915425aacb90c87b6996a04010000020d00000904010102020d00000905"], &(0x7f00000004c0)={0xa, &(0x7f0000000240)={0xa, 0x6, 0x250, 0x0, 0xa, 0xf2, 0x40, 0xc5}, 0x46, &(0x7f0000000280)={0x5, 0xf, 0x46, 0x4, [@ssp_cap={0x14, 0x10, 0xa, 0xb, 0x2, 0x6, 0xf78f, 0x4, [0x28, 0x3f00]}, @ss_cap={0xa, 0x10, 0x3, 0x0, 0x6, 0x0, 0x17, 0x6f9}, @ext_cap={0xfffffd59, 0x10, 0x2, 0x10, 0x7, 0x5, 0x6}, @ssp_cap={0x1c, 0x10, 0xa, 0x7f, 0x4, 0x0, 0xf000, 0x8, [0xff003f, 0xff0000, 0x3f00, 0x0]}]}, 0x1, [{0x4, &(0x7f0000000480)=@lang_id={0x4, 0x3, 0x81a}}]}) ioctl$COMEDI_DEVCONFIG(r4, 0x40946400, &(0x7f0000000300)={'pcl724\x00', [0x180, 0x80000004, 0x2, 0x400, 0xe, 0x800003, 0x75d, 0x3, 0x2, 0xfd, 0x2, 0x1, 0x1, 0x1, 0x10000b, 0xfd, 0x5, 0x7c, 0xfffffffe, 0x6fb9, 0x1, 0x5, 0x0, 0x0, 0x0, 0xe66, 0x3, 0x8, 0x8, 0x7, 0x1]}) r5 = openat(0xffffffffffffff9c, &(0x7f0000000300)='./mysys/bus/platform/drivers/dummy_hcd/bind\x00', 0x1, 0x0) write(r0, &(0x7f0000000140)='\x00\x00', 0x2) close(r5) [ 92.873945][ T9] cfg80211: failed to load regulatory.db [ 92.990078][ T4647] Bluetooth: hci0: command tx timeout [ 93.242988][ T9] usb 5-1: new high-speed USB device number 2 using dummy_hcd [ 93.392277][ T9] usb 5-1: Using ep0 maxpacket: 8 [ 93.398957][ T9] usb 5-1: config 1 has an invalid interface number: 143 but max is 0 [ 93.402890][ T9] usb 5-1: config 1 has no interface number 0 [ 93.408090][ T9] usb 5-1: New USB device found, idVendor=2058, idProduct=1005, bcdDevice=c1.9b [ 93.412621][ T9] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 93.416100][ T9] usb 5-1: Product: syz [ 93.418088][ T9] usb 5-1: Manufacturer: syz [ 93.420186][ T9] usb 5-1: SerialNumber: syz [ 93.553424][ T9] viperboard 5-1:1.143: version 0.00 found at bus 005 address 002 [ 93.591687][ T9] viperboard-i2c viperboard-i2c.3.auto: error -EIO: failure setting i2c_bus_freq to 100 [ 93.597781][ T9] viperboard-i2c viperboard-i2c.3.auto: probe with driver viperboard-i2c failed with error -5 [ 93.670723][ T5323] dummy_hcd dummy_hcd.0: remove, state 1 [ 93.675001][ T5323] usb usb5: USB disconnect, device number 1 [ 93.678516][ T5323] usb 5-1: USB disconnect, device number 2 [ 93.735326][ T5324] comedi comedi1: pcl724: I/O base address or length out of range [ 93.819089][ T5323] dummy_hcd dummy_hcd.0: stopped [ 93.825162][ T5323] dummy_hcd dummy_hcd.0: USB bus 5 deregistered [ 93.850575][ T5322] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI [ 93.855519][ T5322] KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] [ 93.859086][ T5322] CPU: 0 UID: 0 PID: 5322 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 93.862742][ T5322] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 93.866856][ T5322] RIP: 0010:set_link_state+0x27/0x1000 [ 93.869230][ T5322] Code: 90 90 90 55 41 57 41 56 41 55 41 54 53 48 83 ec 38 49 89 fe 48 bb 00 00 00 00 00 fc ff df e8 50 b1 0e fa 4c 89 f0 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 f7 e8 db e3 7d fa 49 8b 16 4d 8d a6 a3 00 [ 93.877612][ T5322] RSP: 0018:ffffc9000fa7fb20 EFLAGS: 00010046 [ 93.880284][ T5322] RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff88803f192540 [ 93.883696][ T5322] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 93.886953][ T5322] RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004 [ 93.890087][ T5322] R10: dffffc0000000000 R11: fffff52001f4ff60 R12: 0000000000000246 [ 93.893381][ T5322] R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 [ 93.896833][ T5322] FS: 000055555a2f2540(0000) GS:ffff88808c540000(0000) knlGS:0000000000000000 [ 93.900504][ T5322] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 93.903137][ T5322] CR2: 00007f8ddd5c8f90 CR3: 0000000043965000 CR4: 0000000000352ef0 [ 93.906784][ T5322] Call Trace: [ 93.908283][ T5322] [ 93.909754][ T5322] ? rcu_is_watching+0x15/0xb0 [ 93.911854][ T5322] ? __pfx_dummy_pullup+0x10/0x10 [ 93.914097][ T5322] dummy_pullup+0xc4/0x120 [ 93.916005][ T5322] ? __pfx_dummy_pullup+0x10/0x10 [ 93.918144][ T5322] usb_gadget_disconnect_locked+0x126/0x480 [ 93.920752][ T5322] gadget_unbind_driver+0xc2/0x410 [ 93.922994][ T5322] ? __pfx_gadget_unbind_driver+0x10/0x10 [ 93.925495][ T5322] device_release_driver_internal+0x48b/0x880 [ 93.928048][ T5322] driver_detach+0x1f3/0x2d0 [ 93.930039][ T5322] bus_remove_driver+0x226/0x320 [ 93.932230][ T5322] usb_gadget_unregister_driver+0x4e/0x70 [ 93.934748][ T5322] raw_release+0xd7/0x260 [ 93.936633][ T5322] ? __pfx_raw_release+0x10/0x10 [ 93.938704][ T5322] __fput+0x418/0xa50 [ 93.940484][ T5322] task_work_run+0x1d9/0x270 [ 93.942478][ T5322] ? __pfx_task_work_run+0x10/0x10 [ 93.944651][ T5322] exit_to_user_mode_loop+0x1fa/0x730 [ 93.946976][ T5322] ? rcu_is_watching+0x15/0xb0 [ 93.949036][ T5322] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 93.951553][ T5322] do_syscall_64+0x353/0x580 [ 93.953527][ T5322] ? clear_bhb_loop+0x40/0x90 [ 93.955408][ T5322] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 93.957865][ T5322] RIP: 0033:0x7f8ddc79e019 [ 93.959733][ T5322] 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 [ 93.967764][ T5322] RSP: 002b:00007ffe35f45b18 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 [ 93.971389][ T5322] RAX: 0000000000000000 RBX: 00007f8ddca27da0 RCX: 00007f8ddc79e019 [ 93.974841][ T5322] RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 [ 93.978131][ T5322] RBP: 00007f8ddca27da0 R08: 00007f8ddca26038 R09: 0000000000000000 [ 93.981456][ T5322] R10: 0000000000deacc0 R11: 0000000000000246 R12: 0000000000017956 [ 93.984873][ T5322] R13: 00007f8ddca2609c R14: 0000000000016dd0 R15: 00007f8ddca26090 [ 93.988155][ T5322] [ 93.989492][ T5322] Modules linked in: [ 93.991112][ T5322] ---[ end trace 0000000000000000 ]--- [ 93.993375][ T5322] RIP: 0010:set_link_state+0x27/0x1000 [ 93.995592][ T5322] Code: 90 90 90 55 41 57 41 56 41 55 41 54 53 48 83 ec 38 49 89 fe 48 bb 00 00 00 00 00 fc ff df e8 50 b1 0e fa 4c 89 f0 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 f7 e8 db e3 7d fa 49 8b 16 4d 8d a6 a3 00 [ 94.003902][ T5322] RSP: 0018:ffffc9000fa7fb20 EFLAGS: 00010046 [ 94.006507][ T5322] RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff88803f192540 [ 94.009973][ T5322] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 94.013284][ T5322] RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004 [ 94.016565][ T5322] R10: dffffc0000000000 R11: fffff52001f4ff60 R12: 0000000000000246 [ 94.019992][ T5322] R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 [ 94.023352][ T5322] FS: 000055555a2f2540(0000) GS:ffff88808c540000(0000) knlGS:0000000000000000 [ 94.027212][ T5322] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 94.030032][ T5322] CR2: 00007f8ddd5c8f90 CR3: 0000000043965000 CR4: 0000000000352ef0 [ 94.033335][ T5322] Kernel panic - not syncing: Fatal exception [ 94.036296][ T5322] Kernel Offset: disabled [ 94.038130][ T5322] Rebooting in 86400 seconds..