program: mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff) (async) mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0) r0 = seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x0, &(0x7f0000000000)={0x1, &(0x7f0000000100)=[{0x6, 0x0, 0x4, 0x7fff0000}]}) socket$inet_tcp(0x2, 0x1, 0x6) (async) r1 = socket$inet_tcp(0x2, 0x1, 0x6) bind$inet(r1, &(0x7f0000000000)={0x2, 0x1f90, @loopback}, 0x10) listen(r1, 0x5) (async) listen(r1, 0x5) r2 = socket$inet_tcp(0x2, 0x1, 0x6) connect$inet(r2, &(0x7f0000000800)={0x2, 0x1f90, @loopback}, 0x10) r3 = accept(r1, 0x0, 0x0) setsockopt$inet_tcp_buf(r3, 0x6, 0x1f, &(0x7f0000000100)='espintcp', 0x8) syz_genetlink_get_family_id$devlink(&(0x7f0000000080), r3) close_range(r0, 0xffffffffffffffff, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000000080)='./config/usb_gadget/g1\x00', 0x1ff) (async) mkdirat(0xffffffffffffff9c, &(0x7f0000000080)='./config/usb_gadget/g1\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f0000000100)='./config/usb_gadget/g1/functions/uac1_legacy.usb0\x00', 0x1ff) (async) 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) 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) write(r4, &(0x7f0000000400)='dummy_udc.0\n\x00', 0xc) (async) write(r4, &(0x7f0000000400)='dummy_udc.0\n\x00', 0xc) nanosleep(&(0x7f0000000500)={0x0, 0x2faf080}, 0x0) [ 85.964883][ T44] Bluetooth: hci0: command tx timeout [ 86.177052][ T5331] configfs-gadget.g1 gadget.0: Hardware params: access 3, format 2, channels 2, rate 48000 [ 86.186903][ T5331] udc dummy_udc.0: failed to start g1: -19 [ 86.194840][ T5331] UDC core: g1: couldn't find an available UDC or it's busy [ 86.201436][ T5330] slab filp start ffff888043369380 pointer offset 0 size 352 [ 86.206240][ T5330] VFS: Close: file count is 0 (f_op=snd_ctl_f_ops) [ 86.206431][ T5330] ------------[ cut here ]------------ [ 86.211410][ T5330] kernel BUG at fs/open.c:1466! [ 86.214374][ T5330] Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI [ 86.217067][ T5330] CPU: 0 UID: 0 PID: 5330 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 86.220875][ T5330] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 86.225010][ T5330] RIP: 0010:filp_flush+0x184/0x190 [ 86.227219][ T5330] Code: 48 83 c3 48 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 dc 13 ee ff 48 8b 33 48 c7 c7 80 8c fe 8b e8 4d 7e 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 [ 86.235048][ T5330] RSP: 0018:ffffc9000e0ef6b8 EFLAGS: 00010246 [ 86.237767][ T5330] RAX: 0000000000000030 RBX: ffff8880433693c8 RCX: 6aa2348fbc5d1e00 [ 86.241129][ T5330] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 86.244448][ T5330] RBP: ffffc9000e0ef7d8 R08: ffff88801fc24713 R09: 1ffff11003f848e2 [ 86.247747][ T5330] R10: dffffc0000000000 R11: ffffed1003f848e3 R12: dffffc0000000000 [ 86.251009][ T5330] R13: ffff88803d746528 R14: 0000000000000000 R15: 0000000000000003 [ 86.254024][ T5330] FS: 00007f194ec636c0(0000) GS:ffff88808c540000(0000) knlGS:0000000000000000 [ 86.257370][ T5330] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 86.260236][ T5330] CR2: 000055cb358e4198 CR3: 000000004020d000 CR4: 0000000000352ef0 [ 86.263524][ T5330] Call Trace: [ 86.264913][ T5330] [ 86.266206][ T5330] filp_close+0x1d/0x40 [ 86.267885][ T5330] gaudio_cleanup+0x54/0xf0 [ 86.269897][ T5330] f_audio_bind+0x4a0/0x630 [ 86.271780][ T5330] ? __pfx_f_audio_bind+0x10/0x10 [ 86.273780][ T5330] ? rcu_is_watching+0x15/0xb0 [ 86.275607][ T5330] ? usb_gadget_set_selfpowered+0xf5/0x260 [ 86.277983][ T5330] usb_add_function+0x2e1/0x9f0 [ 86.279929][ T5330] ? check_remote_wakeup_config+0x58/0x1c0 [ 86.282244][ T5330] configfs_composite_bind+0xde0/0x1410 [ 86.284506][ T5330] ? __pfx_configfs_composite_bind+0x10/0x10 [ 86.287022][ T5330] gadget_bind_driver+0x2ca/0x9e0 [ 86.288997][ T5330] ? __pfx_gadget_bind_driver+0x10/0x10 [ 86.291181][ T5330] really_probe+0x254/0xae0 [ 86.293130][ T5330] __driver_probe_device+0x1e8/0x360 [ 86.295222][ T5330] driver_probe_device+0x4f/0x240 [ 86.297286][ T5330] __driver_attach+0x339/0x600 [ 86.299277][ T5330] bus_for_each_dev+0x23b/0x2c0 [ 86.301092][ T5330] ? __pfx___driver_attach+0x10/0x10 [ 86.303210][ T5330] ? __pfx_bus_for_each_dev+0x10/0x10 [ 86.305469][ T5330] ? do_raw_spin_unlock+0x4d/0x210 [ 86.307653][ T5330] bus_add_driver+0x345/0x670 [ 86.309688][ T5330] driver_register+0x23a/0x320 [ 86.311697][ T5330] usb_gadget_register_driver_owner+0xf9/0x270 [ 86.314046][ T5330] gadget_dev_desc_UDC_store+0x1c9/0x2f0 [ 86.316416][ T5330] ? __pfx_gadget_dev_desc_UDC_store+0x10/0x10 [ 86.318996][ T5330] configfs_write_iter+0x337/0x430 [ 86.321129][ T5330] vfs_write+0x612/0xba0 [ 86.323008][ T5330] ? __pfx_vfs_write+0x10/0x10 [ 86.325041][ T5330] ? __fget_files+0x2a/0x420 [ 86.327033][ T5330] ksys_write+0x150/0x270 [ 86.328843][ T5330] ? __pfx_ksys_write+0x10/0x10 [ 86.330835][ T5330] ? __secure_computing+0xe7/0x2b0 [ 86.332861][ T5330] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 86.335208][ T5330] do_syscall_64+0x174/0x580 [ 86.336970][ T5330] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 86.339355][ T5330] ? clear_bhb_loop+0x40/0x90 [ 86.341250][ T5330] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 86.343557][ T5330] RIP: 0033:0x7f194dd9e019 [ 86.345315][ T5330] 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.353619][ T5330] RSP: 002b:00007f194ec62fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 86.357075][ T5330] RAX: ffffffffffffffda RBX: 00007f194e025fa0 RCX: 00007f194dd9e019 [ 86.360258][ T5330] RDX: 000000000000000c RSI: 0000200000000400 RDI: 0000000000000000 [ 86.363279][ T5330] RBP: 00007f194de3500c R08: 0000000000000000 R09: 0000000000000000 [ 86.366330][ T5330] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 86.369607][ T5330] R13: 00007f194e026038 R14: 00007f194e025fa0 R15: 00007ffcc06f5ae8 [ 86.372806][ T5330] [ 86.374157][ T5330] Modules linked in: [ 86.377558][ T5330] ---[ end trace 0000000000000000 ]--- [ 86.387367][ T5330] RIP: 0010:filp_flush+0x184/0x190 [ 86.389657][ T5330] Code: 48 83 c3 48 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 dc 13 ee ff 48 8b 33 48 c7 c7 80 8c fe 8b e8 4d 7e 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 [ 86.401303][ T803] cfg80211: failed to load regulatory.db [ 86.405460][ T5330] RSP: 0018:ffffc9000e0ef6b8 EFLAGS: 00010246 [ 86.410841][ T5330] RAX: 0000000000000030 RBX: ffff8880433693c8 RCX: 6aa2348fbc5d1e00 [ 86.414960][ T5330] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 86.418575][ T5330] RBP: ffffc9000e0ef7d8 R08: ffff88801fc24713 R09: 1ffff11003f848e2 [ 86.421514][ T5330] R10: dffffc0000000000 R11: ffffed1003f848e3 R12: dffffc0000000000 [ 86.425328][ T5330] R13: ffff88803d746528 R14: 0000000000000000 R15: 0000000000000003 [ 86.428828][ T5330] FS: 00007f194ec636c0(0000) GS:ffff88808c540000(0000) knlGS:0000000000000000 [ 86.432558][ T5330] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 86.435747][ T5330] CR2: 000055cb358e4198 CR3: 000000004020d000 CR4: 0000000000352ef0 [ 86.439215][ T5330] Kernel panic - not syncing: Fatal exception [ 86.442124][ T5330] Kernel Offset: disabled [ 86.443999][ T5330] Rebooting in 86400 seconds..