program: mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000000080)='./config/usb_gadget/g1\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./proc\x00', 0x1ff) mount(&(0x7f0000000040)=@filename='none\x00', &(0x7f0000000080)='./proc\x00', &(0x7f00000000c0)='proc\x00', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000140)='./proc/sys/net/ipv6/fib_multipath_hash_policy\x00', 0x1, 0x0) (async) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./proc/sys/net/ipv6/fib_multipath_hash_policy\x00', 0x1, 0x0) write(r0, &(0x7f0000000200)='2\x00', 0x1) r1 = socket$nl_xfrm(0x10, 0x3, 0x6) bind$netlink(r1, &(0x7f00000000c0)={0x10, 0x0, 0x0, 0x8822d55593a2179}, 0xc) (async) bind$netlink(r1, &(0x7f00000000c0)={0x10, 0x0, 0x0, 0x8822d55593a2179}, 0xc) socket$inet6(0xa, 0x3, 0x2f) (async) r2 = socket$inet6(0xa, 0x3, 0x2f) setsockopt$inet6_IPV6_XFRM_POLICY(r2, 0x29, 0x23, &(0x7f0000000680)={{{@in=@initdev={0xac, 0x1e, 0x0, 0x0}, @in=@multicast1, 0xfffc, 0x0, 0x0, 0x0, 0xa}, {0x10000000000000, 0x0, 0x0, 0x2, 0xfa2}, {}, 0x0, 0x0, 0x1, 0x0, 0x5}, {{@in=@empty, 0x4d6, 0x6c}, 0x0, @in6=@empty, 0x0, 0x0, 0x2, 0x2}}, 0xe8) connect$inet6(r2, &(0x7f0000000040)={0xa, 0x0, 0x0, @loopback}, 0x1c) syz_emit_ethernet(0x3e, &(0x7f00000016c0)=ANY=[@ANYBLOB="e33110495bfdaaaaaaaaaa0086000000003e00083a00fe800000000000000000000000000000fe8000000000000000000000000000aa8000907800000000"], 0x0) (async) syz_emit_ethernet(0x3e, &(0x7f00000016c0)=ANY=[@ANYBLOB="e33110495bfdaaaaaaaaaa0086000000003e00083a00fe800000000000000000000000000000fe8000000000000000000000000000aa8000907800000000"], 0x0) r3 = openat$zero(0xffffffffffffff9c, &(0x7f00000000c0), 0x5d9f02, 0x0) accept4$phonet_pipe(r3, 0x0, 0x0, 0x40800) mkdirat(0xffffffffffffff9c, &(0x7f0000000100)='./config/usb_gadget/g1/functions/uac1_legacy.usb0\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f0000000180)='./config/usb_gadget/g1/configs/c.1\x00', 0x1ff) (async) mkdirat(0xffffffffffffff9c, &(0x7f0000000180)='./config/usb_gadget/g1/configs/c.1\x00', 0x1ff) symlinkat(&(0x7f0000000200)='./config/usb_gadget/g1/functions/uac1_legacy.usb0\x00', 0xffffffffffffff9c, &(0x7f0000000280)='./config/usb_gadget/g1/configs/c.1/uac1_legacy.usb0\x00') (async) symlinkat(&(0x7f0000000200)='./config/usb_gadget/g1/functions/uac1_legacy.usb0\x00', 0xffffffffffffff9c, &(0x7f0000000280)='./config/usb_gadget/g1/configs/c.1/uac1_legacy.usb0\x00') r4 = openat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1/UDC\x00', 0x1, 0x0) ioctl$FIOCLEX(r3, 0x5451) write(r4, &(0x7f0000000400)='dummy_udc.0\n\x00', 0xc) (async) write(r4, &(0x7f0000000400)='dummy_udc.0\n\x00', 0xc) nanosleep(&(0x7f0000000500)={0x0, 0x2faf080}, 0x0) [ 105.550470][ T4641] Bluetooth: hci0: command tx timeout [ 105.725016][ T5320] configfs-gadget.g1 gadget.0: Hardware params: access 3, format 2, channels 2, rate 48000 [ 105.735454][ T5320] udc dummy_udc.0: failed to start g1: -19 [ 105.746937][ T5320] UDC core: g1: couldn't find an available UDC or it's busy [ 105.756742][ T5319] slab filp start ffff88801faa5000 pointer offset 0 size 352 [ 105.764040][ T5319] VFS: Close: file count is 0 (f_op=snd_ctl_f_ops) [ 105.764334][ T5319] ------------[ cut here ]------------ [ 105.769433][ T5319] kernel BUG at fs/open.c:1466! [ 105.777072][ T5319] Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI [ 105.780007][ T5319] CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 105.783682][ T5319] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 105.788380][ T5319] RIP: 0010:filp_flush+0x184/0x190 [ 105.791161][ T5319] Code: 48 83 c3 48 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 1c 06 ee ff 48 8b 33 48 c7 c7 40 8d fe 8b e8 bd 78 df fe 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 [ 105.799590][ T5319] RSP: 0018:ffffc9000f4576b8 EFLAGS: 00010246 [ 105.802050][ T5319] RAX: 0000000000000030 RBX: ffff88801faa5048 RCX: 89345876f1a27f00 [ 105.805132][ T5319] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 105.809112][ T5319] RBP: ffffc9000f4577d8 R08: ffff88801fc24713 R09: 1ffff11003f848e2 [ 105.813202][ T5319] R10: dffffc0000000000 R11: ffffed1003f848e3 R12: dffffc0000000000 [ 105.816508][ T5319] R13: ffff888012e62528 R14: 0000000000000000 R15: 0000000000000003 [ 105.819906][ T5319] FS: 00007f07f762a6c0(0000) GS:ffff88808c53e000(0000) knlGS:0000000000000000 [ 105.823883][ T5319] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 105.827329][ T5319] CR2: 00007f07f69f2de8 CR3: 0000000012f56000 CR4: 0000000000352ef0 [ 105.831021][ T5319] Call Trace: [ 105.832401][ T5319] [ 105.833682][ T5319] filp_close+0x1d/0x40 [ 105.835455][ T5319] gaudio_cleanup+0x54/0xf0 [ 105.837517][ T5319] f_audio_bind+0x4a0/0x630 [ 105.839542][ T5319] ? __pfx_f_audio_bind+0x10/0x10 [ 105.841944][ T5319] ? rcu_is_watching+0x15/0xb0 [ 105.844317][ T5319] ? usb_gadget_set_selfpowered+0xf5/0x260 [ 105.847073][ T5319] usb_add_function+0x2e1/0x9f0 [ 105.849112][ T5319] ? check_remote_wakeup_config+0x58/0x1c0 [ 105.851623][ T5319] configfs_composite_bind+0xde0/0x1410 [ 105.853926][ T5319] ? __pfx_configfs_composite_bind+0x10/0x10 [ 105.857156][ T5319] gadget_bind_driver+0x2ca/0x9e0 [ 105.860208][ T5319] ? __pfx_gadget_bind_driver+0x10/0x10 [ 105.862419][ T5319] really_probe+0x254/0xae0 [ 105.864334][ T5319] __driver_probe_device+0x1e8/0x360 [ 105.866539][ T5319] driver_probe_device+0x4f/0x240 [ 105.868781][ T5319] __driver_attach+0x339/0x600 [ 105.870966][ T5319] bus_for_each_dev+0x23b/0x2c0 [ 105.873491][ T5319] ? __pfx___driver_attach+0x10/0x10 [ 105.876193][ T5319] ? __pfx_bus_for_each_dev+0x10/0x10 [ 105.878864][ T5319] ? do_raw_spin_unlock+0x4d/0x210 [ 105.881130][ T5319] bus_add_driver+0x345/0x670 [ 105.883151][ T5319] driver_register+0x23a/0x320 [ 105.885234][ T5319] usb_gadget_register_driver_owner+0xf9/0x270 [ 105.888108][ T5319] gadget_dev_desc_UDC_store+0x1c9/0x2f0 [ 105.891278][ T5319] ? __pfx_gadget_dev_desc_UDC_store+0x10/0x10 [ 105.894279][ T5319] configfs_write_iter+0x337/0x430 [ 105.896502][ T5319] vfs_write+0x612/0xba0 [ 105.898329][ T5319] ? __pfx_vfs_write+0x10/0x10 [ 105.900286][ T5319] ? __fget_files+0x2a/0x420 [ 105.902211][ T5319] ksys_write+0x150/0x270 [ 105.904196][ T5319] ? __pfx_ksys_write+0x10/0x10 [ 105.906417][ T5319] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 105.909238][ T5319] do_syscall_64+0x174/0x580 [ 105.911465][ T5319] ? trace_irq_disable+0x3b/0x140 [ 105.913902][ T5319] ? clear_bhb_loop+0x70/0xc0 [ 105.916401][ T5319] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 105.919378][ T5319] RIP: 0033:0x7f07f679e0d9 [ 105.921633][ T5319] 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 [ 105.931608][ T5319] RSP: 002b:00007f07f7629fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 105.935324][ T5319] RAX: ffffffffffffffda RBX: 00007f07f6a25fa0 RCX: 00007f07f679e0d9 [ 105.938708][ T5319] RDX: 000000000000000c RSI: 0000200000000400 RDI: 0000000000000008 [ 105.942114][ T5319] RBP: 00007f07f6835024 R08: 0000000000000000 R09: 0000000000000000 [ 105.945573][ T5319] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 105.949538][ T5319] R13: 00007f07f6a26038 R14: 00007f07f6a25fa0 R15: 00007ffe293d7a08 [ 105.953140][ T5319] [ 105.954547][ T5319] Modules linked in: [ 105.956828][ T5319] ---[ end trace 0000000000000000 ]--- [ 105.967192][ T5319] RIP: 0010:filp_flush+0x184/0x190 [ 105.970123][ T5319] Code: 48 83 c3 48 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 1c 06 ee ff 48 8b 33 48 c7 c7 40 8d fe 8b e8 bd 78 df fe 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 [ 105.979487][ T5319] RSP: 0018:ffffc9000f4576b8 EFLAGS: 00010246 [ 105.984440][ T5319] RAX: 0000000000000030 RBX: ffff88801faa5048 RCX: 89345876f1a27f00 [ 105.988517][ T5319] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 105.992185][ T5319] RBP: ffffc9000f4577d8 R08: ffff88801fc24713 R09: 1ffff11003f848e2 [ 105.995682][ T5319] R10: dffffc0000000000 R11: ffffed1003f848e3 R12: dffffc0000000000 [ 105.999100][ T5319] R13: ffff888012e62528 R14: 0000000000000000 R15: 0000000000000003 [ 106.003099][ T5319] FS: 00007f07f762a6c0(0000) GS:ffff88808c53e000(0000) knlGS:0000000000000000 [ 106.007442][ T5319] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 106.011339][ T5319] CR2: 00007f07f75e7fe8 CR3: 0000000012f56000 CR4: 0000000000352ef0 [ 106.014832][ T5319] Kernel panic - not syncing: Fatal exception [ 106.017984][ T5319] Kernel Offset: disabled [ 106.020129][ T5319] Rebooting in 86400 seconds..