------------[ 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.107/6119 WARNING: kernel/sched/sched.h:1665 at lockdep_assert_rq_held kernel/sched/sched.h:1662 [inline], CPU#0: syz.0.107/6119 WARNING: kernel/sched/sched.h:1665 at update_rq_clock+0x40a/0xd20 kernel/sched/core.c:875, CPU#0: syz.0.107/6119 Modules linked in: CPU: 0 UID: 0 PID: 6119 Comm: syz.0.107 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: 0018:ffffc9000699f900 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff88802b13c040 RCX: 0000000000000001 RDX: 0000000000000046 RSI: ffffffff8e3bae09 RDI: ffffffff8c625b80 RBP: ffffc9000699faa0 R08: 0000000000000001 R09: 0000000000000001 R10: ffff88802b03cbd8 R11: 0000000000000000 R12: ffffffff9245c8e4 R13: ffff88802b13cf20 R14: ffff88802b13c040 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88809574a000(0063) knlGS:0000000057e30480 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000ff92a018 CR3: 0000000042925000 CR4: 0000000000352ef0 Call Trace: pick_next_task kernel/sched/core.c:6375 [inline] __schedule+0x1c69/0x6920 kernel/sched/core.c:7199 preempt_schedule_common+0x3c/0xb0 kernel/sched/core.c:7463 preempt_schedule_thunk+0x16/0x40 arch/x86/entry/thunk.S:12 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:211 [inline] _raw_spin_unlock_irqrestore+0x61/0x80 kernel/locking/spinlock.c:221 __debug_check_no_obj_freed lib/debugobjects.c:1180 [inline] debug_check_no_obj_freed+0x31f/0x630 lib/debugobjects.c:1201 slab_free_hook mm/slub.c:2679 [inline] slab_free mm/slub.c:6509 [inline] kfree+0x3d6/0x6d0 mm/slub.c:6802 kernfs_fop_write_iter+0x1df/0x5f0 fs/kernfs/file.c:359 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x6af/0x1050 fs/read_write.c:687 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:0xf73defec Code: Unable to access opcode bytes at 0xf73defc2. RSP: 002b:00000000ffa1e4ec 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