general protection fault, probably for non-canonical address 0xdffffc3c1ffffd43: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x000001e0ffffea18-0x000001e0ffffea1f] CPU: 1 PID: 8418 Comm: systemd-udevd Not tainted 5.12.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:tomoyo_check_acl+0xac/0x450 security/tomoyo/domain.c:173 Code: 00 0f 85 69 03 00 00 49 8b 5d 00 49 39 dd 0f 84 fa 01 00 00 e8 f5 28 e2 fd 48 8d 7b 18 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <0f> b6 04 28 38 d0 7f 08 84 c0 0f 85 f7 02 00 00 44 0f b6 73 18 31 RSP: 0018:ffffc900016bfa20 EFLAGS: 00010246 RAX: 0000003c1ffffd43 RBX: 000001e0ffffea00 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8391cd6b RDI: 000001e0ffffea18 RBP: dffffc0000000000 R08: 000000007e39663c R09: 0000000000000000 R10: ffffffff8391ce18 R11: 0000000000000000 R12: ffffc900016bfb50 R13: ffff88814174ea10 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fd7682688c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff830e4c70 CR3: 0000000013dcf000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tomoyo_path_permission security/tomoyo/file.c:586 [inline] tomoyo_path_permission+0x1ff/0x3a0 security/tomoyo/file.c:573 tomoyo_path_perm+0x2f0/0x400 security/tomoyo/file.c:838 security_inode_getattr+0xcf/0x140 security/security.c:1288 vfs_getattr fs/stat.c:131 [inline] vfs_statx+0x164/0x390 fs/stat.c:199 vfs_fstatat fs/stat.c:217 [inline] vfs_lstat include/linux/fs.h:3240 [inline] __do_sys_newlstat+0x91/0x110 fs/stat.c:372 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fd7670da335 Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89 RSP: 002b:00007fff830e5868 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 0000557f52fa4170 RCX: 00007fd7670da335 RDX: 00007fff830e58a0 RSI: 00007fff830e58a0 RDI: 0000557f52fa3170 RBP: 00007fff830e5960 R08: 00007fd767399218 R09: 0000000000001010 R10: 0000000000000020 R11: 0000000000000246 R12: 0000557f52fa3170 R13: 0000557f52fa3190 R14: 0000557f52fac099 R15: 0000557f52fac0a0 Modules linked in: ---[ end trace d085dfeed9415386 ]--- RIP: 0010:tomoyo_check_acl+0xac/0x450 security/tomoyo/domain.c:173 Code: 00 0f 85 69 03 00 00 49 8b 5d 00 49 39 dd 0f 84 fa 01 00 00 e8 f5 28 e2 fd 48 8d 7b 18 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <0f> b6 04 28 38 d0 7f 08 84 c0 0f 85 f7 02 00 00 44 0f b6 73 18 31 RSP: 0018:ffffc900016bfa20 EFLAGS: 00010246