INFO: task syz-executor.3:23038 blocked for more than 143 seconds. Not tainted 5.6.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28672 23038 9411 0x00000004 Call Trace: schedule+0xd0/0x2a0 kernel/sched/core.c:4154 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4213 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x7ab/0x13c0 kernel/locking/mutex.c:1103 blk_trace_setup+0x2f/0x60 kernel/trace/blktrace.c:588 sg_ioctl_common+0x2f2/0x2710 drivers/scsi/sg.c:1116 sg_ioctl+0x8f/0x120 drivers/scsi/sg.c:1159 vfs_ioctl fs/ioctl.c:47 [inline] ksys_ioctl+0x11a/0x180 fs/ioctl.c:763 __do_sys_ioctl fs/ioctl.c:772 [inline] __se_sys_ioctl fs/ioctl.c:770 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:770 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c849 Code: Bad RIP value. RSP: 002b:00007f66526f8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f66526f96d4 RCX: 000000000045c849 RDX: 0000000020000240 RSI: 00000000c0481273 RDI: 0000000000000003 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000046c R14: 00000000004c7200 R15: 000000000076bf0c Showing all locks held in the system: 6 locks held by init/1: 6 locks held by kworker/0:1/12: 5 locks held by kworker/u4:3/99: #0: ffff888215169d28 ((wq_completion)krdsd){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff888215169d28 ((wq_completion)krdsd){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888215169d28 ((wq_completion)krdsd){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff888215169d28 ((wq_completion)krdsd){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff888215169d28 ((wq_completion)krdsd){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff888215169d28 ((wq_completion)krdsd){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff888215169d28 ((wq_completion)krdsd){+.+.}, at: process_one_work+0x82a/0x1690 kernel/workqueue.c:2237 #1: ffffc900011e7dd0 ((work_completion)(&cp->cp_down_w)){+.+.}, at: process_one_work+0x85e/0x1690 kernel/workqueue.c:2241 #2: ffff888058c9f190 (k-sk_lock-AF_INET){+.+.}, at: lock_sock include/net/sock.h:1541 [inline] #2: ffff888058c9f190 (k-sk_lock-AF_INET){+.+.}, at: tcp_close+0x25/0x1250 net/ipv4/tcp.c:2346 #3: ffffffff89851ba0 (fs_reclaim){+.+.}, at: fs_reclaim_acquire.part.0+0x0/0x30 include/linux/uaccess.h:173 #4: ffffffff897accc0 (rcu_read_lock){....}, at: mem_cgroup_iter+0x185/0x9b0 mm/memcontrol.c:1013 1 lock held by khungtaskd/1135: #0: ffffffff897accc0 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5331 3 locks held by rs:main Q:Reg/9264: 3 locks held by rsyslogd/9266: 2 locks held by cron/9306: 2 locks held by getty/9356: #0: ffff8880a894f090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc9000183b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/9357: #0: ffff8880941d7090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc9000184b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/9358: #0: ffff88809f4e4090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc9000182b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/9359: #0: ffff888095418090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc900017db2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/9360: #0: ffff88809bea6090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc900017fb2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/9361: #0: ffff8880a6668090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc900017eb2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/9362: #0: ffff88808fb8b090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc9000178b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 4 locks held by syz-fuzzer/9380: 3 locks held by syz-fuzzer/9395: 3 locks held by syz-fuzzer/12502: 4 locks held by syz-executor.2/23036: 1 lock held by syz-executor.3/23038: #0: ffff8880a067d4b8 (&q->blk_trace_mutex){+.+.}, at: blk_trace_setup+0x2f/0x60 kernel/trace/blktrace.c:588 4 locks held by kworker/1:1/23080: #0: ffff888069930d28 ((wq_completion)wg-kex-wg2#13){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff888069930d28 ((wq_completion)wg-kex-wg2#13){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888069930d28 ((wq_completion)wg-kex-wg2#13){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff888069930d28 ((wq_completion)wg-kex-wg2#13){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff888069930d28 ((wq_completion)wg-kex-wg2#13){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff888069930d28 ((wq_completion)wg-kex-wg2#13){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff888069930d28 ((wq_completion)wg-kex-wg2#13){+.+.}, at: process_one_work+0x82a/0x1690 kernel/workqueue.c:2237 #1: ffffc90001807dd0 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __asm__ ("" : "=r"(__ptr) : "0"((typeof(*((worker))) *)((worker)))); (typeof((typeof(*((worker))) *)((worker)))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}, at: process_one_work+0x85e/0x1690 kernel/workqueue.c:2241 #2: ffff88808ade0e80 (&wg->static_identity.lock){++++}, at: wg_noise_handshake_consume_initiation+0xaa/0x8e0 drivers/net/wireguard/noise.c:573 #3: ffff88807e1a64f0 (&handshake->lock){++++}, at: wg_noise_handshake_consume_initiation+0x38b/0x8e0 drivers/net/wireguard/noise.c:607 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1135 Comm: khungtaskd Not tainted 5.6.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x188/0x20d lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x231/0x27e lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xa8c/0x1010 kernel/hung_task.c:289 kthread+0x357/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7 Comm: kworker/u4:0 Not tainted 5.6.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x38b/0x3ca0 kernel/locking/lockdep.c:3895 Code: f0 c1 e1 10 45 0f b7 ed c1 e0 0d 81 e1 00 00 03 00 41 c1 e1 13 41 09 c5 41 8b 47 20 48 c1 ea 03 44 09 e9 45 89 c5 41 c1 e5 12 <41> 81 e5 00 00 04 00 44 09 e9 25 ff 1f 00 00 41 09 c9 8b 8c 24 30 RSP: 0000:ffffc90000cdfb58 EFLAGS: 00000046 RAX: 000000000002002b RBX: 0000000000000002 RCX: 0000000000020000 RDX: 1ffff110152bbd59 RSI: 000000000000002b RDI: ffff8880a95deacc RBP: ffff8880a95de1c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff8a65d1c7 R12: 000000000000002b R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880a95deaa8 FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000045c81f CR3: 000000008c43b000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: lock_acquire+0x197/0x420 kernel/locking/lockdep.c:4484 rcu_lock_acquire include/linux/rcupdate.h:208 [inline] rcu_read_lock include/linux/rcupdate.h:601 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:407 [inline] batadv_nc_worker+0x114/0x760 net/batman-adv/network-coding.c:718 process_one_work+0x94b/0x1690 kernel/workqueue.c:2266 worker_thread+0x96/0xe20 kernel/workqueue.c:2412 kthread+0x357/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352