Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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:00007fab423560c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fab43710f80 RCX: 00007fab435e2ea9 RDX: 000000000040000c RSI: 0000000000004c81 RDI: 000000000000000b RBP: 00007fab4362f4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fab43710f80 R15: 00007ffde25a1ba8 ---[ end trace 9b1562503261c1f3 ]--- 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: 27630 Comm: syz-executor.2 Tainted: G W 5.10.209-syzkaller-00002-g4e1bc8d8e8ae #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:kill_device drivers/base/core.c:3369 [inline] RIP: 0010:device_del+0xdf/0xf00 drivers/base/core.c:3397 Code: 20 42 80 3c 28 00 74 08 48 89 df e8 9b bc dd fe 4c 89 7c 24 40 41 bf d0 00 00 00 48 89 5c 24 18 4c 03 3b 4d 89 fc 49 c1 ec 03 <43> 0f b6 04 2c 84 c0 0f 85 0a 0d 00 00 41 0f b6 1f 89 de 83 e6 01 RSP: 0018:ffffc900010ffb80 EFLAGS: 00010202 RAX: 1ffff11023af301a RBX: ffff88811d7980d0 RCX: ffffffff84b02565 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc900010ffb00 RBP: ffffc900010ffc70 R08: dffffc0000000000 R09: fffff5200021ff61 R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000001a R13: dffffc0000000000 R14: ffff88811d798108 R15: 00000000000000d0 FS: 00007fab423566c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f916989c30c CR3: 00000001451be000 CR4: 00000000003526b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: del_gendisk+0x88d/0xa90 block/genhd.c:953 loop_remove+0x46/0xb0 drivers/block/loop.c:2210 loop_control_ioctl+0x564/0x620 drivers/block/loop.c:2309 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0x114/0x190 fs/ioctl.c:739 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:739 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fab435e2ea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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:00007fab423560c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fab43710f80 RCX: 00007fab435e2ea9 RDX: 000000000040000c RSI: 0000000000004c81 RDI: 000000000000000b RBP: 00007fab4362f4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fab43710f80 R15: 00007ffde25a1ba8 Modules linked in: ---[ end trace 9b1562503261c1f4 ]--- RIP: 0010:kill_device drivers/base/core.c:3369 [inline] RIP: 0010:device_del+0xdf/0xf00 drivers/base/core.c:3397 Code: 20 42 80 3c 28 00 74 08 48 89 df e8 9b bc dd fe 4c 89 7c 24 40 41 bf d0 00 00 00 48 89 5c 24 18 4c 03 3b 4d 89 fc 49 c1 ec 03 <43> 0f b6 04 2c 84 c0 0f 85 0a 0d 00 00 41 0f b6 1f 89 de 83 e6 01 RSP: 0018:ffffc900010ffb80 EFLAGS: 00010202 RAX: 1ffff11023af301a RBX: ffff88811d7980d0 RCX: ffffffff84b02565 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc900010ffb00 RBP: ffffc900010ffc70 R08: dffffc0000000000 R09: fffff5200021ff61 R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000001a R13: dffffc0000000000 R14: ffff88811d798108 R15: 00000000000000d0 FS: 00007fab423566c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555558be818 CR3: 00000001451be000 CR4: 00000000003526a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 28 00 sub %al,(%rax) 2: 00 00 add %al,(%rax) 4: 75 05 jne 0xb 6: 48 83 c4 28 add $0x28,%rsp a: c3 ret b: e8 e1 20 00 00 call 0x20f1 10: 90 nop 11: 48 89 f8 mov %rdi,%rax 14: 48 89 f7 mov %rsi,%rdi 17: 48 89 d6 mov %rdx,%rsi 1a: 48 89 ca mov %rcx,%rdx 1d: 4d 89 c2 mov %r8,%r10 20: 4d 89 c8 mov %r9,%r8 23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 28: 0f 05 syscall * 2a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 ret 33: 48 c7 c1 b0 ff ff ff mov $0xffffffffffffffb0,%rcx 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W