program: mkdir(&(0x7f0000000000)='./config\x00', 0x1ff) (async) mkdir(&(0x7f0000000000)='./config\x00', 0x1ff) 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) (async) 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) 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$netlink(0x10, 0x3, 0x0) syz_open_procfs(0x0, &(0x7f0000000080)='net/anycast6\x00') mkdirat(0xffffffffffffff9c, &(0x7f0000000340)='./config/usb_gadget/g1/configs/c.1\x00', 0x1ff) (async) mkdirat(0xffffffffffffff9c, &(0x7f0000000340)='./config/usb_gadget/g1/configs/c.1\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f00000003c0)='./config/usb_gadget/g1/functions/midi.usb0\x00', 0x1ff) (async) 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') 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') bpf$PROG_LOAD(0x5, &(0x7f0000000180)={0x1, 0x4, &(0x7f0000000000)=@framed={{0x18, 0x0, 0x0, 0x0, 0xfffffffe, 0x0, 0x0, 0x0, 0x5}, [@ldst={0x1, 0x2, 0x3, 0x0, 0x1, 0x50}]}, &(0x7f0000000100)='syzkaller\x00', 0x0, 0x0, 0x0, 0x40f00, 0x0, '\x00', 0x0, @fallback, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, 0x90) r3 = openat$sequencer(0xffffffffffffff9c, &(0x7f0000000040), 0x8002, 0x0) write$P9_RSTATu(r3, &(0x7f0000000580)={0x237, 0x7d, 0x2, {{0x500, 0xf6, 0x0, 0x5000000, {0x0, 0x0, 0x8}, 0x41400000, 0x0, 0xe5e0, 0x5, 0x1b, '\x04nodev{evoo~\x05E\xc6\x00\x05\b\x007\xd9:\x8b\x92\x00\x00\x00', 0x33, 'pJ\x86\xce\xc6\x02\x00}\xfag>\xff\xeb\t\xb55\x1f[\xde\x05@\x00\x00\x00\x00\x18{\x82\x00\xb5\x00\x00+Y_\xcb\x14\x03\xf1\x96\xa5\x1c\xd5\x15z\xdc\x81\x03\xb4\x94\xe1', 0x37, '\xcf\xc3m\a\xc5\x00\xf0L\xd8_*p\xf5\xe9\x93\x0e^\x98\x9c\xd5\xefMQ\xf6\r\xa7X,J\x05\xc8\xf8(\xf6\x8d\xc1wM]\xe2\xe8 \x86#\x81\xf6hm\xd1\xbb\x8f\xd7\x00\x00\x00', 0x3e, '\xf8\xf6i\xfbqm\xcf1^\xca\xf3\x85@\x9a\xc6[\x94\bg\x8c<;\x9e\x1dR\xc3l\xde{\xa4\xa4\x00\xb4\xb0w\xdct\x00\x00\x00\x00\x00\x00\x00\x00\a\xec!\xca\xbf\xf2\x0f\x9c\x00\x89\xf9\x06\x00\x00\x00\x00\x00'}, 0x12c, 'odev/n\xb1{#\x00\xf9\xda\xa5\xee#&n\xcf\x85\xfe\xa6^B\xd9y\xa3\xfd\xe5\xf4u\xda\xf0;\x13r\xd9{\xad\xc7\tZ\xfdv\xfeO\x04A\xf7\xf7t\x1e\xac\x03\x00\x00\xec\xff\x00\x00\xdb\xa0\xc2\xf7\xf0\x9f\xf5<~M\x1a\xd6n-\a\x01\x98\x01\x9f0\x11\x84G\xaa\x9at\xf5\x16\x85\xf5\x06\xae\x89H\x06\x87\x82g\xd5\xa1)\x8dy,J7\xf2\xe1\xcb\xbd$\x82\x92\x9a\r\x89r\xb5\xcfs.\xa5\xb0\xd7#\x85\x9d\xba?\x93\xae\xd3\xb4.\xe7\xca\xc0}\xe0\x9d\x1dh\xa6\x033\xa8\x82F}+1\xaa\xcd\xf9\x18\x85I\xb1\x12]lL\x9b\x18\xc2\xfbV\xc5}}\xc6&\xe49\a\x96\xa1\xebH\'Fi\xab\x13\xf8\xb1\x1d\x14`Y\xf3\x10\xe2cMY?\xece\xd5)\xf3\x82\x06fd\xdf$NL\x90W\np\x04\x9f9\x9f\x06\x1fu\xb7y|\xe1\xfe\x11\xea\x91\x96\t\xd5\x1aA\xdd=\xe3\x04\xbd|~\xd0\xa4V\xf0\xae\x12Qa\x05\xc9\xce\x88}\xf5\xa6\xe0\xb6\xa7}Yl\xf8\x8b\xa6\xe5\xc69|}P!\xd7\x98\x95(\xfd\x179\xe1\xc2\xd8\x7f\xff\x00'/300}}, 0x237) openat(0xffffffffffffff9c, &(0x7f0000001300)='./config/usb_gadget/g1/UDC\x00', 0x1, 0x0) (async) r4 = openat(0xffffffffffffff9c, &(0x7f0000001300)='./config/usb_gadget/g1/UDC\x00', 0x1, 0x0) write(r4, &(0x7f0000001400)='dummy_udc.0', 0xb) (async) write(r4, &(0x7f0000001400)='dummy_udc.0', 0xb) [ 102.311829][ T44] Bluetooth: hci0: command tx timeout [ 102.392216][ T5320] oom_control is deprecated and will be removed. Please report your usecase to linux-mm-@kvack.org if you depend on this functionality. [ 102.554797][ T5320] udc dummy_udc.0: failed to start g1: -105 [ 102.558580][ T5320] configfs-gadget.g1 gadget.0: probe with driver configfs-gadget.g1 failed with error -105 [ 102.568345][ T5320] UDC core: g1: couldn't find an available UDC or it's busy [ 102.609656][ T5322] ------------[ cut here ]------------ [ 102.613087][ T5322] kernel BUG at net/core/dev.c:11340! [ 102.616039][ T5322] Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI [ 102.618630][ T5322] CPU: 0 UID: 0 PID: 5322 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 102.622270][ T5322] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 102.626244][ T5322] RIP: 0010:register_netdevice+0x1e94/0x1eb0 [ 102.628785][ T5322] Code: ff 44 89 f1 80 e1 07 38 c1 0f 8c be fb ff ff 4c 89 f7 e8 7f c8 91 f8 e9 b1 fb ff ff e8 55 93 22 f8 90 0f 0b e8 4d 93 22 f8 90 <0f> 0b e8 45 93 22 f8 90 0f 0b e8 3d 93 22 f8 41 be 42 00 00 00 e9 [ 102.636851][ T5322] RSP: 0018:ffffc9000f5c7560 EFLAGS: 00010293 [ 102.638914][ T5322] RAX: ffffffff89a47e63 RBX: 1ffff92001eb8ec0 RCX: ffff88800033ca80 [ 102.641852][ T5322] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000 [ 102.644811][ T5322] RBP: ffffc9000f5c76e0 R08: ffffffff9002a2a7 R09: 1ffffffff2005454 [ 102.647499][ T5322] R10: dffffc0000000000 R11: fffffbfff2005455 R12: ffff888037368f10 [ 102.650159][ T5322] R13: dffffc0000000000 R14: 0000000000000003 R15: ffff888037368000 [ 102.652865][ T5322] FS: 00007f7bfd5f56c0(0000) GS:ffff88808c549000(0000) knlGS:0000000000000000 [ 102.656464][ T5322] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 102.658645][ T5322] CR2: 00007f7c01faa230 CR3: 0000000043e3f000 CR4: 0000000000352ef0 [ 102.661169][ T5322] Call Trace: [ 102.662236][ T5322] [ 102.663255][ T5322] ? trace_contention_end+0x3d/0x140 [ 102.665207][ T5322] ? __mutex_lock+0x30d/0x1550 [ 102.666823][ T5322] ? register_netdev+0x18/0x60 [ 102.668456][ T5322] ? up_write+0x19f/0x4a0 [ 102.669950][ T5322] ? __pfx___mutex_lock+0x10/0x10 [ 102.671674][ T5322] ? __pfx_register_netdevice+0x10/0x10 [ 102.673548][ T5322] ? __hw_addr_insert+0x1f8/0x220 [ 102.675252][ T5322] ? dev_addr_mod+0x174/0x350 [ 102.676862][ T5322] ? dev_addr_mod+0x1ba/0x350 [ 102.678384][ T5322] register_netdev+0x40/0x60 [ 102.679976][ T5322] gether_register_netdev+0x84/0x180 [ 102.681775][ T5322] ncm_bind+0x717/0xdc0 [ 102.683265][ T5322] ? rcu_is_watching+0x15/0xb0 [ 102.684975][ T5322] usb_add_function+0x2e1/0x9f0 [ 102.686694][ T5322] ? check_remote_wakeup_config+0x58/0x1c0 [ 102.688677][ T5322] configfs_composite_bind+0xde0/0x1410 [ 102.690553][ T5322] ? __pfx_configfs_composite_bind+0x10/0x10 [ 102.692633][ T5322] gadget_bind_driver+0x2ca/0x9e0 [ 102.694524][ T5322] ? __pfx_gadget_bind_driver+0x10/0x10 [ 102.696438][ T5322] really_probe+0x254/0xae0 [ 102.697978][ T5322] __driver_probe_device+0x1e8/0x360 [ 102.699712][ T5322] driver_probe_device+0x4f/0x240 [ 102.701610][ T5322] __driver_attach+0x339/0x600 [ 102.703332][ T5322] bus_for_each_dev+0x23b/0x2c0 [ 102.705282][ T5322] ? __pfx___driver_attach+0x10/0x10 [ 102.707292][ T5322] ? __pfx_bus_for_each_dev+0x10/0x10 [ 102.709333][ T5322] ? do_raw_spin_unlock+0x4d/0x210 [ 102.711304][ T5322] bus_add_driver+0x345/0x670 [ 102.713023][ T5322] driver_register+0x23a/0x320 [ 102.714728][ T5322] usb_gadget_register_driver_owner+0xf9/0x270 [ 102.717104][ T5322] gadget_dev_desc_UDC_store+0x1c9/0x2f0 [ 102.719699][ T5322] ? __pfx_gadget_dev_desc_UDC_store+0x10/0x10 [ 102.721815][ T5322] configfs_write_iter+0x337/0x430 [ 102.723564][ T5322] vfs_write+0x612/0xba0 [ 102.725104][ T5322] ? __pfx_vfs_write+0x10/0x10 [ 102.726727][ T5322] ? __fget_files+0x2a/0x420 [ 102.728476][ T5322] ksys_write+0x150/0x270 [ 102.730299][ T5322] ? __pfx_ksys_write+0x10/0x10 [ 102.732336][ T5322] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 102.734783][ T5322] do_syscall_64+0x174/0x580 [ 102.736733][ T5322] ? trace_irq_disable+0x3b/0x140 [ 102.738783][ T5322] ? clear_bhb_loop+0x70/0xc0 [ 102.740753][ T5322] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 102.743241][ T5322] RIP: 0033:0x7f7c0119e0d9 [ 102.745127][ 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 [ 102.753025][ T5322] RSP: 002b:00007f7bfd5f4fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 102.756562][ T5322] RAX: ffffffffffffffda RBX: 00007f7c01426180 RCX: 00007f7c0119e0d9 [ 102.759940][ T5322] RDX: 000000000000000b RSI: 0000200000001400 RDI: 000000000000000a [ 102.763258][ T5322] RBP: 00007f7c01235024 R08: 0000000000000000 R09: 0000000000000000 [ 102.766601][ T5322] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 102.769945][ T5322] R13: 00007f7c01426218 R14: 00007f7c01426180 R15: 00007ffcfc2e3168 [ 102.773381][ T5322] [ 102.774779][ T5322] Modules linked in: [ 102.777773][ T5322] ---[ end trace 0000000000000000 ]--- [ 102.786937][ T5322] RIP: 0010:register_netdevice+0x1e94/0x1eb0 [ 102.789872][ T5322] Code: ff 44 89 f1 80 e1 07 38 c1 0f 8c be fb ff ff 4c 89 f7 e8 7f c8 91 f8 e9 b1 fb ff ff e8 55 93 22 f8 90 0f 0b e8 4d 93 22 f8 90 <0f> 0b e8 45 93 22 f8 90 0f 0b e8 3d 93 22 f8 41 be 42 00 00 00 e9 [ 102.799105][ T5322] RSP: 0018:ffffc9000f5c7560 EFLAGS: 00010293 [ 102.802042][ T5322] RAX: ffffffff89a47e63 RBX: 1ffff92001eb8ec0 RCX: ffff88800033ca80 [ 102.805570][ T5322] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000 [ 102.808911][ T5322] RBP: ffffc9000f5c76e0 R08: ffffffff9002a2a7 R09: 1ffffffff2005454 [ 102.812352][ T5322] R10: dffffc0000000000 R11: fffffbfff2005455 R12: ffff888037368f10 [ 102.816055][ T5322] R13: dffffc0000000000 R14: 0000000000000003 R15: ffff888037368000 [ 102.819267][ T5322] FS: 00007f7bfd5f56c0(0000) GS:ffff88808c549000(0000) knlGS:0000000000000000 [ 102.823047][ T5322] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 102.826467][ T5322] CR2: 00007f7c01faa230 CR3: 0000000043e3f000 CR4: 0000000000352ef0 [ 102.829873][ T5322] Kernel panic - not syncing: Fatal exception [ 102.832837][ T5322] Kernel Offset: disabled [ 102.834603][ T5322] Rebooting in 86400 seconds..