general protection fault, probably for non-canonical address 0xdffffc00000000b2: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000590-0x0000000000000597] CPU: 0 PID: 13367 Comm: syz-executor.4 Not tainted 5.14.0-rc5-next-20210812-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:latency_exceeded block/blk-wbt.c:237 [inline] RIP: 0010:wb_timer_fn+0x149/0x1740 block/blk-wbt.c:360 Code: 03 80 3c 02 00 0f 85 68 13 00 00 48 8b 9b c8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 90 05 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 35 13 00 00 48 8b 9b 90 05 00 00 48 b8 00 00 00 RSP: 0018:ffffc90000007cd8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: 00000000000000b2 RSI: ffffffff83d2005d RDI: 0000000000000590 RBP: ffff888079d0f800 R08: 0000000000000003 R09: ffff888079d0f983 R10: ffffffff83d20052 R11: 000000000003875a R12: 0000000000000003 R13: 0000000000000000 R14: ffff88807d74a680 R15: ffff888079d0f8d0 FS: 000000000241e400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe1aca7fb8 CR3: 0000000037a1e000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x675/0xa20 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__sanitizer_cov_trace_switch+0xb9/0xf0 kernel/kcov.c:321 Code: 39 f7 72 1b 48 83 c2 01 48 89 5c 30 e0 48 89 6c 30 e8 4c 89 5c 30 f0 4e 89 4c e8 20 48 89 10 48 83 c1 01 49 39 ca 75 95 5b 5d <41> 5c 41 5d c3 48 83 f8 40 bb 07 00 00 00 0f 84 6c ff ff ff 5b 5d RSP: 0018:ffffc9000b6cf850 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000007 RDX: 0000000000000000 RSI: ffff888025698000 RDI: 0000000000000003 RBP: ffff8880773feb80 R08: ffffffff89dcfce0 R09: ffffffff839eeb39 R10: 0000000000000007 R11: 0000000000000002 R12: ffff888025698000 R13: 0000000000000103 R14: dffffc0000000000 R15: 0000000000000000 tomoyo_domain_quota_is_ok+0x1c9/0x550 security/tomoyo/util.c:1066 tomoyo_supervisor+0x2f2/0xf00 security/tomoyo/common.c:2089 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x270/0x3a0 security/tomoyo/file.c:573 tomoyo_path_perm+0x2f0/0x400 security/tomoyo/file.c:838 security_inode_getattr+0xcf/0x140 security/security.c:1333 vfs_getattr fs/stat.c:157 [inline] vfs_statx+0x164/0x390 fs/stat.c:225 vfs_fstatat fs/stat.c:243 [inline] vfs_lstat include/linux/fs.h:3433 [inline] __do_sys_newlstat+0x91/0x110 fs/stat.c:398 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465686 Code: ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 41 89 f8 48 89 f7 48 89 d6 41 83 f8 01 77 29 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 02 c3 90 48 c7 c2 bc ff ff ff f7 d8 64 89 02 RSP: 002b:00007ffe1aca8788 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 000000000000001a RCX: 0000000000465686 RDX: 00007ffe1aca87c0 RSI: 00007ffe1aca87c0 RDI: 00007ffe1aca8850 RBP: 00007ffe1aca8850 R08: 0000000000000001 R09: 00007ffe1aca8620 R10: 000000000241f853 R11: 0000000000000246 R12: 00000000004bee90 R13: 00007ffe1aca9920 R14: 000000000241f810 R15: 00007ffe1aca9960 Modules linked in: ---[ end trace e00a8368073c4842 ]--- RIP: 0010:latency_exceeded block/blk-wbt.c:237 [inline] RIP: 0010:wb_timer_fn+0x149/0x1740 block/blk-wbt.c:360 Code: 03 80 3c 02 00 0f 85 68 13 00 00 48 8b 9b c8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 90 05 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 35 13 00 00 48 8b 9b 90 05 00 00 48 b8 00 00 00 RSP: 0018:ffffc90000007cd8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: 00000000000000b2 RSI: ffffffff83d2005d RDI: 0000000000000590 RBP: ffff888079d0f800 R08: 0000000000000003 R09: ffff888079d0f983 R10: ffffffff83d20052 R11: 000000000003875a R12: 0000000000000003 R13: 0000000000000000 R14: ffff88807d74a680 R15: ffff888079d0f8d0 FS: 000000000241e400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe1aca7fb8 CR3: 0000000037a1e000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 03 80 3c 02 00 0f add 0xf00023c(%rax),%eax 6: 85 68 13 test %ebp,0x13(%rax) 9: 00 00 add %al,(%rax) b: 48 8b 9b c8 00 00 00 mov 0xc8(%rbx),%rbx 12: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 19: fc ff df 1c: 48 8d bb 90 05 00 00 lea 0x590(%rbx),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 35 13 00 00 jne 0x1369 34: 48 8b 9b 90 05 00 00 mov 0x590(%rbx),%rbx 3b: 48 rex.W 3c: b8 .byte 0xb8 3d: 00 00 add %al,(%rax)