loop0: detected capacity change from 0 to 32768
BTRFS: device fsid 395ef67a-297e-477c-816d-cd80a5b93e5d devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5108)
BTRFS info (device loop0): first mount of filesystem 395ef67a-297e-477c-816d-cd80a5b93e5d
BTRFS info (device loop0): using sha256 (sha256-avx2) checksum algorithm
BTRFS info (device loop0): using free-space-tree
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 1
CPU: 0 UID: 0 PID: 5108 Comm: syz.0.0 Not tainted 6.11.0-rc5-syzkaller-00148-g3b9dfd9e5936 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
fail_dump lib/fault-inject.c:52 [inline]
should_fail_ex+0x3b0/0x4e0 lib/fault-inject.c:153
should_failslab+0xac/0x100 mm/failslab.c:45
slab_pre_alloc_hook mm/slub.c:3941 [inline]
slab_alloc_node mm/slub.c:4017 [inline]
kmem_cache_alloc_noprof+0x6c/0x2a0 mm/slub.c:4044
__kernfs_new_node+0xd8/0x870 fs/kernfs/dir.c:624
kernfs_new_node+0x137/0x240 fs/kernfs/dir.c:700
kernfs_create_dir_ns+0x43/0x120 fs/kernfs/dir.c:1061
sysfs_create_dir_ns+0x189/0x3a0 fs/sysfs/dir.c:59
create_dir lib/kobject.c:73 [inline]
kobject_add_internal+0x435/0x8d0 lib/kobject.c:240
kobject_add_varg lib/kobject.c:374 [inline]
kobject_init_and_add+0x124/0x190 lib/kobject.c:457
btrfs_sysfs_add_qgroups+0x117/0x2f0 fs/btrfs/sysfs.c:2478
btrfs_quota_enable+0x27c/0x2090 fs/btrfs/qgroup.c:1047
btrfs_ioctl_quota_ctl+0x147/0x1c0 fs/btrfs/ioctl.c:3765
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbc1af79ef9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fbc1bd13038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fbc1b115f80 RCX: 00007fbc1af79ef9
RDX: 00000000200002c0 RSI: 00000000c0109428 RDI: 0000000000000005
RBP: 00007fbc1bd13090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 00007fbc1b115f80 R15: 00007ffe5d6ac278
kobject: kobject_add_internal failed for qgroups (error: -12 parent: 395ef67a-297e-477c-816d-cd80a5b93e5d)
------------[ cut here ]------------
kernfs: can not remove 'enabled', no directory
WARNING: CPU: 0 PID: 5108 at fs/kernfs/dir.c:1684 kernfs_remove_by_name_ns+0xfe/0x160 fs/kernfs/dir.c:1683
Modules linked in:
CPU: 0 UID: 0 PID: 5108 Comm: syz.0.0 Not tainted 6.11.0-rc5-syzkaller-00148-g3b9dfd9e5936 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:kernfs_remove_by_name_ns+0xfe/0x160 fs/kernfs/dir.c:1683
Code: 48 89 df e8 34 ee ff ff 48 89 df e8 bc 8d ff ff 31 db eb 2b e8 d3 ad 5b ff 90 48 c7 c7 00 a5 1b 8c 4c 89 e6 e8 f3 d1 1d ff 90 <0f> 0b 90 90 bb fe ff ff ff eb 12 e8 b2 ad 5b ff bb fe ff ff ff 4c
RSP: 0000:ffffc9000b4a7b28 EFLAGS: 00010246
RAX: e4d8356da2eb6d00 RBX: ffffffff8eeaa120 RCX: ffff88801b330000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff8155b2f2 R09: 1ffff1100410519a
R10: dffffc0000000000 R11: ffffed100410519b R12: ffffffff8c4ca560
R13: 0000000000000000 R14: ffffffff8c4ca500 R15: 0000000000000000
FS: 00007fbc1bd136c0(0000) GS:ffff888020800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbc0f900000 CR3: 00000000128de000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
kernfs_remove_by_name include/linux/kernfs.h:625 [inline]
remove_files fs/sysfs/group.c:28 [inline]
sysfs_remove_group+0xfe/0x2c0 fs/sysfs/group.c:319
sysfs_remove_groups+0x54/0xb0 fs/sysfs/group.c:343
__kobject_del+0x84/0x310 lib/kobject.c:595
kobject_del+0x45/0x60 lib/kobject.c:627
btrfs_sysfs_del_qgroups+0x114/0x160 fs/btrfs/sysfs.c:2453
btrfs_sysfs_add_qgroups+0x2bf/0x2f0 fs/btrfs/sysfs.c:2492
btrfs_quota_enable+0x27c/0x2090 fs/btrfs/qgroup.c:1047
btrfs_ioctl_quota_ctl+0x147/0x1c0 fs/btrfs/ioctl.c:3765
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbc1af79ef9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fbc1bd13038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fbc1b115f80 RCX: 00007fbc1af79ef9
RDX: 00000000200002c0 RSI: 00000000c0109428 RDI: 0000000000000005
RBP: 00007fbc1bd13090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 00007fbc1b115f80 R15: 00007ffe5d6ac278