bisecting fixing commit since 90c9e950c0def5c354b4a6154a2ddda3e5f214ac building syzkaller on a7dab6385c1d95547a88e22577fb56fbcd5c37eb testing commit 90c9e950c0def5c354b4a6154a2ddda3e5f214ac compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8a598d982b82183570957bb5584ae44b7d20dcbe09d111000409047469f7fe22 run #0: crashed: WARNING in kernfs_remove_by_name_ns run #1: crashed: general protection fault in blk_mq_free_rqs run #2: crashed: general protection fault in blk_mq_free_rqs run #3: crashed: general protection fault in blk_mq_free_rqs run #4: crashed: general protection fault in blk_mq_free_rqs run #5: crashed: WARNING in kernfs_remove_by_name_ns run #6: crashed: WARNING in kernfs_remove_by_name_ns run #7: crashed: general protection fault in blk_mq_free_rqs run #8: crashed: WARNING in kernfs_remove_by_name_ns run #9: crashed: WARNING in kernfs_remove_by_name_ns run #10: crashed: WARNING in kernfs_remove_by_name_ns run #11: crashed: general protection fault in blk_mq_free_rqs run #12: crashed: general protection fault in blk_mq_free_rqs run #13: crashed: WARNING in kernfs_remove_by_name_ns run #14: crashed: general protection fault in blk_mq_free_rqs run #15: crashed: general protection fault in blk_mq_free_rqs run #16: crashed: general protection fault in blk_mq_free_rqs run #17: crashed: general protection fault in blk_mq_free_rqs run #18: crashed: general protection fault in blk_mq_free_rqs run #19: crashed: general protection fault in blk_mq_free_rqs testing current HEAD 6bfb56e93bcef41859c2d5ab234ffd80b691be35 testing commit 6bfb56e93bcef41859c2d5ab234ffd80b691be35 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7487a20d7ea7dafe2e28caec6e8a072c8760e4d9482f66cdb8a1f223e61c4aaf run #0: crashed: general protection fault in blk_mq_free_rqs run #1: crashed: general protection fault in blk_mq_free_rqs run #2: crashed: general protection fault in blk_mq_free_rqs run #3: crashed: WARNING in kernfs_remove_by_name_ns run #4: crashed: general protection fault in blk_mq_free_rqs run #5: crashed: WARNING in kernfs_remove_by_name_ns run #6: boot failed: INFO: task hung in add_early_randomness run #7: boot failed: INFO: task hung in add_early_randomness run #8: boot failed: INFO: task hung in add_early_randomness run #9: boot failed: INFO: task hung in add_early_randomness revisions tested: 2, total time: 27m27.07452171s (build: 12m45.795218988s, test: 13m56.110379213s) the crash still happens on HEAD commit msg: cert host tools: Stop complaining about deprecated OpenSSL functions crash: WARNING in kernfs_remove_by_name_ns ------------[ cut here ]------------ kernfs: can not remove 'nr_tags', no directory WARNING: CPU: 0 PID: 4194 at fs/kernfs/dir.c:1576 kernfs_remove_by_name_ns+0xbb/0xe0 fs/kernfs/dir.c:1576 Modules linked in: CPU: 0 PID: 4194 Comm: syz-executor.0 Not tainted 5.19.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kernfs_remove_by_name_ns+0xbb/0xe0 fs/kernfs/dir.c:1576 Code: cb 33 72 ff 31 c0 5b 5d 41 5c 41 5d 41 5e c3 4c 89 e7 e8 b8 33 72 ff b8 fe ff ff ff eb e8 48 c7 c7 20 a0 fd 88 e8 db 42 72 06 <0f> 0b b8 fe ff ff ff eb d3 e8 17 85 cd ff eb 94 e8 10 85 cd ff e9 RSP: 0018:ffffc900030bfa68 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffffffff8b8235e8 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000004 RDI: fffff52000617f3f RBP: ffffffff8b8236e0 R08: 0000000000000001 R09: ffff8880b9e2792b R10: ffffed10173c4f25 R11: 726964206f6e202c R12: 0000000000000000 R13: dffffc0000000000 R14: ffffffff894223e0 R15: ffff88801bccd000 FS: 00007f300a807700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f300a7e6718 CR3: 0000000017eb7000 CR4: 0000000000350ef0 Call Trace: kernfs_remove_by_name include/linux/kernfs.h:558 [inline] remove_files+0x87/0x1a0 fs/sysfs/group.c:28 sysfs_remove_group+0x72/0x140 fs/sysfs/group.c:288 sysfs_remove_groups fs/sysfs/group.c:312 [inline] sysfs_remove_groups+0x4a/0x90 fs/sysfs/group.c:304 __kobject_del+0x7d/0x1b0 lib/kobject.c:579 kobject_del lib/kobject.c:611 [inline] kobject_del+0x32/0x50 lib/kobject.c:603 blk_mq_unregister_hctx block/blk-mq-sysfs.c:181 [inline] blk_mq_unregister_hctx block/blk-mq-sysfs.c:170 [inline] blk_mq_sysfs_unregister+0x1f6/0x270 block/blk-mq-sysfs.c:303 __blk_mq_update_nr_hw_queues block/blk-mq.c:4520 [inline] blk_mq_update_nr_hw_queues+0x416/0xca0 block/blk-mq.c:4566 nbd_start_device+0x10a/0xac0 drivers/block/nbd.c:1356 nbd_start_device_ioctl drivers/block/nbd.c:1406 [inline] __nbd_ioctl drivers/block/nbd.c:1480 [inline] nbd_ioctl+0x3b2/0x9c0 drivers/block/nbd.c:1520 blkdev_ioctl+0x2ff/0x6c0 block/ioctl.c:614 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+0x11f/0x190 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f3009689059 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f300a807168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f300979bf60 RCX: 00007f3009689059 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000009 RBP: 00007f300a8071d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffcc5ade55f R14: 00007f300a807300 R15: 0000000000022000