program:
mkdirat(0xffffffffffffff9c, &(0x7f00000001c0)='./proc\x00', 0x1ff)
mount(0x0, &(0x7f0000000200)='./proc\x00', &(0x7f0000000240)='proc\x00', 0x4000, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f0000002680)='./proc/thread-self/fail-nth\x00', 0x2, 0x0)
write(r0, &(0x7f0000000000)='270', 0x3)
mkdirat(0xffffffffffffff9c, &(0x7f0000000140)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000480)='./config\x00', &(0x7f0000000500)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000540)='./config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffffffffffff9c, &(0x7f0000000580)='./config/usb_gadget/g1/functions/ecm.usb0\x00', 0x1ff)
mkdirat(0xffffffffffffff9c, &(0x7f00000005c0)='./config/usb_gadget/g1/configs/c.1\x00', 0x1ff)
symlinkat(&(0x7f0000000600)='./config/usb_gadget/g1/functions/ecm.usb0\x00', 0xffffffffffffff9c, &(0x7f0000000640)='./config/usb_gadget/g1/configs/c.1/ecm.usb0\x00')
r1 = openat(0xffffffffffffff9c, &(0x7f0000000680)='./config/usb_gadget/g1/UDC\x00', 0x1, 0x0)
write(r1, &(0x7f00000006c0)='dummy_udc.0', 0xb)
mkdirat(0xffffffffffffff9c, &(0x7f00000001c0)='./proc\x00', 0x1ff) (async)
mount(0x0, &(0x7f0000000200)='./proc\x00', &(0x7f0000000240)='proc\x00', 0x4000, 0x0) (async)
openat(0xffffffffffffff9c, &(0x7f0000002680)='./proc/thread-self/fail-nth\x00', 0x2, 0x0) (async)
write(r0, &(0x7f0000000000)='270', 0x3) (async)
mkdirat(0xffffffffffffff9c, &(0x7f0000000140)='./config\x00', 0x1ff) (async)
mount(0x0, &(0x7f0000000480)='./config\x00', &(0x7f0000000500)='configfs\x00', 0x0, 0x0) (async)
mkdirat(0xffffffffffffff9c, &(0x7f0000000540)='./config/usb_gadget/g1\x00', 0x1ff) (async)
mkdirat(0xffffffffffffff9c, &(0x7f0000000580)='./config/usb_gadget/g1/functions/ecm.usb0\x00', 0x1ff) (async)
mkdirat(0xffffffffffffff9c, &(0x7f00000005c0)='./config/usb_gadget/g1/configs/c.1\x00', 0x1ff) (async)
symlinkat(&(0x7f0000000600)='./config/usb_gadget/g1/functions/ecm.usb0\x00', 0xffffffffffffff9c, &(0x7f0000000640)='./config/usb_gadget/g1/configs/c.1/ecm.usb0\x00') (async)
openat(0xffffffffffffff9c, &(0x7f0000000680)='./config/usb_gadget/g1/UDC\x00', 0x1, 0x0) (async)
write(r1, &(0x7f00000006c0)='dummy_udc.0', 0xb) (async)
[ 86.829692][ T4650] Bluetooth: hci0: command tx timeout
[ 86.989384][ T5335] FAULT_INJECTION: forcing a failure.
[ 86.989384][ T5335] name failslab, interval 1, probability 0, space 0, times 1
[ 86.989403][ T5335] CPU: 0 UID: 0 PID: 5335 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
[ 86.989413][ T5335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 86.989418][ T5335] Call Trace:
[ 86.989423][ T5335]
[ 86.989427][ T5335] dump_stack_lvl+0xe8/0x150
[ 86.989483][ T5335] should_fail_ex+0x410/0x560
[ 86.989544][ T5335] should_failslab+0xa8/0x100
[ 86.989556][ T5335] __kmalloc_node_track_caller_noprof+0xfb/0x720
[ 86.989566][ T5335] ? kobject_set_name_vargs+0x61/0x110
[ 86.989610][ T5335] ? kobject_set_name_vargs+0x61/0x110
[ 86.989623][ T5335] kvasprintf+0xeb/0x1a0
[ 86.989636][ T5335] ? __pfx_kvasprintf+0x10/0x10
[ 86.989651][ T5335] ? kvasprintf_const+0xe1/0x240
[ 86.989663][ T5335] kobject_set_name_vargs+0x61/0x110
[ 86.989692][ T5335] kobject_init_and_add+0xee/0x1a0
[ 86.989702][ T5335] ? register_netdevice+0x1433/0x1eb0
[ 86.989718][ T5335] ? register_netdev+0x40/0x60
[ 86.989725][ T5335] ? gether_register_netdev+0x84/0x180
[ 86.989740][ T5335] ? ecm_bind+0x201/0xa30
[ 86.989748][ T5335] ? __pfx_kobject_init_and_add+0x10/0x10
[ 86.989757][ T5335] ? driver_probe_device+0x4f/0x240
[ 86.989773][ T5335] ? driver_register+0x23a/0x320
[ 86.989795][ T5335] netdev_queue_update_kobjects+0x249/0x6b0
[ 86.989816][ T5335] netdev_register_kobject+0x277/0x350
[ 86.989828][ T5335] register_netdevice+0x1433/0x1eb0
[ 86.989848][ T5335] ? __pfx_register_netdevice+0x10/0x10
[ 86.989863][ T5335] ? __hw_addr_insert+0x1f8/0x220
[ 86.989880][ T5335] ? dev_addr_mod+0x1ba/0x350
[ 86.989893][ T5335] register_netdev+0x40/0x60
[ 86.989901][ T5335] gether_register_netdev+0x84/0x180
[ 86.989912][ T5335] ecm_bind+0x201/0xa30
[ 86.989923][ T5335] usb_add_function+0x2e1/0x9f0
[ 86.989950][ T5335] ? check_remote_wakeup_config+0x58/0x1c0
[ 86.989962][ T5335] configfs_composite_bind+0xde0/0x1410
[ 86.989979][ T5335] ? __pfx_configfs_composite_bind+0x10/0x10
[ 86.989989][ T5335] gadget_bind_driver+0x2ca/0x9e0
[ 86.990004][ T5335] ? __pfx_gadget_bind_driver+0x10/0x10
[ 86.990012][ T5335] really_probe+0x254/0xae0
[ 86.990025][ T5335] __driver_probe_device+0x1e8/0x360
[ 86.990037][ T5335] driver_probe_device+0x4f/0x240
[ 86.990048][ T5335] __driver_attach+0x339/0x600
[ 86.990060][ T5335] bus_for_each_dev+0x23b/0x2c0
[ 86.990068][ T5335] ? __pfx___driver_attach+0x10/0x10
[ 86.990078][ T5335] ? __pfx_bus_for_each_dev+0x10/0x10
[ 86.990088][ T5335] ? do_raw_spin_unlock+0x4d/0x200
[ 86.990102][ T5335] bus_add_driver+0x345/0x670
[ 86.990114][ T5335] driver_register+0x23a/0x320
[ 86.990126][ T5335] usb_gadget_register_driver_owner+0xf9/0x270
[ 86.990137][ T5335] gadget_dev_desc_UDC_store+0x1c9/0x2f0
[ 86.990149][ T5335] ? __pfx_gadget_dev_desc_UDC_store+0x10/0x10
[ 86.990164][ T5335] configfs_write_iter+0x337/0x430
[ 86.990180][ T5335] vfs_write+0x612/0xba0
[ 86.990202][ T5335] ? __pfx_vfs_write+0x10/0x10
[ 86.990218][ T5335] ? __fget_files+0x2a/0x420
[ 86.990233][ T5335] ksys_write+0x150/0x270
[ 86.990245][ T5335] ? __pfx_ksys_write+0x10/0x10
[ 86.990261][ T5335] do_syscall_64+0x166/0x520
[ 86.990293][ T5335] ? trace_irq_disable+0x3b/0x140
[ 86.990302][ T5335] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 86.990310][ T5335] ? clear_bhb_loop+0x70/0xc0
[ 86.990320][ T5335] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 86.990328][ T5335] RIP: 0033:0x7fea3db9e559
[ 86.990337][ T5335] 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
[ 86.990344][ T5335] RSP: 002b:00007fea3ea26fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 86.990354][ T5335] RAX: ffffffffffffffda RBX: 00007fea3de25fa0 RCX: 00007fea3db9e559
[ 86.990360][ T5335] RDX: 000000000000000b RSI: 00002000000006c0 RDI: 0000000000000004
[ 86.990366][ T5335] RBP: 00007fea3dc35ab8 R08: 0000000000000000 R09: 0000000000000000
[ 86.990378][ T5335] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 86.990384][ T5335] R13: 00007fea3de26038 R14: 00007fea3de25fa0 R15: 00007ffed81441d8
[ 86.990405][ T5335]
[ 86.991689][ T5335] kobject: can not set name properly!
[ 87.272260][ T1368] cfg80211: failed to load regulatory.db
[ 87.300353][ T5335] udc dummy_udc.0: failed to start g1: -12
[ 87.300375][ T5335] configfs-gadget.g1 gadget.0: probe with driver configfs-gadget.g1 failed with error -12
[ 87.321474][ T5335] UDC core: g1: couldn't find an available UDC or it's busy
[ 87.324671][ T5341] ------------[ cut here ]------------
[ 87.324680][ T5341] kernel BUG at net/core/dev.c:11443!
[ 87.334249][ T5341] Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
[ 87.337032][ T5341] CPU: 0 UID: 0 PID: 5341 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
[ 87.340721][ T5341] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 87.344810][ T5341] RIP: 0010:register_netdevice+0x1e94/0x1eb0
[ 87.347301][ T5341] Code: ff 44 89 f1 80 e1 07 38 c1 0f 8c be fb ff ff 4c 89 f7 e8 2f a5 82 f8 e9 b1 fb ff ff e8 85 29 10 f8 90 0f 0b e8 7d 29 10 f8 90 <0f> 0b e8 75 29 10 f8 90 0f 0b e8 6d 29 10 f8 41 be 42 00 00 00 e9
[ 87.355472][ T5341] RSP: 0018:ffffc9000e3c7580 EFLAGS: 00010293
[ 87.357961][ T5341] RAX: ffffffff89b7f8b3 RBX: 1ffff92001c78ec4 RCX: ffff88803535cb00
[ 87.361343][ T5341] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000
[ 87.364711][ T5341] RBP: ffffc9000e3c7700 R08: ffffffff91258127 R09: 1ffffffff224b024
[ 87.368047][ T5341] R10: dffffc0000000000 R11: fffffbfff224b025 R12: ffff888038740f10
[ 87.371314][ T5341] R13: dffffc0000000000 R14: 0000000000000003 R15: ffff888038740000
[ 87.374660][ T5341] FS: 00007fea39ff56c0(0000) GS:ffff88808b0b4000(0000) knlGS:0000000000000000
[ 87.378087][ T5341] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 87.380781][ T5341] CR2: 000055f63dfdc808 CR3: 000000001e4fe000 CR4: 0000000000352ef0
[ 87.384022][ T5341] Call Trace:
[ 87.385564][ T5341]
[ 87.386818][ T5341] ? trace_contention_end+0x3d/0x140
[ 87.388996][ T5341] ? __mutex_lock+0x30b/0x1550
[ 87.391025][ T5341] ? register_netdev+0x18/0x60
[ 87.393342][ T5341] ? __pfx___mutex_lock+0x10/0x10
[ 87.395244][ T5341] ? __pfx_register_netdevice+0x10/0x10
[ 87.397368][ T5341] ? __hw_addr_insert+0x1f8/0x220
[ 87.399407][ T5341] ? dev_addr_mod+0x174/0x350
[ 87.401330][ T5341] ? dev_addr_mod+0x1ba/0x350
[ 87.403328][ T5341] register_netdev+0x40/0x60
[ 87.405304][ T5341] gether_register_netdev+0x84/0x180
[ 87.407457][ T5341] ecm_bind+0x201/0xa30
[ 87.409196][ T5341] ? rcu_is_watching+0x16/0xb0
[ 87.411073][ T5341] usb_add_function+0x2e1/0x9f0
[ 87.413060][ T5341] ? check_remote_wakeup_config+0x58/0x1c0
[ 87.415405][ T5341] configfs_composite_bind+0xde0/0x1410
[ 87.417604][ T5341] ? __pfx_configfs_composite_bind+0x10/0x10
[ 87.419978][ T5341] gadget_bind_driver+0x2ca/0x9e0
[ 87.422031][ T5341] ? __pfx_gadget_bind_driver+0x10/0x10
[ 87.424274][ T5341] really_probe+0x254/0xae0
[ 87.426110][ T5341] __driver_probe_device+0x1e8/0x360
[ 87.428260][ T5341] driver_probe_device+0x4f/0x240
[ 87.430233][ T5341] __driver_attach+0x339/0x600
[ 87.432115][ T5341] bus_for_each_dev+0x23b/0x2c0
[ 87.434100][ T5341] ? __pfx___driver_attach+0x10/0x10
[ 87.436200][ T5341] ? __pfx_bus_for_each_dev+0x10/0x10
[ 87.438517][ T5341] ? do_raw_spin_unlock+0x4d/0x200
[ 87.440870][ T5341] bus_add_driver+0x345/0x670
[ 87.442989][ T5341] driver_register+0x23a/0x320
[ 87.445086][ T5341] usb_gadget_register_driver_owner+0xf9/0x270
[ 87.447776][ T5341] gadget_dev_desc_UDC_store+0x1c9/0x2f0
[ 87.449925][ T5341] ? __pfx_gadget_dev_desc_UDC_store+0x10/0x10
[ 87.452604][ T5341] configfs_write_iter+0x337/0x430
[ 87.454906][ T5341] vfs_write+0x612/0xba0
[ 87.456780][ T5341] ? __pfx_vfs_write+0x10/0x10
[ 87.458778][ T5341] ? __fget_files+0x2a/0x420
[ 87.460890][ T5341] ksys_write+0x150/0x270
[ 87.462881][ T5341] ? __pfx_ksys_write+0x10/0x10
[ 87.465124][ T5341] ? __cpu_to_node+0x41/0xe0
[ 87.467252][ T5341] do_syscall_64+0x166/0x520
[ 87.469338][ T5341] ? trace_irq_disable+0x3b/0x140
[ 87.471529][ T5341] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 87.474198][ T5341] ? clear_bhb_loop+0x70/0xc0
[ 87.476249][ T5341] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 87.478911][ T5341] RIP: 0033:0x7fea3db9e559
[ 87.480890][ T5341] 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
[ 87.489485][ T5341] RSP: 002b:00007fea39ff4fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 87.492820][ T5341] RAX: ffffffffffffffda RBX: 00007fea3de26540 RCX: 00007fea3db9e559
[ 87.496092][ T5341] RDX: 000000000000000b RSI: 00002000000006c0 RDI: 0000000000000004
[ 87.499605][ T5341] RBP: 00007fea3dc35ab8 R08: 0000000000000000 R09: 0000000000000000
[ 87.502794][ T5341] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 87.506035][ T5341] R13: 00007fea3de265d8 R14: 00007fea3de26540 R15: 00007ffed81441d8
[ 87.509546][ T5341]
[ 87.510943][ T5341] Modules linked in:
[ 87.513038][ T5341] ---[ end trace 0000000000000000 ]---
[ 87.542191][ T5341] RIP: 0010:register_netdevice+0x1e94/0x1eb0
[ 87.542224][ T5341] Code: ff 44 89 f1 80 e1 07 38 c1 0f 8c be fb ff ff 4c 89 f7 e8 2f a5 82 f8 e9 b1 fb ff ff e8 85 29 10 f8 90 0f 0b e8 7d 29 10 f8 90 <0f> 0b e8 75 29 10 f8 90 0f 0b e8 6d 29 10 f8 41 be 42 00 00 00 e9
[ 87.542235][ T5341] RSP: 0018:ffffc9000e3c7580 EFLAGS: 00010293
[ 87.542247][ T5341] RAX: ffffffff89b7f8b3 RBX: 1ffff92001c78ec4 RCX: ffff88803535cb00
[ 87.542255][ T5341] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000
[ 87.542262][ T5341] RBP: ffffc9000e3c7700 R08: ffffffff91258127 R09: 1ffffffff224b024
[ 87.542270][ T5341] R10: dffffc0000000000 R11: fffffbfff224b025 R12: ffff888038740f10
[ 87.542278][ T5341] R13: dffffc0000000000 R14: 0000000000000003 R15: ffff888038740000
[ 87.542286][ T5341] FS: 00007fea39ff56c0(0000) GS:ffff88808b0b4000(0000) knlGS:0000000000000000
[ 87.542295][ T5341] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 87.542303][ T5341] CR2: 00007f0ed0938fb3 CR3: 000000001e4fe000 CR4: 0000000000352ef0
[ 87.542353][ T5341] Kernel panic - not syncing: Fatal exception
[ 87.588503][ T5341] Kernel Offset: disabled
[ 87.590264][ T5341] Rebooting in 86400 seconds..