------------[ 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.3.62/6103 WARNING: kernel/sched/sched.h:1665 at lockdep_assert_rq_held kernel/sched/sched.h:1662 [inline], CPU#0: syz.3.62/6103 WARNING: kernel/sched/sched.h:1665 at update_rq_clock+0x40a/0xd20 kernel/sched/core.c:875, CPU#0: syz.3.62/6103 Modules linked in: CPU: 0 UID: 0 PID: 6103 Comm: syz.3.62 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 c3 cc cc cc cc 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: 0000:ffffc90003b479a8 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff88802b13c040 RCX: 0000000000000001 RDX: 0000000000000046 RSI: ffffffff8e3bae09 RDI: ffffffff8c625b80 RBP: ffffc90003b47b48 R08: 0000000000000001 R09: 0000000000000001 R10: ffff88802b03cbd8 R11: 0000000000000000 R12: ffffffff9245c8e4 R13: ffff88802b13cf20 R14: ffff88802b13c040 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88809574a000(0063) knlGS:0000000057f13480 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000080000500 CR3: 000000004bade000 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:539 [inline] irqentry_exit+0x205/0xa10 kernel/entry/common.c:167 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:679 RIP: 0010:__begin_current_label_crit_section security/apparmor/include/cred.h:208 [inline] RIP: 0010:begin_current_label_crit_section security/apparmor/include/cred.h:226 [inline] RIP: 0010:common_file_perm+0x88/0x500 security/apparmor/lsm.c:534 Code: 8d bb 80 00 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 ee 03 00 00 8b 05 f5 be 85 09 48 03 83 80 00 00 00 0f 84 c7 02 00 00 f3 4c 25 fd e8 fe 0b ec 06 4c 89 e2 48 b8 00 00 00 00 00 fc ff RSP: 0000:ffffc90003b47c68 EFLAGS: 00000282 RAX: ffff88802664a9d0 RBX: ffff888023cc4a00 RCX: 0000000000000000 RDX: 1ffff11004798950 RSI: ffffffff84e6550d RDI: ffff888023cc4a80 RBP: ffff888025c68000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000000 R12: ffff888025c68910 R13: ffff88802aa041c0 R14: ffff88802aa041c0 R15: 0000000000000002 security_file_permission+0x91/0x210 security/security.c:2392 rw_verify_area+0xb8/0x6d0 fs/read_write.c:475 vfs_write+0x146/0x1050 fs/read_write.c:678 ksys_write+0x12a/0x250 fs/read_write.c:739 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:79 [inline] do_int80_emulation+0x166/0x650 arch/x86/entry/syscall_32.c:166 asm_int80_emulation+0x1a/0x20 arch/x86/include/asm/idtentry.h:598 RIP: 0023:0xf740efec Code: Unable to access opcode bytes at 0xf740efc2. RSP: 002b:00000000ffc92eec EFLAGS: 00000292 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000080000600 RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 8d bb 80 00 00 00 lea 0x80(%rbx),%edi 6: 48 89 fa mov %rdi,%rdx 9: 48 c1 ea 03 shr $0x3,%rdx d: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 11: 0f 85 ee 03 00 00 jne 0x405 17: 8b 05 f5 be 85 09 mov 0x985bef5(%rip),%eax # 0x985bf12 1d: 48 03 83 80 00 00 00 add 0x80(%rbx),%rax 24: 0f 84 c7 02 00 00 je 0x2f1 * 2a: e8 f3 4c 25 fd call 0xfd254d22 <-- trapping instruction 2f: e8 fe 0b ec 06 call 0x6ec0c32 34: 4c 89 e2 mov %r12,%rdx 37: 48 rex.W 38: b8 00 00 00 00 mov $0x0,%eax 3d: 00 fc add %bh,%ah 3f: ff .byte 0xff