Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 22536 Comm: GC for TOMOYO Not tainted 6.13.0-rc3-syzkaller-00044-gaef25be35d23 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:tomoyo_collect_acl security/tomoyo/gc.c:511 [inline] RIP: 0010:tomoyo_collect_entry security/tomoyo/gc.c:537 [inline] RIP: 0010:tomoyo_gc_thread security/tomoyo/gc.c:619 [inline] RIP: 0010:tomoyo_gc_thread+0x1ab/0x1390 security/tomoyo/gc.c:612 Code: 9b 61 47 fd c6 45 18 ff 4c 89 ee bf 09 00 00 00 e8 8a f1 ff ff e8 85 61 47 fd 48 89 d8 48 89 de 49 89 dd 48 c1 e8 03 83 e6 07 <42> 0f b6 0c 20 48 8d 43 07 48 89 c2 48 c1 ea 03 42 0f b6 14 22 40 RSP: 0018:ffffc90004adfe78 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8451ed4b RDX: ffff888028161e00 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffff888026830480 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880256b2080 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0076b452d8 CR3: 000000002929a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:tomoyo_collect_acl security/tomoyo/gc.c:511 [inline] RIP: 0010:tomoyo_collect_entry security/tomoyo/gc.c:537 [inline] RIP: 0010:tomoyo_gc_thread security/tomoyo/gc.c:619 [inline] RIP: 0010:tomoyo_gc_thread+0x1ab/0x1390 security/tomoyo/gc.c:612 Code: 9b 61 47 fd c6 45 18 ff 4c 89 ee bf 09 00 00 00 e8 8a f1 ff ff e8 85 61 47 fd 48 89 d8 48 89 de 49 89 dd 48 c1 e8 03 83 e6 07 <42> 0f b6 0c 20 48 8d 43 07 48 89 c2 48 c1 ea 03 42 0f b6 14 22 40 RSP: 0018:ffffc90004adfe78 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8451ed4b RDX: ffff888028161e00 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffff888026830480 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880256b2080 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002980 CR3: 00000000694a8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 47 fd rex.RXB std 2: c6 45 18 ff movb $0xff,0x18(%rbp) 6: 4c 89 ee mov %r13,%rsi 9: bf 09 00 00 00 mov $0x9,%edi e: e8 8a f1 ff ff call 0xfffff19d 13: e8 85 61 47 fd call 0xfd47619d 18: 48 89 d8 mov %rbx,%rax 1b: 48 89 de mov %rbx,%rsi 1e: 49 89 dd mov %rbx,%r13 21: 48 c1 e8 03 shr $0x3,%rax 25: 83 e6 07 and $0x7,%esi * 28: 42 0f b6 0c 20 movzbl (%rax,%r12,1),%ecx <-- trapping instruction 2d: 48 8d 43 07 lea 0x7(%rbx),%rax 31: 48 89 c2 mov %rax,%rdx 34: 48 c1 ea 03 shr $0x3,%rdx 38: 42 0f b6 14 22 movzbl (%rdx,%r12,1),%edx 3d: 40 rex