general protection fault, probably for non-canonical address 0xdffffc0000008013: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x0000000000040098-0x000000000004009f] CPU: 1 PID: 4713 Comm: dhcpcd Not tainted 6.6.0-syzkaller-03860-g5a6a09e97199 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:list_empty include/linux/list.h:373 [inline] RIP: 0010:locks_remove_posix+0x100/0x500 fs/locks.c:2555 Code: 4d 8b ae 20 02 00 00 4d 85 ed 0f 84 04 02 00 00 e8 05 57 7f ff 49 8d 55 50 48 b9 00 00 00 00 00 fc ff df 48 89 d6 48 c1 ee 03 <80> 3c 0e 00 0f 85 a4 03 00 00 49 8b 45 50 48 39 c2 0f 84 d3 01 00 RSP: 0018:ffffc900038cf948 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff8880196a8a40 RCX: dffffc0000000000 RDX: 0000000000040098 RSI: 0000000000008013 RDI: ffff888071418460 RBP: 1ffff92000719f2b R08: 0000000000000003 R09: 0000000000004000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffc900038cf988 R13: 0000000000040048 R14: ffff888071418240 R15: ffff8880196a8bd0 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7bb0038000 CR3: 000000000cb77000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: filp_flush+0x11b/0x1a0 fs/open.c:1554 filp_close+0x1c/0x30 fs/open.c:1563 close_files fs/file.c:432 [inline] put_files_struct fs/file.c:447 [inline] put_files_struct+0x1df/0x360 fs/file.c:444 exit_files+0x82/0xb0 fs/file.c:464 do_exit+0xa5e/0x2a20 kernel/exit.c:869 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 get_signal+0x23ba/0x2790 kernel/signal.c:2915 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x4b/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f7bafec83cd Code: Unable to access opcode bytes at 0x7f7bafec83a3. RSP: 002b:00007ffc41dca460 EFLAGS: 00000246 ORIG_RAX: 00000000000000ea RAX: 0000000000000000 RBX: 00007f7bafe56740 RCX: 00007f7bafec83cd RDX: 0000000000000006 RSI: 0000000000001269 RDI: 0000000000001269 RBP: 0000000000001269 R08: 0000000000000000 R09: 0000000000000003 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000006 R13: 00007ffc41dca670 R14: 0000000000001000 R15: 0000000000000000 Modules linked in: ---------------- Code disassembly (best guess): 0: 4d 8b ae 20 02 00 00 mov 0x220(%r14),%r13 7: 4d 85 ed test %r13,%r13 a: 0f 84 04 02 00 00 je 0x214 10: e8 05 57 7f ff call 0xff7f571a 15: 49 8d 55 50 lea 0x50(%r13),%rdx 19: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 20: fc ff df 23: 48 89 d6 mov %rdx,%rsi 26: 48 c1 ee 03 shr $0x3,%rsi * 2a: 80 3c 0e 00 cmpb $0x0,(%rsi,%rcx,1) <-- trapping instruction 2e: 0f 85 a4 03 00 00 jne 0x3d8 34: 49 8b 45 50 mov 0x50(%r13),%rax 38: 48 39 c2 cmp %rax,%rdx 3b: 0f .byte 0xf 3c: 84 d3 test %dl,%bl 3e: 01 00 add %eax,(%rax)