============================= [ BUG: Invalid wait context ] syzkaller #0 Not tainted ----------------------------- ksoftirqd/3/34 is trying to lock: ffff8880295881e8 (&ovl_i_mutex_key[depth]){+.+.}-{4:4}, at: spin_lock include/linux/spinlock.h:347 [inline] ffff8880295881e8 (&ovl_i_mutex_key[depth]){+.+.}-{4:4}, at: tcp_tsq_handler+0x1d/0x200 net/ipv4/tcp_output.c:1291 other info that might help us debug this: context-{3:3} locks held by ksoftirqd/3/34: 2, last CPU#3: #0: ffff88801c0c6d40 ((wq_completion)events_bh){+.-.}-{0:0}, at: process_one_work+0x1466/0x1b10 kernel/workqueue.c:3362 #1: ffffc900005cfb38 ((work_completion)(&tsq->work)){+.-.}-{0:0}, at: process_one_work+0xa2c/0x1b10 kernel/workqueue.c:3363 stack backtrace: CPU: 3 UID: 0 PID: 34 Comm: ksoftirqd/3 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 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_lock_invalid_wait_context kernel/locking/lockdep.c:4846 [inline] check_wait_context kernel/locking/lockdep.c:4918 [inline] __lock_acquire+0x104c/0x1ec0 kernel/locking/lockdep.c:5204 lock_acquire kernel/locking/lockdep.c:5908 [inline] lock_acquire+0x1d1/0x380 kernel/locking/lockdep.c:5865 __raw_spin_lock include/linux/spinlock_api_smp.h:190 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:173 spin_lock include/linux/spinlock.h:347 [inline] tcp_tsq_handler+0x1d/0x200 net/ipv4/tcp_output.c:1291 tcp_tsq_workfn+0x2b2/0x560 net/ipv4/tcp_output.c:1325 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3387 process_scheduled_works kernel/workqueue.c:3470 [inline] bh_worker+0x6a5/0x8f0 kernel/workqueue.c:3773 workqueue_softirq_action+0x14a/0x1b0 kernel/workqueue.c:3801 tasklet_action+0x14/0x70 kernel/softirq.c:997 handle_softirqs+0x1e6/0x9d0 kernel/softirq.c:645 run_ksoftirqd kernel/softirq.c:1108 [inline] run_ksoftirqd+0x38/0x60 kernel/softirq.c:1100 smpboot_thread_fn+0x3d3/0xab0 kernel/smpboot.c:160 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245