program: mkdirat(0xffffffffffffff9c, &(0x7f00000001c0)='./proc\x00', 0x1ff) syz_emit_ethernet(0x4a, &(0x7f00000003c0)=ANY=[@ANYBLOB], 0x0) mount(0x0, &(0x7f0000000200)='./proc\x00', &(0x7f0000000240)='proc\x00', 0x4000, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000002680)='./proc/thread-self/fail-nth\x00', 0x2, 0x0) mount$cgroup2(0x0, 0x0, &(0x7f0000000080), 0x0, &(0x7f0000002500)=ANY=[]) write(0xffffffffffffffff, &(0x7f0000000140)='+rdma', 0x5) mkdirat(0xffffffffffffff9c, &(0x7f0000000180)='./cgrp2/child\x00', 0x1ff) read(0xffffffffffffffff, &(0x7f00000002c0)=""/100, 0x64) write(r0, &(0x7f00000026c0)='270', 0x3) mkdir(&(0x7f0000000000)='./config\x00', 0x1ff) mount(0x0, &(0x7f0000000040)='./config\x00', &(0x7f0000000100)='configfs\x00', 0x0, 0x0) mkdir(&(0x7f0000000280)='./config/usb_gadget/g1\x00', 0x1ff) mkdir(&(0x7f0000000380)='./config/usb_gadget/g1/configs/c.1\x00', 0x1ff) mkdir(&(0x7f00000003c0)='./config/usb_gadget/g1/functions/uvc.usb0\x00', 0x1ff) mkdir(&(0x7f0000000400)='./config/usb_gadget/g1/functions/uvc.usb0/streaming/header/h\x00', 0x1ff) symlink(&(0x7f0000000440)='./config/usb_gadget/g1/functions/uvc.usb0/streaming/header/h\x00', &(0x7f0000000480)='./config/usb_gadget/g1/functions/uvc.usb0/streaming/class/ss/h\x00') symlink(&(0x7f00000004c0)='./config/usb_gadget/g1/functions/uvc.usb0\x00', &(0x7f0000000500)='./config/usb_gadget/g1/configs/c.1/uvc.usb0\x00') pipe2$watch_queue(0x0, 0x80) mount(0x0, &(0x7f00000025c0)='./proc\x00', &(0x7f0000002600)='proc\x00', 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f00000000c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r1, &(0x7f0000002540)='+', 0x1) ioctl$SIOCSIFHWADDR(0xffffffffffffffff, 0x8924, &(0x7f00000024c0)={'pimreg0\x00', @random="afcdaa8ec09e"}) openat$ptmx(0xffffffffffffff9c, &(0x7f0000000340), 0x2, 0x0) openat(0xffffffffffffff9c, &(0x7f0000002640)='./proc/net/afs/cells\x00', 0x2, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000002800)='./dir0\x00', 0x1ff) [ 103.544959][ T5280] Bluetooth: hci0: command tx timeout [ 103.608318][ T5331] FAULT_INJECTION: forcing a failure. [ 103.608318][ T5331] name failslab, interval 1, probability 0, space 0, times 1 [ 103.608346][ T5331] CPU: 0 UID: 0 PID: 5331 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 103.608361][ T5331] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 103.608369][ T5331] Call Trace: [ 103.608449][ T5331] [ 103.608478][ T5331] dump_stack_lvl+0xe8/0x150 [ 103.608618][ T5331] should_fail_ex+0x410/0x560 [ 103.608702][ T5331] should_failslab+0xa8/0x100 [ 103.608738][ T5331] ? configfs_new_dirent+0x59/0x470 [ 103.608764][ T5331] kmem_cache_alloc_noprof+0xa1/0x600 [ 103.608803][ T5331] ? configfs_new_dirent+0x59/0x470 [ 103.608820][ T5331] configfs_new_dirent+0x59/0x470 [ 103.608838][ T5331] configfs_make_dirent+0x35/0x160 [ 103.608854][ T5331] configfs_create_file+0xe3/0x130 [ 103.608870][ T5331] configfs_attach_item+0x8df/0xd60 [ 103.608888][ T5331] configfs_attach_group+0x2a/0x370 [ 103.608914][ T5331] create_default_group+0x87/0x180 [ 103.608932][ T5331] configfs_attach_group+0x169/0x370 [ 103.608951][ T5331] create_default_group+0x87/0x180 [ 103.608968][ T5331] configfs_attach_group+0x169/0x370 [ 103.608986][ T5331] create_default_group+0x87/0x180 [ 103.609004][ T5331] configfs_attach_group+0x169/0x370 [ 103.609021][ T5331] configfs_mkdir+0x6f0/0x9e0 [ 103.609041][ T5331] ? __pfx_configfs_mkdir+0x10/0x10 [ 103.609054][ T5331] ? generic_permission+0x2bf/0x670 [ 103.609104][ T5331] ? bpf_lsm_inode_mkdir+0x9/0x20 [ 103.609141][ T5331] vfs_mkdir+0x40c/0x620 [ 103.609161][ T5331] filename_mkdirat+0x285/0x510 [ 103.609177][ T5331] ? __pfx_filename_mkdirat+0x10/0x10 [ 103.609193][ T5331] ? do_getname+0x151/0x250 [ 103.609210][ T5331] __se_sys_mkdir+0x34/0x150 [ 103.609225][ T5331] do_syscall_64+0x166/0x520 [ 103.609293][ T5331] ? trace_irq_disable+0x3b/0x140 [ 103.609330][ T5331] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 103.609344][ T5331] ? clear_bhb_loop+0x70/0xc0 [ 103.609362][ T5331] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 103.609374][ T5331] RIP: 0033:0x7f810759e559 [ 103.609387][ T5331] 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 [ 103.609397][ T5331] RSP: 002b:00007f8108440fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 [ 103.609434][ T5331] RAX: ffffffffffffffda RBX: 00007f8107825fa0 RCX: 00007f810759e559 [ 103.609443][ T5331] RDX: 0000000000000000 RSI: 00000000000001ff RDI: 00002000000003c0 [ 103.609451][ T5331] RBP: 00007f8107635ab8 R08: 0000000000000000 R09: 0000000000000000 [ 103.609459][ T5331] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 103.609467][ T5331] R13: 00007f8107826038 R14: 00007f8107825fa0 R15: 00007ffdefafcad8 [ 103.609488][ T5331] [ 103.797945][ T5331] ------------[ cut here ]------------ [ 103.797955][ T5331] kernel BUG at fs/configfs/dir.c:734! [ 103.809402][ T5331] Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI [ 103.812040][ T5331] CPU: 0 UID: 0 PID: 5331 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 103.818133][ T5331] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 103.822272][ T5331] RIP: 0010:create_default_group+0x17c/0x180 [ 103.824743][ T5331] Code: 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 44 89 f1 80 e1 07 80 c1 03 38 c1 7c d5 4c 89 f7 e8 6c 8b bc ff eb cb e8 65 0f 4a ff 90 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 [ 103.831868][ T5331] RSP: 0018:ffffc9000dd47bb0 EFLAGS: 00010283 [ 103.834293][ T5331] RAX: ffffffff827e12cb RBX: ffff8880146b0eb0 RCX: 0000000000100000 [ 103.837491][ T5331] RDX: ffffc9000eeb2000 RSI: 000000000000cc01 RDI: 000000000000cc02 [ 103.840742][ T5331] RBP: 00000000fffffff4 R08: ffff888014740543 R09: 1ffff110028e80a8 [ 103.844021][ T5331] R10: dffffc0000000000 R11: ffffed10028e80a9 R12: dffffc0000000000 [ 103.846763][ T5331] R13: 1ffff11008324580 R14: ffff8880146b0f18 R15: ffff888041922c00 [ 103.849565][ T5331] FS: 00007f81084416c0(0000) GS:ffff88808b0b4000(0000) knlGS:0000000000000000 [ 103.852717][ T5331] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 103.855059][ T5331] CR2: 00007fd05ca168f5 CR3: 0000000013594000 CR4: 0000000000352ef0 [ 103.858003][ T5331] Call Trace: [ 103.859231][ T5331] [ 103.860364][ T5331] configfs_attach_group+0x169/0x370 [ 103.862240][ T5331] configfs_mkdir+0x6f0/0x9e0 [ 103.863967][ T5331] ? __pfx_configfs_mkdir+0x10/0x10 [ 103.865786][ T5331] ? generic_permission+0x2bf/0x670 [ 103.867828][ T5331] ? bpf_lsm_inode_mkdir+0x9/0x20 [ 103.869830][ T5331] vfs_mkdir+0x40c/0x620 [ 103.871321][ T5331] filename_mkdirat+0x285/0x510 [ 103.873042][ T5331] ? __pfx_filename_mkdirat+0x10/0x10 [ 103.874993][ T5331] ? do_getname+0x151/0x250 [ 103.876629][ T5331] __se_sys_mkdir+0x34/0x150 [ 103.878240][ T5331] do_syscall_64+0x166/0x520 [ 103.879944][ T5331] ? trace_irq_disable+0x3b/0x140 [ 103.881796][ T5331] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 103.883926][ T5331] ? clear_bhb_loop+0x70/0xc0 [ 103.885655][ T5331] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 103.887689][ T5331] RIP: 0033:0x7f810759e559 [ 103.889246][ T5331] 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 [ 103.895922][ T5331] RSP: 002b:00007f8108440fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 [ 103.898836][ T5331] RAX: ffffffffffffffda RBX: 00007f8107825fa0 RCX: 00007f810759e559 [ 103.901632][ T5331] RDX: 0000000000000000 RSI: 00000000000001ff RDI: 00002000000003c0 [ 103.904513][ T5331] RBP: 00007f8107635ab8 R08: 0000000000000000 R09: 0000000000000000 [ 103.907601][ T5331] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 103.910416][ T5331] R13: 00007f8107826038 R14: 00007f8107825fa0 R15: 00007ffdefafcad8 [ 103.913337][ T5331] [ 103.914580][ T5331] Modules linked in: [ 103.916713][ T5331] ---[ end trace 0000000000000000 ]--- [ 103.945226][ T5331] RIP: 0010:create_default_group+0x17c/0x180 [ 103.945255][ T5331] Code: 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 44 89 f1 80 e1 07 80 c1 03 38 c1 7c d5 4c 89 f7 e8 6c 8b bc ff eb cb e8 65 0f 4a ff 90 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 [ 103.945266][ T5331] RSP: 0018:ffffc9000dd47bb0 EFLAGS: 00010283 [ 103.945278][ T5331] RAX: ffffffff827e12cb RBX: ffff8880146b0eb0 RCX: 0000000000100000 [ 103.945284][ T5331] RDX: ffffc9000eeb2000 RSI: 000000000000cc01 RDI: 000000000000cc02 [ 103.945290][ T5331] RBP: 00000000fffffff4 R08: ffff888014740543 R09: 1ffff110028e80a8 [ 103.945296][ T5331] R10: dffffc0000000000 R11: ffffed10028e80a9 R12: dffffc0000000000 [ 103.945301][ T5331] R13: 1ffff11008324580 R14: ffff8880146b0f18 R15: ffff888041922c00 [ 103.945307][ T5331] FS: 00007f81084416c0(0000) GS:ffff88808b0b4000(0000) knlGS:0000000000000000 [ 103.945314][ T5331] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 103.945321][ T5331] CR2: 0000000000000000 CR3: 0000000013594000 CR4: 0000000000352ef0 [ 103.945358][ T5331] Kernel panic - not syncing: Fatal exception [ 103.982678][ T5331] Kernel Offset: disabled [ 103.984431][ T5331] Rebooting in 86400 seconds..