RBP: 00007f3bc9484fc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3bc9485050 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 kobject_add_internal failed for 7:0 with -EEXIST, don't try to register things with the same name in the same directory. ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8091 at block/genhd.c:719 __device_add_disk.cold+0x69/0x188 block/genhd.c:719 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 8091 Comm: syz-executor334 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 panic+0x26a/0x50e kernel/panic.c:186 __warn.cold+0x20/0x5a kernel/panic.c:541 report_bug+0x262/0x2b0 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:__device_add_disk.cold+0x69/0x188 block/genhd.c:719 Code: 02 84 c0 74 08 3c 03 0f 8e a8 00 00 00 44 8b a5 f0 05 00 00 e9 67 ad 6a fb e8 05 45 66 f9 48 c7 c7 60 75 b2 88 e8 64 76 f7 ff <0f> 0b e9 8f b9 6a fb e8 ed 44 66 f9 48 c7 c7 60 75 b2 88 e8 4c 76 RSP: 0018:ffff8880956a7b38 EFLAGS: 00010286 RAX: 0000000000000024 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1012ad4f59 RBP: ffff8880b27f0580 R08: 0000000000000024 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b27f0610 R13: ffff8880b27f0c10 R14: 00000000ffffffef R15: ffff8880b27f0584 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:0x7f3bc94c0fd9 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:00007ffe5b7ff8e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3bc94c0fd9 RDX: 8000002000400000 RSI: 0000000000004c80 RDI: 0000000000000003 RBP: 00007f3bc9484fc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3bc9485050 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds..