program: mkdir(&(0x7f0000000000)='./config\x00', 0x1ff) (async) mkdir(&(0x7f0000000000)='./config\x00', 0x1ff) mount(0x0, &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0) (async) mount(0x0, &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0) mkdir(&(0x7f0000000800)='./config/usb_gadget/g1\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./cgroup.cpu/test\x00', 0x777) openat(0xffffffffffffff9c, &(0x7f0000000140)='./cgroup.cpu/test/memory.limit_in_bytes\x00', 0x2, 0x0) (async) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./cgroup.cpu/test/memory.limit_in_bytes\x00', 0x2, 0x0) write(r0, &(0x7f0000000380)='100000', 0x6) openat(0xffffffffffffff9c, &(0x7f00000001c0)='./cgroup.cpu/test/memory.oom_control\x00', 0x2, 0x0) (async) r1 = openat(0xffffffffffffff9c, &(0x7f00000001c0)='./cgroup.cpu/test/memory.oom_control\x00', 0x2, 0x0) write(r1, &(0x7f0000000200)='1', 0x1) r2 = openat(0xffffffffffffff9c, &(0x7f0000000240)='./cgroup.cpu/test/cgroup.procs\x00', 0x2, 0x0) write(r2, &(0x7f0000000280)='0', 0x1) socket$nl_generic(0x10, 0x3, 0x10) socket$netlink(0x10, 0x3, 0x0) syz_open_procfs(0x0, &(0x7f0000000080)='net/anycast6\x00') mkdirat(0xffffffffffffff9c, &(0x7f0000000340)='./config/usb_gadget/g1/configs/c.1\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f00000003c0)='./config/usb_gadget/g1/functions/midi.usb0\x00', 0x1ff) symlinkat(&(0x7f0000000580)='./config/usb_gadget/g1/functions/midi.usb0\x00', 0xffffffffffffff9c, &(0x7f00000005c0)='./config/usb_gadget/g1/configs/c.1/midi.usb0\x00') r3 = socket$nl_generic(0x10, 0x3, 0x10) r4 = syz_genetlink_get_family_id$nl80211(&(0x7f0000000040), 0xffffffffffffffff) ioctl$sock_SIOCGIFINDEX_80211(r3, 0x8933, &(0x7f0000000400)={'wlan0\x00', 0x0}) sendmsg$NL80211_CMD_CONTROL_PORT_FRAME(r3, &(0x7f0000003700)={0x0, 0x0, &(0x7f0000000080)={&(0x7f0000002840)={0x44, r4, 0x1, 0x0, 0x0, {{}, {@val={0x8, 0x3, r5}, @void}}, [@NL80211_ATTR_MAC={0xa, 0x6, @device_b}, @NL80211_ATTR_FRAME={0x1c, 0x33, @data_frame={@msdu=@type10={{}, {}, @from_mac, @device_b, @broadcast}}}]}, 0x44}}, 0x0) ioctl$sock_SIOCGIFINDEX_80211(0xffffffffffffffff, 0x8933, &(0x7f00000000c0)={'wlan1\x00'}) (async) ioctl$sock_SIOCGIFINDEX_80211(0xffffffffffffffff, 0x8933, &(0x7f00000000c0)={'wlan1\x00', 0x0}) sendmsg$NL80211_CMD_DISCONNECT(r1, &(0x7f00000002c0)={&(0x7f0000000040)={0x10, 0x0, 0x0, 0x800}, 0xc, &(0x7f0000000180)={&(0x7f0000000100)={0x3c, r4, 0x800, 0x70bd26, 0x25dfdbfc, {{}, {@val={0x8, 0x3, r6}, @void}}, [@NL80211_ATTR_REASON_CODE={0x6, 0x36, 0xc}, @NL80211_ATTR_REASON_CODE={0x6, 0x36, 0x1}, @NL80211_ATTR_REASON_CODE={0x6, 0x36, 0x1}, @NL80211_ATTR_REASON_CODE={0x6, 0x36, 0x19}]}, 0x3c}, 0x1, 0x0, 0x0, 0x20004880}, 0x8004) mkdir(&(0x7f0000000e00)='./config/usb_gadget/g1/functions/ncm.usb0\x00', 0x1ff) (async) mkdir(&(0x7f0000000e00)='./config/usb_gadget/g1/functions/ncm.usb0\x00', 0x1ff) symlink(&(0x7f0000000f00)='./config/usb_gadget/g1/functions/ncm.usb0\x00', &(0x7f0000001000)='./config/usb_gadget/g1/configs/c.1/ncm.usb0\x00') (async) symlink(&(0x7f0000000f00)='./config/usb_gadget/g1/functions/ncm.usb0\x00', &(0x7f0000001000)='./config/usb_gadget/g1/configs/c.1/ncm.usb0\x00') r7 = openat(0xffffffffffffff9c, &(0x7f0000001300)='./config/usb_gadget/g1/UDC\x00', 0x1, 0x0) write(r7, &(0x7f0000001400)='dummy_udc.0', 0xb) (async) write(r7, &(0x7f0000001400)='dummy_udc.0', 0xb) [ 120.769654][ T5287] Bluetooth: hci0: command tx timeout [ 120.958033][ T5325] oom_control is deprecated and will be removed. Please report your usecase to linux-mm-@kvack.org if you depend on this functionality. [ 121.455005][ T5325] udc dummy_udc.0: failed to start g1: -105 [ 121.459323][ T5325] configfs-gadget.g1 gadget.0: probe with driver configfs-gadget.g1 failed with error -105 [ 121.476997][ T5325] UDC core: g1: couldn't find an available UDC or it's busy [ 121.636561][ T5324] ------------[ cut here ]------------ [ 121.639595][ T5324] kernel BUG at net/core/dev.c:11340! [ 121.643729][ T5324] Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI [ 121.648312][ T5324] CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 121.653188][ T5324] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 121.658307][ T5324] RIP: 0010:register_netdevice+0x1e94/0x1eb0 [ 121.662055][ T5324] Code: ff 44 89 f1 80 e1 07 38 c1 0f 8c be fb ff ff 4c 89 f7 e8 bf c5 91 f8 e9 b1 fb ff ff e8 55 91 22 f8 90 0f 0b e8 4d 91 22 f8 90 <0f> 0b e8 45 91 22 f8 90 0f 0b e8 3d 91 22 f8 41 be 42 00 00 00 e9 [ 121.671986][ T5324] RSP: 0018:ffffc9000f37f560 EFLAGS: 00010293 [ 121.675707][ T5324] RAX: ffffffff89a48063 RBX: 1ffff92001e6fec0 RCX: ffff8880002e8000 [ 121.680287][ T5324] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000 [ 121.683886][ T5324] RBP: ffffc9000f37f6e0 R08: ffffffff9002a267 R09: 1ffffffff200544c [ 121.687950][ T5324] R10: dffffc0000000000 R11: fffffbfff200544d R12: ffff888041a30f10 [ 121.692612][ T5324] R13: dffffc0000000000 R14: 0000000000000003 R15: ffff888041a30000 [ 121.696786][ T5324] FS: 00007f395a30c6c0(0000) GS:ffff88808c549000(0000) knlGS:0000000000000000 [ 121.700673][ T5324] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 121.704418][ T5324] CR2: 00005581db7b9780 CR3: 000000003fc81000 CR4: 0000000000352ef0 [ 121.709187][ T5324] Call Trace: [ 121.710778][ T5324] [ 121.712061][ T5324] ? trace_contention_end+0x3d/0x140 [ 121.714437][ T5324] ? __mutex_lock+0x30d/0x1550 [ 121.717623][ T5324] ? register_netdev+0x18/0x60 [ 121.721084][ T5324] ? up_write+0x19f/0x4a0 [ 121.723476][ T5324] ? __pfx___mutex_lock+0x10/0x10 [ 121.725925][ T5324] ? __pfx_register_netdevice+0x10/0x10 [ 121.728685][ T5324] ? __hw_addr_insert+0x1f8/0x220 [ 121.732334][ T5324] ? dev_addr_mod+0x174/0x350 [ 121.735754][ T5324] ? dev_addr_mod+0x1ba/0x350 [ 121.738516][ T5324] register_netdev+0x40/0x60 [ 121.740650][ T5324] gether_register_netdev+0x84/0x180 [ 121.743100][ T5324] ncm_bind+0x717/0xdc0 [ 121.745028][ T5324] ? rcu_is_watching+0x15/0xb0 [ 121.747577][ T5324] usb_add_function+0x2e1/0x9f0 [ 121.750259][ T5324] ? check_remote_wakeup_config+0x58/0x1c0 [ 121.753419][ T5324] configfs_composite_bind+0xde0/0x1410 [ 121.755792][ T5324] ? __pfx_configfs_composite_bind+0x10/0x10 [ 121.758639][ T5324] gadget_bind_driver+0x2ca/0x9e0 [ 121.761232][ T5324] ? __pfx_gadget_bind_driver+0x10/0x10 [ 121.764829][ T5324] really_probe+0x254/0xae0 [ 121.767753][ T5324] __driver_probe_device+0x1e8/0x360 [ 121.770389][ T5324] driver_probe_device+0x4f/0x240 [ 121.773033][ T5324] __driver_attach+0x339/0x600 [ 121.776239][ T5324] bus_for_each_dev+0x23b/0x2c0 [ 121.779317][ T5324] ? __pfx___driver_attach+0x10/0x10 [ 121.782228][ T5324] ? __pfx_bus_for_each_dev+0x10/0x10 [ 121.785151][ T5324] ? do_raw_spin_unlock+0x4d/0x210 [ 121.788480][ T5324] bus_add_driver+0x345/0x670 [ 121.791393][ T5324] driver_register+0x23a/0x320 [ 121.793825][ T5324] usb_gadget_register_driver_owner+0xf9/0x270 [ 121.796751][ T5324] gadget_dev_desc_UDC_store+0x1c9/0x2f0 [ 121.799759][ T5324] ? __pfx_gadget_dev_desc_UDC_store+0x10/0x10 [ 121.804125][ T5324] configfs_write_iter+0x337/0x430 [ 121.806876][ T5324] vfs_write+0x612/0xba0 [ 121.808960][ T5324] ? __pfx_vfs_write+0x10/0x10 [ 121.811846][ T5324] ? __fget_files+0x2a/0x420 [ 121.814514][ T5324] ksys_write+0x150/0x270 [ 121.817749][ T5324] ? __pfx_ksys_write+0x10/0x10 [ 121.821245][ T5324] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 121.824324][ T5324] do_syscall_64+0x174/0x580 [ 121.826455][ T5324] ? clear_bhb_loop+0x70/0xc0 [ 121.828554][ T5324] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 121.831334][ T5324] RIP: 0033:0x7f395939e0d9 [ 121.833868][ T5324] 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 [ 121.843443][ T5324] RSP: 002b:00007f395a30bfe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 121.847113][ T5324] RAX: ffffffffffffffda RBX: 00007f3959625fa0 RCX: 00007f395939e0d9 [ 121.851249][ T5324] RDX: 000000000000000b RSI: 0000200000001400 RDI: 000000000000000c [ 121.855215][ T5324] RBP: 00007f3959435024 R08: 0000000000000000 R09: 0000000000000000 [ 121.858796][ T5324] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 121.862707][ T5324] R13: 00007f3959626038 R14: 00007f3959625fa0 R15: 00007ffdaeb1dd38 [ 121.867839][ T5324] [ 121.869828][ T5324] Modules linked in: [ 121.872732][ T5324] ---[ end trace 0000000000000000 ]--- [ 121.884832][ T5324] RIP: 0010:register_netdevice+0x1e94/0x1eb0 [ 121.887355][ T5324] Code: ff 44 89 f1 80 e1 07 38 c1 0f 8c be fb ff ff 4c 89 f7 e8 bf c5 91 f8 e9 b1 fb ff ff e8 55 91 22 f8 90 0f 0b e8 4d 91 22 f8 90 <0f> 0b e8 45 91 22 f8 90 0f 0b e8 3d 91 22 f8 41 be 42 00 00 00 e9 [ 121.897473][ T5324] RSP: 0018:ffffc9000f37f560 EFLAGS: 00010293 [ 121.900202][ T5324] RAX: ffffffff89a48063 RBX: 1ffff92001e6fec0 RCX: ffff8880002e8000 [ 121.903900][ T5324] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000 [ 121.908924][ T5324] RBP: ffffc9000f37f6e0 R08: ffffffff9002a267 R09: 1ffffffff200544c [ 121.913731][ T5324] R10: dffffc0000000000 R11: fffffbfff200544d R12: ffff888041a30f10 [ 121.917782][ T5324] R13: dffffc0000000000 R14: 0000000000000003 R15: ffff888041a30000 [ 121.922433][ T5324] FS: 00007f395a30c6c0(0000) GS:ffff88808c549000(0000) knlGS:0000000000000000 [ 121.928360][ T5324] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 121.931648][ T5324] CR2: 00005581db7b9780 CR3: 000000003fc81000 CR4: 0000000000352ef0 [ 121.936646][ T5324] Kernel panic - not syncing: Fatal exception [ 121.940408][ T5324] Kernel Offset: disabled [ 121.942510][ T5324] Rebooting in 86400 seconds..