RDX: 0000000000000000 RSI: 0000000000004c80 RDI: 0000000000000003 RBP: 00007f23b7a214a0 R08: 0000000000000002 R09: 0000000000003138 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f23b794a300 R13: 0000000000000002 R14: 00007f23b794a400 R15: 0000000000022000 ------------[ cut here ]------------ kernel BUG at fs/sysfs/group.c:113! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 8781 Comm: syz-executor347 Not tainted 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 task: ffff8880b41b44c0 task.stack: ffff8880981e8000 RIP: 0010:internal_create_group+0x55f/0x710 fs/sysfs/group.c:113 RSP: 0018:ffff8880981efb00 EFLAGS: 00010297 RAX: ffff8880b41b44c0 RBX: ffff8880b4242da0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880b4242da0 RBP: ffff8880968704c0 R08: ffffffff8b9c5390 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff88fafbe0 R13: ffff888096870708 R14: 0000000000000000 R15: ffff8880b4242dd0 FS: 00007f23b794a700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f23b79d9d50 CR3: 000000009a471000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: blk_register_queue+0xd3/0x350 block/blk-sysfs.c:891 device_add_disk+0x97c/0xdc0 block/genhd.c:683 add_disk include/linux/genhd.h:396 [inline] loop_add+0x615/0x830 drivers/block/loop.c:1909 loop_control_ioctl+0x11a/0x3f0 drivers/block/loop.c:2006 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f23b7998ba9 RSP: 002b:00007f23b794a2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f23b7a214a8 RCX: 00007f23b7998ba9 RDX: 0000000000000000 RSI: 0000000000004c80 RDI: 0000000000000003 RBP: 00007f23b7a214a0 R08: 0000000000000002 R09: 0000000000003138 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f23b794a300 R13: 0000000000000002 R14: 00007f23b794a400 R15: 0000000000022000 Code: 48 c1 ea 03 80 3c 02 00 0f 84 9c fd ff ff e8 e9 fe da ff e9 92 fd ff ff e8 df 3d b1 ff 4d 85 f6 0f 85 16 fb ff ff e8 d1 3d b1 ff <0f> 0b e8 ca 3d b1 ff 49 83 fe ef 74 18 e8 bf 3d b1 ff 45 89 f7 RIP: internal_create_group+0x55f/0x710 fs/sysfs/group.c:113 RSP: ffff8880981efb00 ---[ end trace baad0b108e6d5736 ]---