------------[ cut here ]------------ kobject: '(null)' (ffff888030e74060): is not initialized, yet kobject_get() is being called. WARNING: CPU: 0 PID: 4537 at lib/kobject.c:634 kobject_get lib/kobject.c:632 [inline] WARNING: CPU: 0 PID: 4537 at lib/kobject.c:634 kobject_add_internal+0x115/0xca0 lib/kobject.c:216 Modules linked in: CPU: 0 PID: 4537 Comm: syz.0.51 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 RIP: 0010:kobject_get lib/kobject.c:632 [inline] RIP: 0010:kobject_add_internal+0x115/0xca0 lib/kobject.c:216 Code: b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 ae cf b3 f7 49 8b 34 24 48 c7 c7 80 f1 b1 8b 4c 89 e2 e8 eb e6 2d f7 <0f> 0b e9 e5 00 00 00 e8 9f 73 62 f7 b8 fe ff ff ff e9 eb 06 00 00 RSP: 0018:ffffc90004a77808 EFLAGS: 00010246 RAX: e497886a4706f400 RBX: ffff888027ed0078 RCX: 0000000000080000 RDX: ffffc9000eb81000 RSI: 000000000000970c RDI: 000000000000970d RBP: 0000000000000000 R08: ffffc90004a77487 R09: 1ffff9200094ee90 R10: dffffc0000000000 R11: fffff5200094ee91 R12: ffff888030e74060 R13: dffffc0000000000 R14: ffff888030e7409c R15: dffffc0000000000 FS: 00007eff496816c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007eff487eb9c0 CR3: 0000000075180000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kobject_add_varg lib/kobject.c:366 [inline] kobject_add+0x160/0x230 lib/kobject.c:418 bind_rdev_to_array+0xb50/0x1260 drivers/md/md.c:2493 md_add_new_disk+0xe43/0x17b0 drivers/md/md.c:6997 md_ioctl+0x24f5/0x2880 drivers/md/md.c:7806 blkdev_ioctl+0x37b/0x740 block/ioctl.c:626 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7eff4879e2d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007eff49681028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007eff48a26090 RCX: 00007eff4879e2d9 RDX: 0000200000000900 RSI: 0000000040140921 RDI: 0000000000000004 RBP: 00007eff48835888 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007eff48a26128 R14: 00007eff48a26090 R15: 00007fffdf16f558