Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.122' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 26.524189] [ 26.525820] ================================ [ 26.530196] WARNING: inconsistent lock state [ 26.534573] 4.14.267-syzkaller #0 Not tainted [ 26.539035] -------------------------------- [ 26.543410] inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage. [ 26.549524] syz-executor152/7972 [HC1[1]:SC0[0]:HE0:SE1] takes: [ 26.555557] (sync_timeline_list_lock){?.+.}, at: [] sync_timeline_debug_remove+0x25/0x190 [ 26.565499] {HARDIRQ-ON-W} state was registered at: [ 26.570487] trace_hardirqs_on_caller+0x288/0x580 [ 26.575387] _raw_spin_unlock_irq+0x24/0x80 [ 26.579781] sync_debugfs_show+0xeb/0x200 [ 26.583991] seq_read+0x4e4/0x1180 [ 26.587626] __vfs_read+0xe4/0x620 [ 26.591229] vfs_read+0x139/0x340 [ 26.594740] SyS_read+0xf2/0x210 [ 26.598164] do_syscall_64+0x1d5/0x640 [ 26.602111] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 26.607354] irq event stamp: 9166 [ 26.610779] hardirqs last enabled at (9165): [] _raw_spin_unlock_irq+0x24/0x80 [ 26.619759] hardirqs last disabled at (9166): [] irq_work_interrupt+0x8e/0xa0 [ 26.628564] softirqs last enabled at (4510): [] __do_softirq+0x68b/0x9ff [ 26.637022] softirqs last disabled at (4489): [] irq_exit+0x193/0x240 [ 26.645131] [ 26.645131] other info that might help us debug this: [ 26.651766] Possible unsafe locking scenario: [ 26.651766] [ 26.657790] CPU0 [ 26.660343] ---- [ 26.662895] lock(sync_timeline_list_lock); [ 26.667274] [ 26.670000] lock(sync_timeline_list_lock); [ 26.674554] [ 26.674554] *** DEADLOCK *** [ 26.674554] [ 26.680587] no locks held by syz-executor152/7972. [ 26.685480] [ 26.685480] stack backtrace: [ 26.689946] CPU: 0 PID: 7972 Comm: syz-executor152 Not tainted 4.14.267-syzkaller #0 [ 26.697819] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.707140] Call Trace: [ 26.709695] [ 26.711821] dump_stack+0x1b2/0x281 [ 26.715421] print_usage_bug.cold+0x42e/0x570 [ 26.719888] mark_lock+0xb4d/0x1050 [ 26.723490] ? print_irq_inversion_bug+0xd0/0xd0 [ 26.728215] __lock_acquire+0xfb2/0x3f20 [ 26.732256] ? __lock_acquire+0x5fc/0x3f20 [ 26.736461] ? trace_hardirqs_on+0x10/0x10 [ 26.740667] ? debug_object_active_state+0x236/0x330 [ 26.745744] ? trace_hardirqs_on+0x10/0x10 [ 26.749961] ? lock_acquire+0x170/0x3f0 [ 26.753905] ? lock_downgrade+0x740/0x740 [ 26.758035] lock_acquire+0x170/0x3f0 [ 26.762242] ? sync_timeline_debug_remove+0x25/0x190 [ 26.767331] _raw_spin_lock_irqsave+0x8c/0xc0 [ 26.771795] ? sync_timeline_debug_remove+0x25/0x190 [ 26.776868] sync_timeline_debug_remove+0x25/0x190 [ 26.781767] sync_timeline_put+0x22/0x30 [ 26.785813] timeline_fence_release+0x1ec/0x2d0 [ 26.790454] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 26.795873] ? timeline_fence_value_str+0x60/0x60 [ 26.800685] dma_fence_release+0xd1/0x320 [ 26.804805] dma_fence_array_release+0x162/0x1f0 [ 26.809545] ? dma_fence_match_context+0x180/0x180 [ 26.814443] dma_fence_release+0xd1/0x320 [ 26.818577] irq_dma_fence_array_work+0x46/0x50 [ 26.823215] irq_work_run_list+0xf0/0x160 [ 26.827331] irq_work_run+0x4e/0xc0 [ 26.830932] smp_irq_work_interrupt+0xa3/0x4e0 [ 26.835485] irq_work_interrupt+0x93/0xa0 [ 26.839602] [ 26.841811] RIP: 0010:_raw_spin_unlock_irq+0x50/0x80 [ 26.846881] RSP: 0018:ffff888091557ca0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff09 [ 26.854559] RAX: 1ffffffff11e127b RBX: ffff8880ab91efe0 RCX: 0000000000000000 [ 26.861800] RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff8880b4952b84 [ 26.869041] RBP: ffff8880ab91f050 R08: ffff88823fff7018 R09: 0000000000000000 [ 26.876280] R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 [ 26.883529] R13: ffff8880ab91f040 R14: ffff8880ab91f000 R15: ffff8880ab91f050 [ 26.890790] sw_sync_debugfs_release+0x12c/0x1a0 [ 26.895527] ? ima_file_free+0xbc/0x330 [ 26.899475] ? sync_timeline_put+0x30/0x30 [ 26.903683] __fput+0x25f/0x7a0 [ 26.906936] task_work_run+0x11f/0x190 [ 26.910796] do_exit+0xa44/0x2850 [ 26.914221] ? __do_page_fault+0x571/0xad0 [ 26.918449] ? mm_update_next_owner+0x5b0/0x5b0 [ 26.923092] ? lock_downgrade+0x740/0x740 [ 26.927220] do_group_exit+0x100/0x2e0 [ 26.931084] SyS_exit_group+0x19/0x20 [ 26.934856] ? do_group_exit+0x2e0/0x2e0 [ 26.938889] do_syscall_64+0x1d5/0x640 [ 26.942749] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 26.947908] RIP: 0033:0x7f87f8bd5ed9 [ 26.951590] RSP: 002b:00007ffce1e6bef8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 26.959267] RAX: ffffffffffffffda RBX: 00007f87f8c4a2b0 RCX: 00007f87f8bd5ed9 [ 26.966504] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 [ 26.973744] RBP: 000000000