RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 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: 8469 at block/genhd.c:748 __device_add_disk+0xfdc/0x12b0 block/genhd.c:748 Modules linked in: CPU: 0 PID: 8469 Comm: syz-executor181 Not tainted 5.11.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__device_add_disk+0xfdc/0x12b0 block/genhd.c:748 Code: f1 ff ff e8 d6 4f c4 fd 0f 0b e9 12 f7 ff ff 48 89 7c 24 20 e8 c5 4f c4 fd 0f 0b 48 8b 7c 24 20 e9 d6 f4 ff ff e8 b4 4f c4 fd <0f> 0b e9 f7 fb ff ff 4c 89 ef e8 05 10 07 fe e9 7d f1 ff ff 48 8b RSP: 0018:ffffc900014bfcd0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88801ee6d340 RSI: ffffffff83ae7a0c RDI: 0000000000000003 RBP: ffff888020c86c00 R08: 0000000000000000 R09: ffffffff8ed317f7 R10: ffffffff83ae7601 R11: 0000000000000000 R12: 00000000ffffffef R13: ffff888020c86c58 R14: ffff888018668c50 R15: ffff888027de8000 FS: 0000000000000000(0000) GS:ffff8880b9e00000(0063) knlGS:0000000009587840 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007f736676f6c0 CR3: 00000000230ce000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: add_disk include/linux/genhd.h:241 [inline] loop_add+0x639/0x8c0 drivers/block/loop.c:2163 loop_control_ioctl drivers/block/loop.c:2258 [inline] loop_control_ioctl+0x16c/0x470 drivers/block/loop.c:2240 __do_compat_sys_ioctl+0x1d3/0x230 fs/ioctl.c:842 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7fdc549 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000ff8295ac EFLAGS: 00000213 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000004c80 RDX: 0000000000200000 RSI: 00000000080ea078 RDI: 00000000ff829600 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000