general protection fault, probably for non-canonical address 0xdffffc00000000b2: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000590-0x0000000000000597] CPU: 1 PID: 2984 Comm: systemd-udevd Not tainted 5.14.0-rc6-next-20210817-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:ffffc90000dc0cd8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: 00000000000000b2 RSI: ffffffff83d23d1d RDI: 0000000000000590 RBP: ffff88801afa1400 R08: 0000000000000003 R09: ffff88801afa1583 R10: ffffffff83d23d12 R11: 0000000000000000 R12: 0000000000000003 R13: 0000000000000000 R14: ffff888019cff200 R15: ffff88801afa14d0 FS: 00007f3db33978c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a5157f5860 CR3: 0000000077c97000 CR4: 00000000001506e0 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:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:197 Code: 01 f0 4d 89 03 e9 63 fd ff ff b9 ff ff ff ff ba 08 00 00 00 4d 8b 03 48 0f bd ca 49 8b 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 00 <65> 8b 05 89 29 8c 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc90002bef900 EFLAGS: 00000283 RAX: 0000000000000000 RBX: 000000000000000d RCX: ffff88807b373900 RDX: 0000000000000000 RSI: ffff88807b373900 RDI: 0000000000000003 RBP: ffff88801de3db00 R08: 0000000000000000 R09: 000000000000000d R10: ffffffff839f448a R11: 0000000000000010 R12: 0000000000000020 R13: 000000000000035a R14: dffffc0000000000 R15: 0000000000000000 tomoyo_domain_quota_is_ok+0x2f1/0x550 security/tomoyo/util.c:1093 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_fstat+0x43/0xb0 fs/stat.c:182 __do_sys_newfstat+0x81/0x100 fs/stat.c:422 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:0x7f3db22092e2 Code: 48 8b 05 b9 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 77 33 48 63 fe b8 05 00 00 00 48 89 d6 0f 05 <48> 3d 00 f0 ff ff 77 06 f3 c3 0f 1f 40 00 48 8b 15 81 db 2b 00 f7 RSP: 002b:00007fff40a69cf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 000000000000000f RCX: 00007f3db22092e2 RDX: 00007fff40a69d00 RSI: 00007fff40a69d00 RDI: 000000000000000f RBP: 00007f3db3397710 R08: 000055a5157da0f0 R09: 0000000000001010 R10: 0000000000000020 R11: 0000000000000246 R12: 0000000000000000 R13: 000055a5157db5e0 R14: 00000000000000ff R15: 000055a5157db5e0 Modules linked in: ---[ end trace cc11a8404462ae89 ]--- 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:ffffc90000dc0cd8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: 00000000000000b2 RSI: ffffffff83d23d1d RDI: 0000000000000590 RBP: ffff88801afa1400 R08: 0000000000000003 R09: ffff88801afa1583 R10: ffffffff83d23d12 R11: 0000000000000000 R12: 0000000000000003 R13: 0000000000000000 R14: ffff888019cff200 R15: ffff88801afa14d0 FS: 00007f3db33978c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a5157f5860 CR3: 0000000077c97000 CR4: 00000000001506e0 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)