program: mkdirat(0xffffffffffffff9c, &(0x7f0000000140)='./proc\x00', 0x1ff) mount(0x0, &(0x7f0000000180)='./proc\x00', &(0x7f00000001c0)='proc\x00', 0x0, 0x0) r0 = socket$inet_mptcp(0x2, 0x1, 0x106) ioctl$sock_SIOCGIFINDEX_80211(0xffffffffffffffff, 0x8933, &(0x7f00000000c0)={'wlan0\x00'}) sendmsg$NL80211_CMD_NEW_KEY(0xffffffffffffffff, 0x0, 0x0) ioctl$sock_SIOCGIFINDEX_80211(0xffffffffffffffff, 0x8933, &(0x7f0000000400)={'wlan0\x00'}) bind$inet(r0, &(0x7f0000000040)={0x2, 0x4e24, @loopback}, 0x10) sendmmsg$inet(r0, &(0x7f0000000080)=[{{&(0x7f0000000100)={0x2, 0x4e24, @loopback}, 0x10, 0x0}}], 0x1, 0x20008000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000240)='./proc/thread-self/fail-nth\x00', 0x2, 0x12c) write(r1, &(0x7f0000000300)='270', 0x3) mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./config\x00', 0x1ff) mount(0x0, &(0x7f0000000340)='./config\x00', &(0x7f0000000380)='configfs\x00', 0x0, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f00000003c0)='./config/usb_gadget/g1\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f00000004c0)='./config/usb_gadget/g1/configs/c.1\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f0000000500)='./config/usb_gadget/g1/functions/uvc.0\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f0000000540)='./config/usb_gadget/g1/functions/uvc.0/streaming/header/h\x00', 0x1ff) symlinkat(&(0x7f0000000600)='./config/usb_gadget/g1/functions/uvc.0\x00', 0xffffffffffffff9c, &(0x7f0000000640)='./config/usb_gadget/g1/configs/c.1/uvc.0\x00') unlink(&(0x7f0000000680)='./config/usb_gadget/g1/functions/uvc.0/streaming/class/hs/h\x00') unshare(0x40000000) [ 104.142310][ T5304] Bluetooth: hci0: command tx timeout [ 104.256658][ T5352] FAULT_INJECTION: forcing a failure. [ 104.256658][ T5352] name failslab, interval 1, probability 0, space 0, times 1 [ 104.256693][ T5352] CPU: 0 UID: 0 PID: 5352 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 104.256708][ T5352] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 104.256732][ T5352] Call Trace: [ 104.256749][ T5352] [ 104.256756][ T5352] dump_stack_lvl+0xe8/0x150 [ 104.256947][ T5352] should_fail_ex+0x3eb/0x540 [ 104.257047][ T5352] should_failslab+0xa8/0x100 [ 104.257113][ T5352] ? configfs_new_dirent+0x59/0x470 [ 104.257143][ T5352] kmem_cache_alloc_noprof+0x9c/0x600 [ 104.257172][ T5352] ? configfs_new_dirent+0x59/0x470 [ 104.257192][ T5352] configfs_new_dirent+0x59/0x470 [ 104.257211][ T5352] configfs_attach_item+0xa1/0xd60 [ 104.257232][ T5352] configfs_attach_group+0x2a/0x370 [ 104.257247][ T5352] ? _raw_spin_unlock+0x28/0x50 [ 104.257369][ T5352] ? __d_add+0x26d/0x330 [ 104.257390][ T5352] create_default_group+0x87/0x180 [ 104.257407][ T5352] configfs_attach_group+0x169/0x370 [ 104.257424][ T5352] create_default_group+0x87/0x180 [ 104.257440][ T5352] configfs_attach_group+0x169/0x370 [ 104.257458][ T5352] create_default_group+0x87/0x180 [ 104.257472][ T5352] configfs_attach_group+0x169/0x370 [ 104.257492][ T5352] configfs_mkdir+0x6f0/0x9e0 [ 104.257512][ T5352] ? __pfx_configfs_mkdir+0x10/0x10 [ 104.257536][ T5352] ? inode_permission+0x2b8/0x600 [ 104.257550][ T5352] ? bpf_lsm_inode_mkdir+0x9/0x20 [ 104.257623][ T5352] ? security_inode_mkdir+0xc3/0x340 [ 104.257642][ T5352] vfs_mkdir+0x411/0x660 [ 104.257675][ T5352] filename_mkdirat+0x284/0x550 [ 104.257686][ T5352] ? __might_fault+0xaf/0x130 [ 104.257746][ T5352] ? __pfx_filename_mkdirat+0x10/0x10 [ 104.257768][ T5352] ? do_getname+0x151/0x250 [ 104.257783][ T5352] __se_sys_mkdirat+0x35/0x150 [ 104.257797][ T5352] do_syscall_64+0x171/0x540 [ 104.257813][ T5352] ? trace_irq_disable+0x3b/0x140 [ 104.257844][ T5352] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 104.257871][ T5352] ? clear_bhb_loop+0x70/0xc0 [ 104.257888][ T5352] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 104.257903][ T5352] RIP: 0033:0x7fd7a49a9559 [ 104.257917][ T5352] 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 [ 104.257928][ T5352] RSP: 002b:00007fd7a580dfe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 [ 104.257943][ T5352] RAX: ffffffffffffffda RBX: 00007fd7a4c25fa0 RCX: 00007fd7a49a9559 [ 104.257952][ T5352] RDX: 00000000000001ff RSI: 0000200000000500 RDI: ffffffffffffff9c [ 104.257961][ T5352] RBP: 00007fd7a4a38136 R08: 0000000000000000 R09: 0000000000000000 [ 104.257969][ T5352] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 104.257976][ T5352] R13: 00007fd7a4c26038 R14: 00007fd7a4c25fa0 R15: 00007ffc3889f7b8 [ 104.257997][ T5352] [ 104.473998][ T5352] ------------[ cut here ]------------ [ 104.474067][ T5352] kernel BUG at fs/configfs/dir.c:734! [ 104.474103][ T5352] Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI [ 104.481439][ T5352] CPU: 0 UID: 0 PID: 5352 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 104.485150][ T5352] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 104.489367][ T5352] RIP: 0010:create_default_group+0x17c/0x180 [ 104.492082][ T5352] Code: 41 5d 41 5e 41 5f 5d e9 12 2a 87 09 cc 44 89 f1 80 e1 07 80 c1 03 38 c1 7c d5 4c 89 f7 e8 dc b1 bb ff eb cb e8 e5 f7 41 ff 90 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 [ 104.499677][ T5352] RSP: 0018:ffffc9000e45fb90 EFLAGS: 00010283 [ 104.502328][ T5352] RAX: ffffffff828753ab RBX: ffff8880146d21a0 RCX: 0000000000100000 [ 104.505638][ T5352] RDX: ffffc9000edd2000 RSI: 000000000000e42b RDI: 000000000000e42c [ 104.508697][ T5352] RBP: 00000000fffffff4 R08: ffff8880147361c3 R09: 1ffff110028e6c38 [ 104.511782][ T5352] R10: dffffc0000000000 R11: ffffed10028e6c39 R12: dffffc0000000000 [ 104.514786][ T5352] R13: 1ffff1100281c140 R14: ffff8880146d2208 R15: ffff8880140e0a00 [ 104.517693][ T5352] FS: 00007fd7a580e6c0(0000) GS:ffff88808a9ed000(0000) knlGS:0000000000000000 [ 104.521132][ T5352] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 104.523780][ T5352] CR2: 00005608b81134a0 CR3: 0000000044b42000 CR4: 0000000000352ef0 [ 104.527312][ T5352] Call Trace: [ 104.528864][ T5352] [ 104.530124][ T5352] configfs_attach_group+0x169/0x370 [ 104.532272][ T5352] configfs_mkdir+0x6f0/0x9e0 [ 104.534256][ T5352] ? __pfx_configfs_mkdir+0x10/0x10 [ 104.536575][ T5352] ? inode_permission+0x2b8/0x600 [ 104.538811][ T5352] ? bpf_lsm_inode_mkdir+0x9/0x20 [ 104.541143][ T5352] ? security_inode_mkdir+0xc3/0x340 [ 104.543641][ T5352] vfs_mkdir+0x411/0x660 [ 104.547459][ T5352] filename_mkdirat+0x284/0x550 [ 104.549796][ T5352] ? __might_fault+0xaf/0x130 [ 104.551750][ T5352] ? __pfx_filename_mkdirat+0x10/0x10 [ 104.554322][ T5352] ? do_getname+0x151/0x250 [ 104.556761][ T5352] __se_sys_mkdirat+0x35/0x150 [ 104.558990][ T5352] do_syscall_64+0x171/0x540 [ 104.562577][ T5352] ? trace_irq_disable+0x3b/0x140 [ 104.564980][ T5352] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 104.567543][ T5352] ? clear_bhb_loop+0x70/0xc0 [ 104.569783][ T5352] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 104.572288][ T5352] RIP: 0033:0x7fd7a49a9559 [ 104.574155][ T5352] 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 [ 104.582359][ T5352] RSP: 002b:00007fd7a580dfe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 [ 104.586261][ T5352] RAX: ffffffffffffffda RBX: 00007fd7a4c25fa0 RCX: 00007fd7a49a9559 [ 104.589594][ T5352] RDX: 00000000000001ff RSI: 0000200000000500 RDI: ffffffffffffff9c [ 104.592987][ T5352] RBP: 00007fd7a4a38136 R08: 0000000000000000 R09: 0000000000000000 [ 104.596346][ T5352] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 104.599741][ T5352] R13: 00007fd7a4c26038 R14: 00007fd7a4c25fa0 R15: 00007ffc3889f7b8 [ 104.603232][ T5352] [ 104.604660][ T5352] Modules linked in: [ 104.609334][ T5352] ---[ end trace 0000000000000000 ]--- [ 104.636194][ T5352] RIP: 0010:create_default_group+0x17c/0x180 [ 104.636227][ T5352] Code: 41 5d 41 5e 41 5f 5d e9 12 2a 87 09 cc 44 89 f1 80 e1 07 80 c1 03 38 c1 7c d5 4c 89 f7 e8 dc b1 bb ff eb cb e8 e5 f7 41 ff 90 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 [ 104.636237][ T5352] RSP: 0018:ffffc9000e45fb90 EFLAGS: 00010283 [ 104.636374][ T5352] RAX: ffffffff828753ab RBX: ffff8880146d21a0 RCX: 0000000000100000 [ 104.636386][ T5352] RDX: ffffc9000edd2000 RSI: 000000000000e42b RDI: 000000000000e42c [ 104.636394][ T5352] RBP: 00000000fffffff4 R08: ffff8880147361c3 R09: 1ffff110028e6c38 [ 104.636404][ T5352] R10: dffffc0000000000 R11: ffffed10028e6c39 R12: dffffc0000000000 [ 104.636414][ T5352] R13: 1ffff1100281c140 R14: ffff8880146d2208 R15: ffff8880140e0a00 [ 104.636423][ T5352] FS: 00007fd7a580e6c0(0000) GS:ffff88808a9ed000(0000) knlGS:0000000000000000 [ 104.636432][ T5352] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 104.636438][ T5352] CR2: 00007fd7a57aafe8 CR3: 0000000044b42000 CR4: 0000000000352ef0 [ 104.636480][ T5352] Kernel panic - not syncing: Fatal exception [ 104.682943][ T5352] Kernel Offset: disabled [ 104.684734][ T5352] Rebooting in 86400 seconds..