RBP: 00007fbf56a32c91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fbf56c16128 R14: 00007fbf56c16090 R15: 00007fff010989e8 kobject: kobject_add_internal failed for mtd3 (error: -12 parent: mtd) ------------[ cut here ]------------ !list_empty(&mtd->part.node) WARNING: drivers/mtd/mtdpart.c:38 at release_mtd_partition+0x71/0x90 drivers/mtd/mtdpart.c:38, CPU#0: syz.0.1797/14117 Modules linked in: CPU: 0 UID: 0 PID: 14117 Comm: syz.0.1797 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 RIP: 0010:release_mtd_partition+0x71/0x90 drivers/mtd/mtdpart.c:38 Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 1e 48 8b 7b 38 e8 1f b2 d9 fb 48 89 df 5b 5d e9 15 b2 d9 fb e8 30 93 79 fb 90 <0f> 0b 90 eb c2 e8 85 73 e5 fb eb db 48 89 ef e8 7b 73 e5 fb eb a5 RSP: 0018:ffffc90004ea7818 EFLAGS: 00010287 RAX: 000000000002d00a RBX: ffff888022af5000 RCX: ffffc9000f6f3000 RDX: 0000000000080000 RSI: ffffffff868f3230 RDI: ffff888022af5000 RBP: ffff888022af56a0 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000003 R11: ffffffff81000130 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880216bb2e0 R15: 0000000000000000 FS: 00007fbf577cf6c0(0000) GS:ffff8881242f6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd86c912e9c CR3: 0000000059da6000 CR4: 00000000003526f0 Call Trace: mtd_release+0xa0/0xd0 drivers/mtd/mtdcore.c:102 device_release+0xd2/0x270 drivers/base/core.c:2566 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1f7/0x640 lib/kobject.c:737 put_device+0x1f/0x30 drivers/base/core.c:3799 add_mtd_device+0xbd7/0x17a0 drivers/mtd/mtdcore.c:803 mtd_add_partition+0x30a/0x660 drivers/mtd/mtdpart.c:280 mtdchar_blkpg_ioctl+0x207/0x250 drivers/mtd/mtdchar.c:562 mtdchar_ioctl+0x1670/0x1fd0 drivers/mtd/mtdchar.c:1218 mtdchar_unlocked_ioctl+0xb0/0xf0 drivers/mtd/mtdchar.c:1241 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x10b/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbf5699c819 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:00007fbf577cf028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fbf56c16090 RCX: 00007fbf5699c819 RDX: 0000000000000000 RSI: 0000000000001269 RDI: 0000000000000004 RBP: 00007fbf56a32c91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fbf56c16128 R14: 00007fbf56c16090 R15: 00007fff010989e8