R13: 0000200000004180 R14: 0000200000000a80 R15: 00007ffcbb61df08 kobject_add_internal failed for md2 with -EEXIST, don't try to register things with the same name in the same directory. ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7848 at block/genhd.c:547 device_add_disk+0x76b/0xd40 block/genhd.c:545 Modules linked in: CPU: 0 PID: 7848 Comm: syz-executor345 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:device_add_disk+0x76b/0xd40 block/genhd.c:547 Code: b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 0f 85 b0 04 00 00 8b 33 48 c7 c7 60 b4 6f 8c e8 cc d5 36 00 eb 05 e8 75 26 b2 fd <0f> 0b 41 bf 01 00 00 00 44 89 f8 48 83 c4 70 5b 41 5c 41 5d 41 5e RSP: 0018:ffffc90002f9f6b0 EFLAGS: 00010293 RAX: ffffffff83c59bab RBX: ffff88807cb6c400 RCX: ffff888019fc9dc0 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 0000000000000103 RBP: 0000000000000009 R08: dffffc0000000000 R09: ffffed100dc5f8e0 R10: ffffed100dc5f8e0 R11: 1ffff1100dc5f8df R12: ffff88806e2fc6c0 R13: 1ffff1100f96d880 R14: dffffc0000000000 R15: 00000000ffffffef FS: 00007f4916d266c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4916d26d58 CR3: 000000006d716000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: add_disk include/linux/genhd.h:200 [inline] md_alloc+0x809/0xc00 drivers/md/md.c:5782 blk_probe_dev block/genhd.c:685 [inline] blk_request_module+0x26e/0x290 block/genhd.c:-1 blkdev_get_no_open+0x38/0x1d0 block/bdev.c:740 blkdev_get_by_dev+0x77/0xa60 block/bdev.c:807 blkdev_open+0x12d/0x2c0 block/fops.c:466 do_dentry_open+0x7ff/0xf80 fs/open.c:826 do_open fs/namei.c:3608 [inline] path_openat+0x2682/0x2f30 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x4a0 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1280 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f4916d871c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 18 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4916d26218 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f4916e133f8 RCX: 00007f4916d871c9 RDX: 0000000000000000 RSI: 0000200000000a80 RDI: 00000000ffffff9c RBP: 00007f4916e133f0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4916de008c R13: 0000200000004180 R14: 0000200000000a80 R15: 00007ffcbb61df08