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:00007f2faa404168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f2fab3a0f60 RCX: 00007f2fab28e0e9 RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000006 RBP: 00007f2fab2e808d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc20f16c2f R14: 00007f2faa404300 R15: 0000000000022000 ---[ end trace a1840f1637c00172 ]--- general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 26110 Comm: syz-executor.5 Tainted: G W 5.10.117-syzkaller-00813-g0974b8411a58 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:strlen+0x3a/0x80 lib/string.c:568 Code: c0 ff ff ff ff 49 bf 00 00 00 00 00 fc ff df 48 89 fb 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 49 89 c4 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 12 48 ff c3 49 8d 44 24 01 43 80 7c 26 01 RSP: 0018:ffffc900064afb68 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888115a593c0 RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900064afb88 R08: ffffffff81d1390c R09: 000000000000ffff R10: fffff52000c95f75 R11: 1ffff92000c95f74 R12: ffffffffffffffff R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f2faa404700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33041000 CR3: 00000001127cf000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kernfs_name_hash+0x21/0x240 fs/kernfs/dir.c:302 kernfs_find_ns+0x72/0x280 fs/kernfs/dir.c:841 kernfs_remove_by_name_ns+0x36/0x90 fs/kernfs/dir.c:1514 kernfs_remove_by_name include/linux/kernfs.h:608 [inline] sysfs_remove_link+0x50/0x60 fs/sysfs/symlink.c:152 del_gendisk+0xbe0/0xe20 block/genhd.c:951 loop_remove+0x46/0xb0 drivers/block/loop.c:2185 loop_control_ioctl+0x67f/0x740 drivers/block/loop.c:2284 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0x115/0x190 fs/ioctl.c:739 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:739 do_syscall_64+0x34/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f2fab28e0e9 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:00007f2faa404168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f2fab3a0f60 RCX: 00007f2fab28e0e9 RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000006 RBP: 00007f2fab2e808d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc20f16c2f R14: 00007f2faa404300 R15: 0000000000022000 Modules linked in: ---[ end trace a1840f1637c00173 ]--- RIP: 0010:strlen+0x3a/0x80 lib/string.c:568 Code: c0 ff ff ff ff 49 bf 00 00 00 00 00 fc ff df 48 89 fb 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 49 89 c4 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 12 48 ff c3 49 8d 44 24 01 43 80 7c 26 01 RSP: 0018:ffffc900064afb68 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888115a593c0 RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900064afb88 R08: ffffffff81d1390c R09: 000000000000ffff R10: fffff52000c95f75 R11: 1ffff92000c95f74 R12: ffffffffffffffff R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f2faa404700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33041000 CR3: 00000001127cf000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: ff c3 inc %ebx 2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 9: 00 00 00 c: 0f 1f 40 00 nopl 0x0(%rax) 10: 48 89 f8 mov %rdi,%rax 13: 48 89 f7 mov %rsi,%rdi 16: 48 89 d6 mov %rdx,%rsi 19: 48 89 ca mov %rcx,%rdx 1c: 4d 89 c2 mov %r8,%r10 1f: 4d 89 c8 mov %r9,%r8 22: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 27: 0f 05 syscall * 29: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 2f: 73 01 jae 0x32 31: c3 retq 32: 48 c7 c1 b8 ff ff ff mov $0xffffffffffffffb8,%rcx 39: f7 d8 neg %eax 3b: 64 89 01 mov %eax,%fs:(%rcx) 3e: 48 rex.W