program: ioctl$DVB_DEMUX_DMX_EXPBUF(0xffffffffffffffff, 0xc00c6f3e, &(0x7f0000000040)={0x6, 0x80000, 0xffffffffffffffff}) write(r0, &(0x7f0000000080)="6e87715031c066648e7ff345fab722cfc49cfbf6f00f315913461fdda4ae7f549d2aff4983e8b2f2d2ca9a32896fcc18419975a4ca9ed8ff5699cc880e69b7c8cff6585926bf92bee608fde4debe8ed787060cb3b97f265cd47bca67", 0x5c) mkdirat(0xffffffffffffff9c, &(0x7f0000000100)='./proc\x00', 0x1ff) mount(0x0, &(0x7f0000000140)='./proc\x00', &(0x7f0000000180)='proc\x00', 0x4000, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f00000001c0)='./proc/thread-self/fail-nth\x00', 0x2, 0x0) write(r1, &(0x7f0000000200)='270', 0x3) mkdirat(0xffffffffffffff9c, &(0x7f0000000240)='./config\x00', 0x1ff) mount(0x0, &(0x7f0000000280)='./config\x00', &(0x7f00000002c0)='configfs\x00', 0x0, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff) r2 = syz_open_procfs(0xffffffffffffffff, &(0x7f0000000000)='mountinfo\x00') read$FUSE(r2, &(0x7f0000000b00)={0x2020}, 0x2020) linkat(r2, &(0x7f0000002b40)='./config/usb_gadget/g1\x00', r1, &(0x7f0000002b80)='./config/usb_gadget/g1/configs/c.1/ecm.usb0\x00', 0x1400) mkdirat(0xffffffffffffff9c, &(0x7f0000000340)='./config/usb_gadget/g1/functions/ecm.usb0\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f0000000380)='./config/usb_gadget/g1/configs/c.1\x00', 0x1ff) symlinkat(&(0x7f00000003c0)='./config/usb_gadget/g1/functions/ecm.usb0\x00', 0xffffffffffffff9c, &(0x7f0000000400)='./config/usb_gadget/g1/configs/c.1/ecm.usb0\x00') r3 = openat(0xffffffffffffff9c, &(0x7f0000000440)='./config/usb_gadget/g1/UDC\x00', 0x1, 0x0) write(r3, &(0x7f0000000ac0)='dummy_udc.0', 0xb) ioctl$DVB_DEMUX_DMX_EXPBUF(0xffffffffffffffff, 0xc00c6f3e, &(0x7f0000000040)={0x6, 0x80000}) (async) write(r0, &(0x7f0000000080)="6e87715031c066648e7ff345fab722cfc49cfbf6f00f315913461fdda4ae7f549d2aff4983e8b2f2d2ca9a32896fcc18419975a4ca9ed8ff5699cc880e69b7c8cff6585926bf92bee608fde4debe8ed787060cb3b97f265cd47bca67", 0x5c) (async) mkdirat(0xffffffffffffff9c, &(0x7f0000000100)='./proc\x00', 0x1ff) (async) mount(0x0, &(0x7f0000000140)='./proc\x00', &(0x7f0000000180)='proc\x00', 0x4000, 0x0) (async) openat(0xffffffffffffff9c, &(0x7f00000001c0)='./proc/thread-self/fail-nth\x00', 0x2, 0x0) (async) write(r1, &(0x7f0000000200)='270', 0x3) (async) mkdirat(0xffffffffffffff9c, &(0x7f0000000240)='./config\x00', 0x1ff) (async) mount(0x0, &(0x7f0000000280)='./config\x00', &(0x7f00000002c0)='configfs\x00', 0x0, 0x0) (async) mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff) (async) syz_open_procfs(0xffffffffffffffff, &(0x7f0000000000)='mountinfo\x00') (async) read$FUSE(r2, &(0x7f0000000b00)={0x2020}, 0x2020) (async) linkat(r2, &(0x7f0000002b40)='./config/usb_gadget/g1\x00', r1, &(0x7f0000002b80)='./config/usb_gadget/g1/configs/c.1/ecm.usb0\x00', 0x1400) (async) mkdirat(0xffffffffffffff9c, &(0x7f0000000340)='./config/usb_gadget/g1/functions/ecm.usb0\x00', 0x1ff) (async) mkdirat(0xffffffffffffff9c, &(0x7f0000000380)='./config/usb_gadget/g1/configs/c.1\x00', 0x1ff) (async) symlinkat(&(0x7f00000003c0)='./config/usb_gadget/g1/functions/ecm.usb0\x00', 0xffffffffffffff9c, &(0x7f0000000400)='./config/usb_gadget/g1/configs/c.1/ecm.usb0\x00') (async) openat(0xffffffffffffff9c, &(0x7f0000000440)='./config/usb_gadget/g1/UDC\x00', 0x1, 0x0) (async) write(r3, &(0x7f0000000ac0)='dummy_udc.0', 0xb) (async) [ 95.543140][ T5302] Bluetooth: hci0: command tx timeout [ 95.723701][ T5344] FAULT_INJECTION: forcing a failure. [ 95.723701][ T5344] name failslab, interval 1, probability 0, space 0, times 1 [ 95.723744][ T5344] CPU: 0 UID: 0 PID: 5344 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 95.723758][ T5344] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 95.723773][ T5344] Call Trace: [ 95.723787][ T5344] [ 95.723793][ T5344] dump_stack_lvl+0xe8/0x150 [ 95.723900][ T5344] should_fail_ex+0x410/0x560 [ 95.723970][ T5344] should_failslab+0xa8/0x100 [ 95.723994][ T5344] ? __kernfs_new_node+0xe6/0x980 [ 95.724047][ T5344] kmem_cache_alloc_noprof+0x9c/0x600 [ 95.724067][ T5344] ? __kernfs_new_node+0xe6/0x980 [ 95.724086][ T5344] __kernfs_new_node+0xe6/0x980 [ 95.724108][ T5344] ? __pfx___kernfs_new_node+0x10/0x10 [ 95.724121][ T5344] ? lock_acquire+0x115/0x350 [ 95.724155][ T5344] ? kernfs_root+0x1c/0x230 [ 95.724174][ T5344] ? kernfs_root+0x1c/0x230 [ 95.724188][ T5344] ? kernfs_root+0x1c/0x230 [ 95.724199][ T5344] ? kernfs_root+0x1c/0x230 [ 95.724216][ T5344] kernfs_new_node+0xeb/0x140 [ 95.724233][ T5344] __kernfs_create_file+0x4b/0x2e0 [ 95.724254][ T5344] sysfs_add_file_mode_ns+0x237/0x300 [ 95.724271][ T5344] internal_create_group+0x679/0x1180 [ 95.724295][ T5344] ? kernfs_add_one+0xfc/0x510 [ 95.724309][ T5344] ? __pfx_internal_create_group+0x10/0x10 [ 95.724327][ T5344] ? kernfs_activate_one+0x22d/0x340 [ 95.724345][ T5344] sysfs_create_groups+0x59/0x120 [ 95.724361][ T5344] device_add_attrs+0xde/0x600 [ 95.724392][ T5344] ? __pfx_device_add_attrs+0x10/0x10 [ 95.724411][ T5344] ? device_add_class_symlinks+0x21f/0x240 [ 95.724430][ T5344] device_add+0x488/0xb80 [ 95.724449][ T5344] netdev_register_kobject+0x197/0x350 [ 95.724514][ T5344] register_netdevice+0x17be/0x2280 [ 95.724539][ T5344] ? __pfx_register_netdevice+0x10/0x10 [ 95.724555][ T5344] ? __hw_addr_insert+0x1f8/0x220 [ 95.724575][ T5344] ? dev_addr_mod+0x1ba/0x350 [ 95.724589][ T5344] register_netdev+0x40/0x60 [ 95.724604][ T5344] gether_register_netdev+0x84/0x180 [ 95.724639][ T5344] ecm_bind+0x201/0xa30 [ 95.724674][ T5344] usb_add_function+0x2e1/0x9f0 [ 95.724692][ T5344] ? check_remote_wakeup_config+0x58/0x1c0 [ 95.724710][ T5344] configfs_composite_bind+0xde0/0x1410 [ 95.724735][ T5344] ? __pfx_configfs_composite_bind+0x10/0x10 [ 95.724750][ T5344] gadget_bind_driver+0x2ca/0x9e0 [ 95.724772][ T5344] ? __pfx_gadget_bind_driver+0x10/0x10 [ 95.724784][ T5344] really_probe+0x254/0xae0 [ 95.724801][ T5344] __driver_probe_device+0x1e8/0x360 [ 95.724815][ T5344] driver_probe_device+0x4f/0x240 [ 95.724831][ T5344] __driver_attach+0x339/0x600 [ 95.724845][ T5344] bus_for_each_dev+0x23b/0x2c0 [ 95.724860][ T5344] ? __pfx___driver_attach+0x10/0x10 [ 95.724872][ T5344] ? __pfx_bus_for_each_dev+0x10/0x10 [ 95.724889][ T5344] ? do_raw_spin_unlock+0x4d/0x200 [ 95.724904][ T5344] bus_add_driver+0x38f/0x6e0 [ 95.724927][ T5344] driver_register+0x23a/0x320 [ 95.724944][ T5344] usb_gadget_register_driver_owner+0xf9/0x270 [ 95.724959][ T5344] gadget_dev_desc_UDC_store+0x1c9/0x2f0 [ 95.724973][ T5344] ? __pfx_gadget_dev_desc_UDC_store+0x10/0x10 [ 95.724988][ T5344] configfs_write_iter+0x337/0x430 [ 95.725008][ T5344] vfs_write+0x612/0xba0 [ 95.725027][ T5344] ? __pfx_vfs_write+0x10/0x10 [ 95.725042][ T5344] ? __fget_files+0x3a2/0x420 [ 95.725059][ T5344] ? __fget_files+0x2a/0x420 [ 95.725078][ T5344] ? fdget+0x1ac/0x250 [ 95.725101][ T5344] ksys_write+0x150/0x270 [ 95.725114][ T5344] ? __pfx_ksys_write+0x10/0x10 [ 95.725134][ T5344] do_syscall_64+0x166/0x520 [ 95.725165][ T5344] ? trace_irq_disable+0x3b/0x140 [ 95.725180][ T5344] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 95.725193][ T5344] ? clear_bhb_loop+0x70/0xc0 [ 95.725208][ T5344] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 95.725220][ T5344] RIP: 0033:0x7fe7c039f559 [ 95.725243][ T5344] 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 [ 95.725252][ T5344] RSP: 002b:00007fe7c1225fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 95.725267][ T5344] RAX: ffffffffffffffda RBX: 00007fe7c0625fa0 RCX: 00007fe7c039f559 [ 95.725275][ T5344] RDX: 000000000000000b RSI: 0000200000000ac0 RDI: 0000000000000005 [ 95.725281][ T5344] RBP: 00007fe7c0436b20 R08: 0000000000000000 R09: 0000000000000000 [ 95.725288][ T5344] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 95.725295][ T5344] R13: 00007fe7c0626038 R14: 00007fe7c0625fa0 R15: 00007fffd25d8d28 [ 95.725315][ T5344] [ 95.730908][ T5344] udc dummy_udc.0: failed to start g1: -12 [ 95.730930][ T5344] configfs-gadget.g1 gadget.0: probe with driver configfs-gadget.g1 failed with error -12 [ 95.734829][ T5344] UDC core: g1: couldn't find an available UDC or it's busy [ 96.002468][ T5361] ------------[ cut here ]------------ [ 96.002481][ T5361] kernel BUG at net/core/dev.c:11577! [ 96.002557][ T5361] Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI [ 96.009907][ T5361] CPU: 0 UID: 0 PID: 5361 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 96.013691][ T5361] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 96.017849][ T5361] RIP: 0010:register_netdevice+0x2225/0x2280 [ 96.020424][ T5361] Code: e9 1e fa ff ff 89 f9 80 e1 07 38 c1 0f 8c 20 fb ff ff e8 be 46 76 f8 e9 16 fb ff ff e8 94 21 fe f7 90 0f 0b e8 8c 21 fe f7 90 <0f> 0b e8 84 21 fe f7 90 0f 0b 44 89 f9 80 e1 07 38 c1 0f 8c 34 f9 [ 96.027946][ T5361] RSP: 0018:ffffc9000f9a7580 EFLAGS: 00010293 [ 96.030633][ T5361] RAX: ffffffff89caf654 RBX: 1ffff92001f34ec4 RCX: ffff888033160000 [ 96.034278][ T5361] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000 [ 96.037741][ T5361] RBP: ffffc9000f9a7700 R08: ffffffff91484987 R09: 1ffffffff2290930 [ 96.041050][ T5361] R10: dffffc0000000000 R11: fffffbfff2290931 R12: ffff8880135447a8 [ 96.045118][ T5361] R13: dffffc0000000000 R14: 0000000000000003 R15: ffff888013544000 [ 96.048905][ T5361] FS: 00007fe7bc6cc6c0(0000) GS:ffff88808ac32000(0000) knlGS:0000000000000000 [ 96.053145][ T5361] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 96.056026][ T5361] CR2: 00007fe7bc6cbfe8 CR3: 0000000014a65000 CR4: 0000000000352ef0 [ 96.059215][ T5361] Call Trace: [ 96.060550][ T5361] [ 96.061750][ T5361] ? trace_contention_end+0x3d/0x140 [ 96.063954][ T5361] ? __mutex_lock+0x305/0x15a0 [ 96.065967][ T5361] ? kernfs_activate_one+0x22d/0x340 [ 96.068152][ T5361] ? __pfx___mutex_lock+0x10/0x10 [ 96.070109][ T5361] ? __pfx_register_netdevice+0x10/0x10 [ 96.072177][ T5361] ? __hw_addr_insert+0x1f8/0x220 [ 96.074264][ T5361] ? dev_addr_mod+0x174/0x350 [ 96.076273][ T5361] ? dev_addr_mod+0x1ba/0x350 [ 96.078286][ T5361] register_netdev+0x40/0x60 [ 96.080293][ T5361] gether_register_netdev+0x84/0x180 [ 96.082666][ T5361] ecm_bind+0x201/0xa30 [ 96.084386][ T5361] ? rcu_is_watching+0x16/0xb0 [ 96.086396][ T5361] usb_add_function+0x2e1/0x9f0 [ 96.088357][ T5361] ? check_remote_wakeup_config+0x58/0x1c0 [ 96.090844][ T5361] configfs_composite_bind+0xde0/0x1410 [ 96.093043][ T5361] ? __pfx_configfs_composite_bind+0x10/0x10 [ 96.095431][ T5361] gadget_bind_driver+0x2ca/0x9e0 [ 96.097532][ T5361] ? __pfx_gadget_bind_driver+0x10/0x10 [ 96.099865][ T5361] really_probe+0x254/0xae0 [ 96.102135][ T5361] __driver_probe_device+0x1e8/0x360 [ 96.104544][ T5361] driver_probe_device+0x4f/0x240 [ 96.106593][ T5361] __driver_attach+0x339/0x600 [ 96.108676][ T5361] bus_for_each_dev+0x23b/0x2c0 [ 96.110802][ T5361] ? __pfx___driver_attach+0x10/0x10 [ 96.113137][ T5361] ? __pfx_bus_for_each_dev+0x10/0x10 [ 96.115563][ T5361] ? do_raw_spin_unlock+0x4d/0x200 [ 96.117818][ T5361] bus_add_driver+0x38f/0x6e0 [ 96.119777][ T5361] driver_register+0x23a/0x320 [ 96.121758][ T5361] usb_gadget_register_driver_owner+0xf9/0x270 [ 96.124426][ T5361] gadget_dev_desc_UDC_store+0x1c9/0x2f0 [ 96.126637][ T5361] ? __pfx_gadget_dev_desc_UDC_store+0x10/0x10 [ 96.129275][ T5361] configfs_write_iter+0x337/0x430 [ 96.131555][ T5361] vfs_write+0x612/0xba0 [ 96.133403][ T5361] ? __pfx_vfs_write+0x10/0x10 [ 96.135514][ T5361] ? __fget_files+0x3a2/0x420 [ 96.137350][ T5361] ? __fget_files+0x2a/0x420 [ 96.139493][ T5361] ? fdget+0x1ac/0x250 [ 96.141232][ T5361] ksys_write+0x150/0x270 [ 96.142931][ T5361] ? __pfx_ksys_write+0x10/0x10 [ 96.145165][ T5361] ? __cpu_to_node+0x41/0xe0 [ 96.147138][ T5361] do_syscall_64+0x166/0x520 [ 96.149113][ T5361] ? trace_irq_disable+0x3b/0x140 [ 96.151468][ T5361] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 96.153682][ T5361] ? clear_bhb_loop+0x70/0xc0 [ 96.155263][ T5361] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 96.157533][ T5361] RIP: 0033:0x7fe7c039f559 [ 96.159552][ T5361] 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 [ 96.168128][ T5361] RSP: 002b:00007fe7bc6cbfe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 96.171898][ T5361] RAX: ffffffffffffffda RBX: 00007fe7c0626db0 RCX: 00007fe7c039f559 [ 96.175485][ T5361] RDX: 000000000000000b RSI: 0000200000000ac0 RDI: 0000000000000005 [ 96.179034][ T5361] RBP: 00007fe7c0436b20 R08: 0000000000000000 R09: 0000000000000000 [ 96.182495][ T5361] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 96.186035][ T5361] R13: 00007fe7c0626e48 R14: 00007fe7c0626db0 R15: 00007fffd25d8d28 [ 96.189526][ T5361] [ 96.190873][ T5361] Modules linked in: [ 96.194520][ T5361] ---[ end trace 0000000000000000 ]--- [ 96.218541][ T5361] RIP: 0010:register_netdevice+0x2225/0x2280 [ 96.218632][ T5361] Code: e9 1e fa ff ff 89 f9 80 e1 07 38 c1 0f 8c 20 fb ff ff e8 be 46 76 f8 e9 16 fb ff ff e8 94 21 fe f7 90 0f 0b e8 8c 21 fe f7 90 <0f> 0b e8 84 21 fe f7 90 0f 0b 44 89 f9 80 e1 07 38 c1 0f 8c 34 f9 [ 96.218643][ T5361] RSP: 0018:ffffc9000f9a7580 EFLAGS: 00010293 [ 96.218655][ T5361] RAX: ffffffff89caf654 RBX: 1ffff92001f34ec4 RCX: ffff888033160000 [ 96.218663][ T5361] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000 [ 96.218669][ T5361] RBP: ffffc9000f9a7700 R08: ffffffff91484987 R09: 1ffffffff2290930 [ 96.218677][ T5361] R10: dffffc0000000000 R11: fffffbfff2290931 R12: ffff8880135447a8 [ 96.218685][ T5361] R13: dffffc0000000000 R14: 0000000000000003 R15: ffff888013544000 [ 96.218693][ T5361] FS: 00007fe7bc6cc6c0(0000) GS:ffff88808ac32000(0000) knlGS:0000000000000000 [ 96.218704][ T5361] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 96.218711][ T5361] CR2: 00007fe7c122f150 CR3: 0000000014a65000 CR4: 0000000000352ef0 [ 96.218750][ T5361] Kernel panic - not syncing: Fatal exception [ 96.261923][ T5361] Kernel Offset: disabled [ 96.263467][ T5361] Rebooting in 86400 seconds..