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: 2985 Comm: systemd-udevd Not tainted 5.14.0-rc6-next-20210818-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/0x1750 block/blk-wbt.c:360 Code: 03 80 3c 02 00 0f 85 79 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 46 13 00 00 48 8b 9b 90 05 00 00 48 b8 00 00 00 RSP: 0018:ffffc90000007c98 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: 00000000000000b2 RSI: ffffffff83d3c9cd RDI: 0000000000000590 RBP: ffff88801b138c00 R08: 0000000000000003 R09: ffff88801b138d83 R10: ffffffff83d3c9c2 R11: 0000000000000000 R12: 0000000000000003 R13: 0000000000000000 R14: ffff88801b1ad780 R15: ffff88801b138cd0 FS: 00007f3344b298c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2529529fe8 CR3: 000000001d2d8000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: call_timer_fn+0x1ab/0x6c0 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+0x133/0x190 kernel/softirq.c:636 irq_exit_rcu+0x9/0x30 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:tomoyo_domain_quota_is_ok+0x32d/0x560 security/tomoyo/util.c:1092 Code: 89 c6 e8 b6 ce d5 fd 45 85 ff 74 09 e8 5c c7 d5 fd 41 83 c5 01 e8 53 c7 d5 fd 8d 73 01 bf 10 00 00 00 83 c3 01 e8 93 cd d5 fd <83> fb 10 75 bd e9 be fd ff ff 41 bc 01 00 00 00 eb 91 45 31 e4 eb RSP: 0018:ffffc90002bef538 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000004 RCX: ffff88801bc6b900 RDX: 0000000000000000 RSI: ffff88801bc6b900 RDI: 0000000000000003 RBP: ffff888024a07580 R08: 0000000000000000 R09: 0000000000000004 R10: ffffffff83a09fbd R11: 0000000000000010 R12: 0000000000000020 R13: 0000000000000348 R14: dffffc0000000000 R15: 0000000000000000 tomoyo_supervisor+0x2ec/0xeb0 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_check_open_permission+0x348/0x380 security/tomoyo/file.c:777 tomoyo_file_open security/tomoyo/tomoyo.c:311 [inline] tomoyo_file_open+0xa3/0xd0 security/tomoyo/tomoyo.c:306 security_file_open+0x49/0xb0 security/security.c:1634 do_dentry_open+0x353/0x11d0 fs/open.c:813 do_open fs/namei.c:3428 [inline] path_openat+0x1cbe/0x28b0 fs/namei.c:3561 do_filp_open+0x1aa/0x400 fs/namei.c:3588 do_sys_openat2+0x16d/0x4e0 fs/open.c:1204 do_sys_open fs/open.c:1220 [inline] __do_sys_open fs/open.c:1228 [inline] __se_sys_open fs/open.c:1224 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1224 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f33439739b1 Code: f7 d8 bf ff ff ff ff 64 89 02 eb cb 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 80 3f 00 74 1b be 00 08 09 00 b8 02 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 1f 89 c7 e9 00 ff ff ff 48 8b 05 b1 54 2e 00 RSP: 002b:00007ffc83a0af28 EFLAGS: 00000202 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffc83a0b020 RCX: 00007f33439739b1 RDX: 0000000000000100 RSI: 0000000000090800 RDI: 0000559658238250 RBP: 0000000000000000 R08: 00007f3343c59f98 R09: 0000000000000110 R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc83a0b120 R13: 0000559658238250 R14: 0000000000000100 R15: 00007ffc83a0aff0 Modules linked in: ---[ end trace 6530a86eac10aabf ]--- RIP: 0010:latency_exceeded block/blk-wbt.c:237 [inline] RIP: 0010:wb_timer_fn+0x149/0x1750 block/blk-wbt.c:360 Code: 03 80 3c 02 00 0f 85 79 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 46 13 00 00 48 8b 9b 90 05 00 00 48 b8 00 00 00 RSP: 0018:ffffc90000007c98 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: 00000000000000b2 RSI: ffffffff83d3c9cd RDI: 0000000000000590 RBP: ffff88801b138c00 R08: 0000000000000003 R09: ffff88801b138d83 R10: ffffffff83d3c9c2 R11: 0000000000000000 R12: 0000000000000003 R13: 0000000000000000 R14: ffff88801b1ad780 R15: ffff88801b138cd0 FS: 00007f3344b298c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2529529fe8 CR3: 000000001d2d8000 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 79 13 test %edi,0x13(%rcx) 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 46 13 00 00 jne 0x137a 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)