general protection fault, probably for non-canonical address 0xdffffc3c1ffffd43: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x000001e0ffffea18-0x000001e0ffffea1f] CPU: 0 PID: 8468 Comm: systemd-sysctl 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:ffffc9000169fbf0 EFLAGS: 00010246 RAX: 0000003c1ffffd43 RBX: 000001e0ffffea00 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8396b32b RDI: 000001e0ffffea18 RBP: dffffc0000000000 R08: 00000000b9036c7a R09: 0000000000000000 R10: ffffffff8396b3d8 R11: 0000000000000000 R12: ffffc9000169fcb8 R13: ffff888016354590 R14: 0000000000000002 R15: 0000000000000000 FS: 00007f75496b68c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f75493c0571 CR3: 0000000015537000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tomoyo_path_number_perm+0x32a/0x590 security/tomoyo/file.c:733 security_file_ioctl+0x50/0xb0 security/security.c:1539 __do_sys_ioctl fs/ioctl.c:1063 [inline] __se_sys_ioctl fs/ioctl.c:1055 [inline] __x64_sys_ioctl+0xb3/0x200 fs/ioctl.c:1055 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f7548da680a Code: ff e9 62 fe ff ff 66 2e 0f 1f 84 00 00 00 00 00 53 49 89 f0 48 63 ff be 01 54 00 00 b8 10 00 00 00 48 83 ec 30 48 89 e2 0f 05 <48> 3d 00 f0 ff ff 77 6e 85 c0 89 c3 75 5c 8b 04 24 8b 54 24 0c 4c RSP: 002b:00007fffa8358ca0 EFLAGS: 00000206 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007f7548da680a RDX: 00007fffa8358ca0 RSI: 0000000000005401 RDI: 0000000000000002 RBP: 0000000000000007 R08: 00007fffa8358ce0 R09: 000000000000000a R10: fffffffffffff70a R11: 0000000000000206 R12: 0000000000000005 R13: 00007fffa8358ea8 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 75bd6e536c854705 ]--- 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:ffffc9000169fbf0 EFLAGS: 00010246 RAX: 0000003c1ffffd43 RBX: 000001e0ffffea00 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8396b32b RDI: 000001e0ffffea18 RBP: dffffc0000000000 R08: 00000000b9036c7a R09: 0000000000000000 R10: ffffffff8396b3d8 R11: 0000000000000000 R12: ffffc9000169fcb8 R13: ffff888016354590 R14: 0000000000000002 R15: 0000000000000000 FS: 00007f75496b68c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7897f7f000 CR3: 0000000015537000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400