general protection fault, probably for non-canonical address 0xdffffdc21ffffd43: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x00000e10ffffea18-0x00000e10ffffea1f] CPU: 1 PID: 8484 Comm: systemd-udevd Not tainted 5.12.0-rc8-next-20210423-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 45 46 de 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:ffffc900016af758 EFLAGS: 00010246 RAX: 000001c21ffffd43 RBX: 00000e10ffffea00 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8396b32b RDI: 00000e10ffffea18 RBP: dffffc0000000000 R08: 00000000c9a9f717 R09: 0000000000000000 R10: ffffffff8396b3b1 R11: 0000000000000002 R12: ffffc900016af850 R13: ffff888015d09490 R14: 0000000000000002 R15: 0000000000000000 FS: 00007fa131b8a8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa130a8b06c CR3: 000000002d105000 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_check_open_permission+0x33e/0x380 security/tomoyo/file.c:777 tomoyo_file_open security/tomoyo/tomoyo.c:313 [inline] tomoyo_file_open+0xa3/0xd0 security/tomoyo/tomoyo.c:308 security_file_open+0x52/0x4f0 security/security.c:1633 do_dentry_open+0x358/0x11b0 fs/open.c:813 do_open fs/namei.c:3361 [inline] path_openat+0x1c09/0x27d0 fs/namei.c:3494 do_filp_open+0x190/0x3d0 fs/namei.c:3521 do_sys_openat2+0x16d/0x420 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_open fs/open.c:1211 [inline] __se_sys_open fs/open.c:1207 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1207 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fa1309fc6f0 Code: 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 19 30 2c 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 fe 9d 01 00 48 89 04 24 RSP: 002b:00007ffe44ecc7c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000056088675d7d0 RCX: 00007fa1309fc6f0 RDX: 00000000000001b6 RSI: 0000000000080000 RDI: 00007ffe44ecc970 RBP: 0000000000000008 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000080000 R11: 0000000000000246 R12: 00005608865a868a R13: 0000000000000001 R14: 00005608867706d0 R15: 00007ffe44ecc9f0 Modules linked in: ---[ end trace 4b9ca2ace4761199 ]--- 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 45 46 de 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:ffffc900016af758 EFLAGS: 00010246 RAX: 000001c21ffffd43 RBX: 00000e10ffffea00 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8396b32b RDI: 00000e10ffffea18 RBP: dffffc0000000000 R08: 00000000c9a9f717 R09: 0000000000000000 R10: ffffffff8396b3b1 R11: 0000000000000002 R12: ffffc900016af850 R13: ffff888015d09490 R14: 0000000000000002 R15: 0000000000000000 FS: 00007fa131b8a8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa697217000 CR3: 000000002d105000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400