RDX: 0000000000000000 RSI: 0000000000004c80 RDI: 0000000000000003 RBP: 00007ffcc7de3d90 R08: 0000000000000002 R09: 00007fa843003739 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ------------[ cut here ]------------ kernel BUG at fs/sysfs/group.c:115! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8114 Comm: syz-executor292 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:internal_create_group+0x8ef/0xb20 fs/sysfs/group.c:115 Code: fc ff ff e8 33 46 9d ff 48 8b 7c 24 08 e8 99 1f ff ff e9 55 fe ff ff e8 1f 46 9d ff 48 85 db 0f 85 eb f7 ff ff e8 11 46 9d ff <0f> 0b 41 bd ea ff ff ff e9 35 fe ff ff e8 ff 45 9d ff 48 83 7c 24 RSP: 0018:ffff8880917bf9f8 EFLAGS: 00010293 RAX: ffff88809538a640 RBX: 0000000000000000 RCX: ffffffff81c5372e RDX: 0000000000000000 RSI: ffffffff81c53f5f RDI: 0000000000000005 RBP: ffff888094cc0490 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888094cc0450 R14: ffff888094cc0460 R15: 0000000000000000 FS: 00005555559f53c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e19835d410 CR3: 0000000099408000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: blk_register_queue+0x12c/0x5b0 block/blk-sysfs.c:919 __device_add_disk+0xe1d/0x10c0 block/genhd.c:725 add_disk include/linux/genhd.h:409 [inline] loop_add+0x628/0x8a0 drivers/block/loop.c:2048 loop_control_ioctl drivers/block/loop.c:2149 [inline] loop_control_ioctl+0x16c/0x480 drivers/block/loop.c:2131 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fa84313a9e9 Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffcc7de3d88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa84313a9e9 RDX: 0000000000000000 RSI: 0000000000004c80 RDI: 0000000000000003 RBP: 00007ffcc7de3d90 R08: 0000000000000002 R09: 00007fa843003739 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 06d6163fa020f785 ]--- RIP: 0010:internal_create_group+0x8ef/0xb20 fs/sysfs/group.c:115 Code: fc ff ff e8 33 46 9d ff 48 8b 7c 24 08 e8 99 1f ff ff e9 55 fe ff ff e8 1f 46 9d ff 48 85 db 0f 85 eb f7 ff ff e8 11 46 9d ff <0f> 0b 41 bd ea ff ff ff e9 35 fe ff ff e8 ff 45 9d ff 48 83 7c 24 RSP: 0018:ffff8880917bf9f8 EFLAGS: 00010293 RAX: ffff88809538a640 RBX: 0000000000000000 RCX: ffffffff81c5372e RDX: 0000000000000000 RSI: ffffffff81c53f5f RDI: 0000000000000005 RBP: ffff888094cc0490 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888094cc0450 R14: ffff888094cc0460 R15: 0000000000000000 FS: 00005555559f53c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e19835d410 CR3: 0000000099408000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400