* WARNING in kernfs_remove_by_name_ns
@ 2019-06-23 12:51 syzbot
0 siblings, 0 replies; 3+ messages in thread
From: syzbot @ 2019-06-23 12:51 UTC (permalink / raw)
To: gregkh, linux-kernel, syzkaller-bugs, tj
Hello,
syzbot found the following crash on:
HEAD commit: abf02e29 Merge tag 'pm-5.2-rc6' of git://git.kernel.org/pu..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=17a6c806a00000
kernel config: https://syzkaller.appspot.com/x/.config?x=e5c77f8090a3b96b
dashboard link: https://syzkaller.appspot.com/bug?extid=b76f1b62f3f98711bd93
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+b76f1b62f3f98711bd93@syzkaller.appspotmail.com
------------[ cut here ]------------
kernfs: can not remove 'nr_tags', no directory
WARNING: CPU: 0 PID: 19627 at fs/kernfs/dir.c:1503
kernfs_remove_by_name_ns+0x9f/0xb0 fs/kernfs/dir.c:1503
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 19627 Comm: syz-executor.1 Not tainted 5.2.0-rc5+ #31
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x172/0x1f0 lib/dump_stack.c:113
panic+0x2cb/0x744 kernel/panic.c:219
__warn.cold+0x20/0x4d kernel/panic.c:576
report_bug+0x263/0x2b0 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:179 [inline]
fixup_bug arch/x86/kernel/traps.c:174 [inline]
do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272
do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:986
RIP: 0010:kernfs_remove_by_name_ns+0x9f/0xb0 fs/kernfs/dir.c:1503
Code: 99 ff 48 c7 c7 60 22 c9 88 41 bc fe ff ff ff e8 a7 c4 44 05 eb d7 e8
f0 4e 99 ff 4c 89 ee 48 c7 c7 80 c8 78 87 e8 ff 87 6b ff <0f> 0b 41 bc fe
ff ff ff eb b9 0f 1f 80 00 00 00 00 55 48 89 e5 41
RSP: 0018:ffff888058aaf798 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffffffff88f18128 RCX: 0000000000000000
RDX: 000000000001e0a4 RSI: ffffffff815ad926 RDI: ffffed100b155ee5
RBP: ffff888058aaf7b0 R08: ffff88804eb8a240 R09: ffffed1015d060a1
R10: ffffed1015d060a0 R11: ffff8880ae830507 R12: 0000000000000000
R13: ffffffff87a35540 R14: 0000000000000000 R15: ffffffff87a35480
kernfs_remove_by_name include/linux/kernfs.h:567 [inline]
remove_files.isra.0+0x7b/0x190 fs/sysfs/group.c:27
sysfs_remove_group+0xb6/0x1b0 fs/sysfs/group.c:264
sysfs_remove_groups fs/sysfs/group.c:288 [inline]
sysfs_remove_groups+0x61/0xb0 fs/sysfs/group.c:280
kobject_del+0x9c/0x170 lib/kobject.c:619
blk_mq_unregister_hctx.part.0+0x126/0x170 block/blk-mq-sysfs.c:243
blk_mq_unregister_hctx block/blk-mq-sysfs.c:237 [inline]
blk_mq_sysfs_unregister+0x16b/0x200 block/blk-mq-sysfs.c:373
__blk_mq_update_nr_hw_queues block/blk-mq.c:3286 [inline]
blk_mq_update_nr_hw_queues+0x4f9/0xd30 block/blk-mq.c:3321
nbd_start_device+0x156/0xac0 drivers/block/nbd.c:1166
nbd_start_device_ioctl drivers/block/nbd.c:1207 [inline]
__nbd_ioctl drivers/block/nbd.c:1278 [inline]
nbd_ioctl+0x53f/0xbd0 drivers/block/nbd.c:1318
__blkdev_driver_ioctl block/ioctl.c:304 [inline]
blkdev_ioctl+0xece/0x1c10 block/ioctl.c:606
block_ioctl+0xee/0x130 fs/block_dev.c:1930
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:509 [inline]
do_vfs_ioctl+0xd5f/0x1380 fs/ioctl.c:696
ksys_ioctl+0xab/0xd0 fs/ioctl.c:713
__do_sys_ioctl fs/ioctl.c:720 [inline]
__se_sys_ioctl fs/ioctl.c:718 [inline]
__x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718
do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4592c9
Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f9aba72cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00000000004592c9
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000004
RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9aba72d6d4
R13: 00000000004c2a81 R14: 00000000004d5b10 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..
---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
^ permalink raw reply [flat|nested] 3+ messages in thread
* WARNING in kernfs_remove_by_name_ns
@ 2023-08-14 6:49 Yikebaer Aizezi
2023-08-14 15:24 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Yikebaer Aizezi @ 2023-08-14 6:49 UTC (permalink / raw)
To: gregkh, linux-kernel, tj
Hello,
When using Healer to fuzz the Linux-6.5-rc5, the following crash
was triggered.
HEAD commit: 52a93d39b17dc7eb98b6aa3edb93943248e03b2f (tag: v6.5-rc5)
git tree: upstream
And I also tried to reproduce this crash on Latest Linux-6.5-rc6, it
still exist.
console output:
https://drive.google.com/file/d/13w-zb4aiQDvG_nVXK78QgfL9we1p9F-K/view?usp=drive_link
kernel config:https://drive.google.com/file/d/1pm18DQ4m7cYtvcsgJ_kJIR2XQGzg9F-l/view?usp=drive_link
C reproducer:https://drive.google.com/file/d/1roP_zfxeRnrNKij8sKq2_A7MfEicuj1j/view?usp=drive_link
Syzlang reproducer:
https://drive.google.com/file/d/1kk2socy9SmEqyZSFRyAUver8cxoiOOH6/view?usp=drive_link
If you fix this issue, please add the following tag to the commit:
Reported-by: Yikebaer Aizezi <yikebaer61@gmail.com>
memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=8437 'syz-executor'
loop1: detected capacity change from 0 to 32768
BTRFS: device fsid 84eb0a0b-d357-4bc1-8741-9d3223c15974 devid 1
transid 7 /dev/loop1 scanned by syz-executor (8437)
BTRFS info (device loop1): using xxhash64 (xxhash64-generic) checksum algorithm
BTRFS info (device loop1): disk space caching is enabled
BTRFS info (device loop1): enabling ssd optimizations
BTRFS info (device loop1): auto enabling async discard
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 1
CPU: 0 PID: 8437 Comm: syz-executor Not tainted 6.5.0-rc5 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x132/0x150 lib/dump_stack.c:106
fail_dump lib/fault-inject.c:52 [inline]
should_fail_ex+0x49f/0x5b0 lib/fault-inject.c:153
should_failslab+0x5/0x10 mm/slab_common.c:1471
slab_pre_alloc_hook mm/slab.h:711 [inline]
slab_alloc_node mm/slub.c:3452 [inline]
slab_alloc mm/slub.c:3478 [inline]
__kmem_cache_alloc_lru mm/slub.c:3485 [inline]
kmem_cache_alloc+0x5e/0x390 mm/slub.c:3494
kmem_cache_zalloc include/linux/slab.h:693 [inline]
__kernfs_new_node+0xd4/0x8c0 fs/kernfs/dir.c:611
kernfs_new_node+0x93/0x120 fs/kernfs/dir.c:675
__kernfs_create_file+0x51/0x350 fs/kernfs/file.c:1047
sysfs_add_file_mode_ns+0x20d/0x3e0 fs/sysfs/file.c:294
create_files fs/sysfs/group.c:64 [inline]
internal_create_group+0x319/0xb30 fs/sysfs/group.c:152
internal_create_groups.part.0+0x90/0x140 fs/sysfs/group.c:192
internal_create_groups fs/sysfs/group.c:188 [inline]
sysfs_create_groups+0x25/0x50 fs/sysfs/group.c:218
create_dir lib/kobject.c:70 [inline]
kobject_add_internal+0x316/0x9b0 lib/kobject.c:233
kobject_add_varg lib/kobject.c:367 [inline]
kobject_init_and_add+0xfd/0x170 lib/kobject.c:450
btrfs_sysfs_add_qgroups+0x160/0x280 fs/btrfs/sysfs.c:2288
btrfs_quota_enable+0x2c5/0x1d20 fs/btrfs/qgroup.c:991
btrfs_ioctl_quota_ctl fs/btrfs/ioctl.c:3694 [inline]
btrfs_ioctl+0x4855/0x59d0 fs/btrfs/ioctl.c:4657
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0x199/0x210 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x47959d
Code: 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa 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 b4 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa2a6973068 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000000000059c0a0 RCX: 000000000047959d
RDX: 0000000020005800 RSI: 00000000c0109428 RDI: 0000000000000003
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000059c0ac
R13: 000000000000000b R14: 0000000000437250 R15: 00007fa2a6953000
</TASK>
kobject: kobject_add_internal failed for qgroups (error: -12 parent:
84eb0a0b-d357-4bc1-8741-9d3223c15974)
------------[ cut here ]------------
kernfs: can not remove 'enabled', no directory
WARNING: CPU: 0 PID: 8437 at fs/kernfs/dir.c:1658
kernfs_remove_by_name_ns+0xfd/0x120 fs/kernfs/dir.c:1658
Modules linked in:
CPU: 0 PID: 8437 Comm: syz-executor Not tainted 6.5.0-rc5 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014
RIP: 0010:kernfs_remove_by_name_ns+0xfd/0x120 fs/kernfs/dir.c:1658
Code: c3 e8 b7 f3 79 ff 4c 89 e7 41 bc fe ff ff ff e8 49 20 5a ff eb
da e8 a2 f3 79 ff 4c 89 ee 48 c7 c7 60 e1 ff 89 e8 a3 f7 41 ff <0f> 0b
41 bc fe ff ff ff eb bc e8 84 be c9 ff e9 61 ff ff ff e8 7a
RSP: 0018:ffffc90006e7f910 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffffffff8c917868 RCX: ffffc90002b09000
RDX: 0000000000040000 RSI: ffffffff81486023 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 203a73666e72656b R12: 0000000000000000
R13: ffffffff8a38a4c0 R14: 0000000000000000 R15: ffff888029514038
FS: 00007fa2a6973640(0000) GS:ffff888063c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000505c10 CR3: 0000000029112000 CR4: 0000000000750ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
PKRU: 55555554
Call Trace:
<TASK>
kernfs_remove_by_name include/linux/kernfs.h:618 [inline]
remove_files+0x96/0x1c0 fs/sysfs/group.c:28
sysfs_remove_group+0x87/0x170 fs/sysfs/group.c:292
sysfs_remove_groups fs/sysfs/group.c:316 [inline]
sysfs_remove_groups+0x5c/0xa0 fs/sysfs/group.c:308
__kobject_del+0x89/0x1f0 lib/kobject.c:588
kobject_del lib/kobject.c:620 [inline]
kobject_del+0x3c/0x60 lib/kobject.c:612
btrfs_sysfs_del_qgroups fs/btrfs/sysfs.c:2263 [inline]
btrfs_sysfs_del_qgroups+0x119/0x1a0 fs/btrfs/sysfs.c:2251
btrfs_sysfs_add_qgroups+0x204/0x280 fs/btrfs/sysfs.c:2302
btrfs_quota_enable+0x2c5/0x1d20 fs/btrfs/qgroup.c:991
btrfs_ioctl_quota_ctl fs/btrfs/ioctl.c:3694 [inline]
btrfs_ioctl+0x4855/0x59d0 fs/btrfs/ioctl.c:4657
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0x199/0x210 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x47959d
Code: 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa 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 b4 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa2a6973068 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000000000059c0a0 RCX: 000000000047959d
RDX: 0000000020005800 RSI: 00000000c0109428 RDI: 0000000000000003
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000059c0ac
R13: 000000000000000b R14: 0000000000437250 R15: 00007fa2a6953000
</TASK>
Modules linked in:
CPU: 0 PID: 8437 Comm: syz-executor Not tainted 6.5.0-rc5 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014
RIP: 0010:kernfs_remove_by_name_ns+0xfd/0x120 fs/kernfs/dir.c:1658
Code: c3 e8 b7 f3 79 ff 4c 89 e7 41 bc fe ff ff ff e8 49 20 5a ff eb
da e8 a2 f3 79 ff 4c 89 ee 48 c7 c7 60 e1 ff 89 e8 a3 f7 41 ff <0f> 0b
41 bc fe ff ff ff eb bc e8 84 be c9 ff e9 61 ff ff ff e8 7a
RSP: 0018:ffffc90006e7f910 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffffffff8c917868 RCX: ffffc90002b09000
RDX: 0000000000040000 RSI: ffffffff81486023 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 203a73666e72656b R12: 0000000000000000
R13: ffffffff8a38a4c0 R14: 0000000000000000 R15: ffff888029514038
FS: 00007fa2a6973640(0000) GS:ffff888063c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000505c10 CR3: 0000000029112000 CR4: 0000000000750ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
PKRU: 55555554
Call Trace:
<TASK>
kernfs_remove_by_name include/linux/kernfs.h:618 [inline]
remove_files+0x96/0x1c0 fs/sysfs/group.c:28
sysfs_remove_group+0x87/0x170 fs/sysfs/group.c:292
sysfs_remove_groups fs/sysfs/group.c:316 [inline]
sysfs_remove_groups+0x5c/0xa0 fs/sysfs/group.c:308
__kobject_del+0x89/0x1f0 lib/kobject.c:588
kobject_del lib/kobject.c:620 [inline]
kobject_del+0x3c/0x60 lib/kobject.c:612
btrfs_sysfs_del_qgroups fs/btrfs/sysfs.c:2263 [inline]
btrfs_sysfs_del_qgroups+0x119/0x1a0 fs/btrfs/sysfs.c:2251
btrfs_sysfs_add_qgroups+0x204/0x280 fs/btrfs/sysfs.c:2302
btrfs_quota_enable+0x2c5/0x1d20 fs/btrfs/qgroup.c:991
btrfs_ioctl_quota_ctl fs/btrfs/ioctl.c:3694 [inline]
btrfs_ioctl+0x4855/0x59d0 fs/btrfs/ioctl.c:4657
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0x199/0x210 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x47959d
Code: 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa 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 b4 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa2a6973068 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000000000059c0a0 RCX: 000000000047959d
RDX: 0000000020005800 RSI: 00000000c0109428 RDI: 0000000000000003
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000059c0ac
R13: 000000000000000b R14: 0000000000437250 R15: 00007fa2a6953000
</TASK>
Kernel panic - not syncing: kernel: panic_on_warn set ...
CPU: 0 PID: 8437 Comm: syz-executor Not tainted 6.5.0-rc5 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd5/0x150 lib/dump_stack.c:106
panic+0x67e/0x730 kernel/panic.c:340
check_panic_on_warn+0xad/0xb0 kernel/panic.c:236
__warn+0xee/0x390 kernel/panic.c:673
__report_bug lib/bug.c:199 [inline]
report_bug+0x2d9/0x500 lib/bug.c:219
handle_bug+0x3c/0x70 arch/x86/kernel/traps.c:324
exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:345
asm_exc_invalid_op+0x16/0x20 arch/x86/include/asm/idtentry.h:568
RIP: 0010:kernfs_remove_by_name_ns+0xfd/0x120 fs/kernfs/dir.c:1658
Code: c3 e8 b7 f3 79 ff 4c 89 e7 41 bc fe ff ff ff e8 49 20 5a ff eb
da e8 a2 f3 79 ff 4c 89 ee 48 c7 c7 60 e1 ff 89 e8 a3 f7 41 ff <0f> 0b
41 bc fe ff ff ff eb bc e8 84 be c9 ff e9 61 ff ff ff e8 7a
RSP: 0018:ffffc90006e7f910 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffffffff8c917868 RCX: ffffc90002b09000
RDX: 0000000000040000 RSI: ffffffff81486023 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 203a73666e72656b R12: 0000000000000000
R13: ffffffff8a38a4c0 R14: 0000000000000000 R15: ffff888029514038
kernfs_remove_by_name include/linux/kernfs.h:618 [inline]
remove_files+0x96/0x1c0 fs/sysfs/group.c:28
sysfs_remove_group+0x87/0x170 fs/sysfs/group.c:292
sysfs_remove_groups fs/sysfs/group.c:316 [inline]
sysfs_remove_groups+0x5c/0xa0 fs/sysfs/group.c:308
__kobject_del+0x89/0x1f0 lib/kobject.c:588
kobject_del lib/kobject.c:620 [inline]
kobject_del+0x3c/0x60 lib/kobject.c:612
btrfs_sysfs_del_qgroups fs/btrfs/sysfs.c:2263 [inline]
btrfs_sysfs_del_qgroups+0x119/0x1a0 fs/btrfs/sysfs.c:2251
btrfs_sysfs_add_qgroups+0x204/0x280 fs/btrfs/sysfs.c:2302
btrfs_quota_enable+0x2c5/0x1d20 fs/btrfs/qgroup.c:991
btrfs_ioctl_quota_ctl fs/btrfs/ioctl.c:3694 [inline]
btrfs_ioctl+0x4855/0x59d0 fs/btrfs/ioctl.c:4657
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0x199/0x210 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x47959d
Code: 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa 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 b4 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa2a6973068 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000000000059c0a0 RCX: 000000000047959d
RDX: 0000000020005800 RSI: 00000000c0109428 RDI: 0000000000000003
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000059c0ac
R13: 000000000000000b R14: 0000000000437250 R15: 00007fa2a6953000
</TASK>
Dumping ftrace buffer:
(ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 1 seconds..
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: WARNING in kernfs_remove_by_name_ns
2023-08-14 6:49 Yikebaer Aizezi
@ 2023-08-14 15:24 ` Greg KH
0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2023-08-14 15:24 UTC (permalink / raw)
To: Yikebaer Aizezi; +Cc: linux-kernel, tj
On Mon, Aug 14, 2023 at 02:49:47PM +0800, Yikebaer Aizezi wrote:
> Hello,
>
> When using Healer to fuzz the Linux-6.5-rc5, the following crash
> was triggered.
>
> HEAD commit: 52a93d39b17dc7eb98b6aa3edb93943248e03b2f (tag: v6.5-rc5)
> git tree: upstream
>
> And I also tried to reproduce this crash on Latest Linux-6.5-rc6, it
> still exist.
Great, can you work with the proper subsystem maintainers to resolve
this (hint, look at the traceback, it's not a sysfs issue...)
Wait:
> memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=8437 'syz-executor'
> loop1: detected capacity change from 0 to 32768
> BTRFS: device fsid 84eb0a0b-d357-4bc1-8741-9d3223c15974 devid 1
> transid 7 /dev/loop1 scanned by syz-executor (8437)
> BTRFS info (device loop1): using xxhash64 (xxhash64-generic) checksum algorithm
> BTRFS info (device loop1): disk space caching is enabled
> BTRFS info (device loop1): enabling ssd optimizations
> BTRFS info (device loop1): auto enabling async discard
> FAULT_INJECTION: forcing a failure.
You forced a failure, and look, things failed!
Success!
Why is this an issue, don't force failures, and then all should be good,
right?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-14 15:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-23 12:51 WARNING in kernfs_remove_by_name_ns syzbot
2023-08-14 6:49 Yikebaer Aizezi
2023-08-14 15:24 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®