R13: 00007f4675974038 R14: 00007f4675973fa0 R15: 00007ffff9624368 ---[ end trace 4a4024950b8f0cc4 ]--- general protection fault, probably for non-canonical address 0xdffffc000000001a: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000000d0-0x00000000000000d7] CPU: 0 PID: 3604 Comm: syz.8.774 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:kill_device drivers/base/core.c:3388 [inline] RIP: 0010:device_del+0xe0/0xe60 drivers/base/core.c:3416 Code: 42 80 3c 30 00 74 08 4c 89 ef e8 5b f4 ef fe 41 bf d0 00 00 00 4d 03 7d 00 4d 89 fe 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 06 84 c0 0f 85 b7 0c 00 00 45 0f b6 27 44 89 e6 83 e6 RSP: 0018:ffffc90001557980 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88812642b108 RCX: ffffffff84823af2 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc90001557900 RBP: ffffc90001557a78 R08: ffffc90001557907 R09: 1ffff920002aaf20 R10: dffffc0000000000 R11: fffff520002aaf21 R12: ffff88812642b068 R13: ffff88812642b0d0 R14: 000000000000001a R15: 00000000000000d0 FS: 00007f46741456c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa580c4cff8 CR3: 000000010eb61000 CR4: 00000000003526b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: del_gendisk+0x85d/0xa10 block/genhd.c:953 cleanup_mapped_device+0x16c/0x270 drivers/md/dm.c:1771 alloc_dev drivers/md/dm.c:1903 [inline] dm_create+0xb03/0xdd0 drivers/md/dm.c:2081 dev_create+0x12e/0x2c0 drivers/md/dm-ioctl.c:784 ctl_ioctl drivers/md/dm-ioctl.c:1925 [inline] dm_ctl_ioctl+0x8ee/0xca0 drivers/md/dm-ioctl.c:1947 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0x121/0x1a0 fs/ioctl.c:739 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:739 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f46756ed559 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:00007f4674145028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4675973fa0 RCX: 00007f46756ed559 RDX: 0000200000000380 RSI: 00000000c138fd03 RDI: 0000000000000007 RBP: 00007f4675784b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4675974038 R14: 00007f4675973fa0 R15: 00007ffff9624368 Modules linked in: ---[ end trace 4a4024950b8f0cc5 ]--- RIP: 0010:kill_device drivers/base/core.c:3388 [inline] RIP: 0010:device_del+0xe0/0xe60 drivers/base/core.c:3416 Code: 42 80 3c 30 00 74 08 4c 89 ef e8 5b f4 ef fe 41 bf d0 00 00 00 4d 03 7d 00 4d 89 fe 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 06 84 c0 0f 85 b7 0c 00 00 45 0f b6 27 44 89 e6 83 e6 RSP: 0018:ffffc90001557980 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88812642b108 RCX: ffffffff84823af2 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc90001557900 RBP: ffffc90001557a78 R08: ffffc90001557907 R09: 1ffff920002aaf20 R10: dffffc0000000000 R11: fffff520002aaf21 R12: ffff88812642b068 R13: ffff88812642b0d0 R14: 000000000000001a R15: 00000000000000d0 FS: 00007f46741456c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f884f3a1dac CR3: 000000010eb61000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) 5: 74 08 je 0xf 7: 4c 89 ef mov %r13,%rdi a: e8 5b f4 ef fe call 0xfeeff46a f: 41 bf d0 00 00 00 mov $0xd0,%r15d 15: 4d 03 7d 00 add 0x0(%r13),%r15 19: 4d 89 fe mov %r15,%r14 1c: 49 c1 ee 03 shr $0x3,%r14 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 41 0f b6 04 06 movzbl (%r14,%rax,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 b7 0c 00 00 jne 0xcee 37: 45 0f b6 27 movzbl (%r15),%r12d 3b: 44 89 e6 mov %r12d,%esi 3e: 83 .byte 0x83 3f: e6 .byte 0xe6