RAX: ffffffffffffffda RBX: 00007f4fd55d3f60 RCX: 00007f4fd54c1109 RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000007 RBP: 00007f4fd551b05d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe61b245ff R14: 00007f4fd4637300 R15: 0000000000022000 ---[ end trace 951f7f8d50c96ccf ]--- stack segment: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 10819 Comm: syz-executor.4 Tainted: G W 5.4.190-syzkaller-00044-g77dc925ddffb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kill_device drivers/base/core.c:3022 [inline] RIP: 0010:device_del+0x9f/0xf40 drivers/base/core.c:3049 Code: 74 08 4c 89 e7 e8 c1 5c 10 ff 48 89 5c 24 10 41 bf c8 00 00 00 4d 03 3c 24 4c 89 fd 48 c1 ed 03 48 b8 00 00 00 00 00 fc ff df <8a> 44 05 00 84 c0 0f 85 17 0e 00 00 41 0f b6 1f 89 de 83 e6 01 31 RSP: 0018:ffff8881db45fcb8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff1103d58f01b RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff8881db45fc78 RBP: 0000000000000019 R08: dffffc0000000000 R09: ffffed103b68bf90 R10: ffffed103b68bf90 R11: 1ffff1103b68bf8f R12: ffff8881eac780d8 R13: ffff8881eac78070 R14: ffff8881eac78110 R15: 00000000000000c8 FS: 00007f4fd4637700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f95d05aff64 CR3: 00000001e0fe4000 CR4: 00000000003426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: del_gendisk+0x93f/0xb60 block/genhd.c:835 loop_remove+0x42/0xa0 drivers/block/loop.c:2189 loop_control_ioctl+0x547/0x600 drivers/block/loop.c:2288 do_vfs_ioctl+0x6d1/0x15b0 fs/ioctl.c:47 ksys_ioctl fs/ioctl.c:742 [inline] __do_sys_ioctl fs/ioctl.c:749 [inline] __se_sys_ioctl fs/ioctl.c:747 [inline] __x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:747 do_syscall_64+0xcb/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f4fd54c1109 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4fd4637168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4fd55d3f60 RCX: 00007f4fd54c1109 RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000007 RBP: 00007f4fd551b05d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe61b245ff R14: 00007f4fd4637300 R15: 0000000000022000 Modules linked in: ---[ end trace 951f7f8d50c96cd0 ]--- RIP: 0010:kill_device drivers/base/core.c:3022 [inline] RIP: 0010:device_del+0x9f/0xf40 drivers/base/core.c:3049 Code: 74 08 4c 89 e7 e8 c1 5c 10 ff 48 89 5c 24 10 41 bf c8 00 00 00 4d 03 3c 24 4c 89 fd 48 c1 ed 03 48 b8 00 00 00 00 00 fc ff df <8a> 44 05 00 84 c0 0f 85 17 0e 00 00 41 0f b6 1f 89 de 83 e6 01 31 RSP: 0018:ffff8881db45fcb8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff1103d58f01b RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff8881db45fc78 RBP: 0000000000000019 R08: dffffc0000000000 R09: ffffed103b68bf90 R10: ffffed103b68bf90 R11: 1ffff1103b68bf8f R12: ffff8881eac780d8 R13: ffff8881eac78070 R14: ffff8881eac78110 R15: 00000000000000c8 FS: 00007f4fd4637700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f95d05aff64 CR3: 00000001e0fe4000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 74 08 je 0xa 2: 4c 89 e7 mov %r12,%rdi 5: e8 c1 5c 10 ff callq 0xff105ccb a: 48 89 5c 24 10 mov %rbx,0x10(%rsp) f: 41 bf c8 00 00 00 mov $0xc8,%r15d 15: 4d 03 3c 24 add (%r12),%r15 19: 4c 89 fd mov %r15,%rbp 1c: 48 c1 ed 03 shr $0x3,%rbp 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 8a 44 05 00 mov 0x0(%rbp,%rax,1),%al <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 17 0e 00 00 jne 0xe4d 36: 41 0f b6 1f movzbl (%r15),%ebx 3a: 89 de mov %ebx,%esi 3c: 83 e6 01 and $0x1,%esi 3f: 31 .byte 0x31