------------[ cut here ]------------ debug_locks && !(lock_is_held(&(__rq_lockp(rq))->dep_map) != 0) WARNING: kernel/sched/sched.h:1665 at lockdep_assert_rq_held kernel/sched/sched.h:1665 [inline], CPU#0: syz.0.96/6114 WARNING: kernel/sched/sched.h:1665 at lockdep_assert_rq_held kernel/sched/sched.h:1662 [inline], CPU#0: syz.0.96/6114 WARNING: kernel/sched/sched.h:1665 at update_rq_clock+0x40a/0xd20 kernel/sched/core.c:875, CPU#0: syz.0.96/6114 Modules linked in: CPU: 0 UID: 0 PID: 6114 Comm: syz.0.96 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1665 [inline] RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1662 [inline] RIP: 0010:update_rq_clock+0x40a/0xd20 kernel/sched/core.c:875 Code: ab c8 0b 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f e9 18 f3 ff 09 a8 04 0f 84 df fc ff ff 90 0f 0b 90 e9 d6 fc ff ff 90 <0f> 0b 90 e9 92 fc ff ff 4c 8d 83 c0 0b 00 00 48 b8 00 00 00 00 00 RSP: 0018:ffffc9000356f1a8 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff88806a33bf00 RCX: 0000000000000001 RDX: 0000000000000046 RSI: ffffffff8e3bd91c RDI: ffffffff8c625680 RBP: ffffc9000356f348 R08: 0000000000000001 R09: 0000000000000001 R10: ffff88806a23ca98 R11: 0000000000000000 R12: ffffffff92459f04 R13: ffff88806a33cde0 R14: ffff88806a33bf00 R15: 0000000000000001 FS: 0000555583432500(0000) GS:ffff8880d4946000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdc2a470220 CR3: 0000000052b91000 CR4: 0000000000352ef0 Call Trace: pick_next_task kernel/sched/core.c:6375 [inline] __schedule+0x1c69/0x6920 kernel/sched/core.c:7199 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:7606 irqentry_exit_to_kernel_mode_preempt include/linux/irq-entry-common.h:468 [inline] irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:558 [inline] irqentry_exit+0x247/0xa90 kernel/entry/common.c:167 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:679 RIP: 0010:write_comp_data+0x47/0xa0 kernel/kcov.c:242 Code: 00 01 00 ff 74 1e f6 c4 01 74 68 a9 00 00 00 0f 75 61 f7 c2 00 00 00 f0 75 59 8b 87 44 17 00 00 85 c0 74 4f 8b 87 18 17 00 00 <83> f8 03 75 44 48 8b 87 20 17 00 00 8b bf 1c 17 00 00 48 8b 30 48 RSP: 0018:ffffc9000356f468 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff8bd19d9e RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88802b764b00 RBP: ffffffff8d731da0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000005 R13: 0000000000000008 R14: 0000000000000001 R15: 0000000000000000 __sanitizer_cov_trace_switch+0x54/0x90 kernel/kcov.c:347 vsnprintf+0x1fe/0x1300 lib/vsprintf.c:2893 tomoyo_supervisor+0x122/0x1340 security/tomoyo/common.c:2204 tomoyo_audit_path_log security/tomoyo/file.c:169 [inline] tomoyo_path_permission security/tomoyo/file.c:592 [inline] tomoyo_path_permission+0x270/0x3b0 security/tomoyo/file.c:577 tomoyo_check_open_permission+0x34d/0x3c0 security/tomoyo/file.c:785 tomoyo_file_open+0x6b/0x90 security/tomoyo/tomoyo.c:334 security_file_open+0xb5/0x1e0 security/security.c:2739 do_dentry_open+0x588/0x14d0 fs/open.c:973 vfs_open+0x82/0x3f0 fs/open.c:1101 do_open fs/namei.c:4836 [inline] path_openat+0x1a23/0x2450 fs/namei.c:4999 do_file_open+0x20e/0x430 fs/namei.c:5028 do_sys_openat2+0x10f/0x1e0 fs/open.c:1417 do_sys_open fs/open.c:1423 [inline] __do_sys_openat fs/open.c:1439 [inline] __se_sys_openat fs/open.c:1434 [inline] __x64_sys_openat+0x12d/0x210 fs/open.c:1434 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdc2a59e559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffcae6c9448 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fdc2a825fa0 RCX: 00007fdc2a59e559 RDX: 0000000000000001 RSI: 0000200000000100 RDI: ffffffffffffff9c RBP: 00007fdc2a635ad8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fdc2a825fac R14: 00007fdc2a825fa0 R15: 00007fdc2a825fa0 ---------------- Code disassembly (best guess): 0: 00 01 add %al,(%rcx) 2: 00 ff add %bh,%bh 4: 74 1e je 0x24 6: f6 c4 01 test $0x1,%ah 9: 74 68 je 0x73 b: a9 00 00 00 0f test $0xf000000,%eax 10: 75 61 jne 0x73 12: f7 c2 00 00 00 f0 test $0xf0000000,%edx 18: 75 59 jne 0x73 1a: 8b 87 44 17 00 00 mov 0x1744(%rdi),%eax 20: 85 c0 test %eax,%eax 22: 74 4f je 0x73 24: 8b 87 18 17 00 00 mov 0x1718(%rdi),%eax * 2a: 83 f8 03 cmp $0x3,%eax <-- trapping instruction 2d: 75 44 jne 0x73 2f: 48 8b 87 20 17 00 00 mov 0x1720(%rdi),%rax 36: 8b bf 1c 17 00 00 mov 0x171c(%rdi),%edi 3c: 48 8b 30 mov (%rax),%rsi 3f: 48 rex.W