RAX: ffffffffffffffda RBX: 00007f32504d2f80 RCX: 00007f32503b3ae9 RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000004 RBP: 00007f32503ff47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f32504d2f80 R15: 00007ffe31ad7cf8 ---[ end trace 2209fc39dfc3c28d ]--- 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: 333 Comm: syz-executor.0 Tainted: G W 5.10.238-syzkaller-1007487-g59e9a7228857 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:strlen+0x29/0x70 lib/string.c:568 Code: 00 55 48 89 e5 41 57 41 56 41 54 53 48 c7 c0 ff ff ff ff 49 be 00 00 00 00 00 fc ff df 48 89 fb 49 89 c7 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 75 11 48 ff c3 49 8d 47 01 42 80 7c 3f 01 00 RSP: 0018:ffffc90000f47c40 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: ffff88810cbf3b40 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000f47c60 R08: dffffc0000000000 R09: ffffed102000b22f R10: ffffed102000b22f R11: 1ffff1102000b22e R12: ffff8881083ca270 R13: 0000000000000000 R14: dffffc0000000000 R15: ffffffffffffffff FS: 00007f324ff366c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe31ad8008 CR3: 0000000106fc6000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kernfs_name_hash fs/kernfs/dir.c:309 [inline] kernfs_find_ns+0x95/0x4b0 fs/kernfs/dir.c:892 kernfs_remove_by_name_ns+0x89/0x160 fs/kernfs/dir.c:1595 kernfs_remove_by_name include/linux/kernfs.h:623 [inline] sysfs_remove_link+0x50/0x60 fs/sysfs/symlink.c:152 del_gendisk+0x822/0x9e0 block/genhd.c:951 loop_remove+0x46/0xb0 drivers/block/loop.c:2210 loop_control_ioctl+0x487/0x550 drivers/block/loop.c:2309 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:0x7f32503b3ae9 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:00007f324ff360c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f32504d2f80 RCX: 00007f32503b3ae9 RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000004 RBP: 00007f32503ff47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f32504d2f80 R15: 00007ffe31ad7cf8 Modules linked in: ---[ end trace 2209fc39dfc3c28e ]--- RIP: 0010:strlen+0x29/0x70 lib/string.c:568 Code: 00 55 48 89 e5 41 57 41 56 41 54 53 48 c7 c0 ff ff ff ff 49 be 00 00 00 00 00 fc ff df 48 89 fb 49 89 c7 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 75 11 48 ff c3 49 8d 47 01 42 80 7c 3f 01 00 RSP: 0018:ffffc90000f47c40 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: ffff88810cbf3b40 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000f47c60 R08: dffffc0000000000 R09: ffffed102000b22f R10: ffffed102000b22f R11: 1ffff1102000b22e R12: ffff8881083ca270 R13: 0000000000000000 R14: dffffc0000000000 R15: ffffffffffffffff FS: 00007f324ff366c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe31ad8008 CR3: 0000000106fc6000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 55 48 add %dl,0x48(%rbp) 3: 89 e5 mov %esp,%ebp 5: 41 57 push %r15 7: 41 56 push %r14 9: 41 54 push %r12 b: 53 push %rbx c: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax 13: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14 1a: fc ff df 1d: 48 89 fb mov %rdi,%rbx 20: 49 89 c7 mov %rax,%r15 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 75 11 jne 0x44 33: 48 ff c3 inc %rbx 36: 49 8d 47 01 lea 0x1(%r15),%rax 3a: 42 80 7c 3f 01 00 cmpb $0x0,0x1(%rdi,%r15,1)