INFO: task syz-executor.1:31082 blocked for more than 143 seconds. Not tainted 5.6.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28248 31082 8899 0x00004004 Call Trace: context_switch kernel/sched/core.c:3380 [inline] __schedule+0x87f/0xcd0 kernel/sched/core.c:4080 schedule+0x188/0x210 kernel/sched/core.c:4154 schedule_timeout+0x46/0x240 kernel/time/timer.c:1871 __down_common+0x28c/0x510 kernel/locking/semaphore.c:220 __down+0x18/0x20 kernel/locking/semaphore.c:237 down+0x6b/0xb0 kernel/locking/semaphore.c:61 console_lock+0x28/0x70 kernel/printk/printk.c:2289 vcs_open+0x67/0xe0 drivers/tty/vt/vc_screen.c:688 chrdev_open+0x509/0x590 fs/char_dev.c:414 do_dentry_open+0x85b/0x10c0 fs/open.c:797 vfs_open+0x73/0x80 fs/open.c:914 do_last fs/namei.c:3490 [inline] path_openat+0x16f1/0x4380 fs/namei.c:3607 do_filp_open+0x192/0x3d0 fs/namei.c:3637 do_sys_openat2+0x42b/0x6f0 fs/open.c:1149 do_sys_open fs/open.c:1165 [inline] __do_sys_openat fs/open.c:1179 [inline] __se_sys_openat fs/open.c:1174 [inline] __x64_sys_openat+0x1e6/0x210 fs/open.c:1174 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c449 Code: 44 00 00 eb 42 90 c7 04 24 02 00 00 00 48 8d 44 24 30 48 89 44 24 08 48 c7 44 24 10 00 00 00 00 c7 44 24 18 08 00 00 00 e8 74 <44> 00 00 48 8b 05 15 08 c5 01 48 89 04 24 48 8d 44 24 28 48 89 44 RSP: 002b:00007f16bc40cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f16bc40d6d4 RCX: 000000000045c449 RDX: 0000000000101000 RSI: 0000000020000200 RDI: ffffffffffffff9c RBP: 000000000076bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000800 R14: 00000000004ca793 R15: 000000000076bf2c INFO: task syz-executor.1:31086 blocked for more than 143 seconds. Not tainted 5.6.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28248 31086 8899 0x00004004 Call Trace: context_switch kernel/sched/core.c:3380 [inline] __schedule+0x87f/0xcd0 kernel/sched/core.c:4080 schedule+0x188/0x210 kernel/sched/core.c:4154 schedule_timeout+0x46/0x240 kernel/time/timer.c:1871 __down_common+0x28c/0x510 kernel/locking/semaphore.c:220 __down+0x18/0x20 kernel/locking/semaphore.c:237 down+0x6b/0xb0 kernel/locking/semaphore.c:61 console_lock+0x28/0x70 kernel/printk/printk.c:2289 vcs_open+0x67/0xe0 drivers/tty/vt/vc_screen.c:688 chrdev_open+0x509/0x590 fs/char_dev.c:414 do_dentry_open+0x85b/0x10c0 fs/open.c:797 vfs_open+0x73/0x80 fs/open.c:914 do_last fs/namei.c:3490 [inline] path_openat+0x16f1/0x4380 fs/namei.c:3607 do_filp_open+0x192/0x3d0 fs/namei.c:3637 do_sys_openat2+0x42b/0x6f0 fs/open.c:1149 do_sys_open fs/open.c:1165 [inline] __do_sys_openat fs/open.c:1179 [inline] __se_sys_openat fs/open.c:1174 [inline] __x64_sys_openat+0x1e6/0x210 fs/open.c:1174 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c449 Code: 44 00 00 eb 42 90 c7 04 24 02 00 00 00 48 8d 44 24 30 48 89 44 24 08 48 c7 44 24 10 00 00 00 00 c7 44 24 18 08 00 00 00 e8 74 <44> 00 00 48 8b 05 15 08 c5 01 48 89 04 24 48 8d 44 24 28 48 89 44 RSP: 002b:00007f16bc3ebc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f16bc3ec6d4 RCX: 000000000045c449 RDX: 0000000000101000 RSI: 0000000020000200 RDI: ffffffffffffff9c RBP: 000000000076bfc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000800 R14: 00000000004ca793 R15: 000000000076bfcc Showing all locks held in the system: 2 locks held by kworker/u4:10/749: 1 lock held by khungtaskd/1139: #0: ffffffff892d9908 (rcu_read_lock){....}, at: rcu_lock_acquire+0x4/0x30 include/linux/rcupdate.h:207 1 lock held by rsyslogd/8765: #0: ffff8880a8c870e0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x279/0x310 fs/file.c:821 2 locks held by getty/8855: #0: ffff88808fea0090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc900019932e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8856: #0: ffff88808f5b0090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc90001a232e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8857: #0: ffff888096699090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc90001a032e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8858: #0: ffff88809eaf1090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc900019c32e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8859: #0: ffff88809bd5f090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc90001a132e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8860: #0: ffff88808c2c8090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc900019d32e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8861: #0: ffff8880a2555090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc900019632e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 4 locks held by kworker/u4:5/24785: 2 locks held by syz-executor.5/30950: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1139 Comm: khungtaskd Not tainted 5.6.0-rc3-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+0x1fb/0x318 lib/dump_stack.c:118 nmi_cpu_backtrace+0xaa/0x190 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x16f/0x290 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x10/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace+0x17/0x20 include/linux/nmi.h:146 check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xd40/0xd60 kernel/hung_task.c:289 kthread+0x332/0x350 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 749 Comm: kworker/u4:10 Not tainted 5.6.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:arch_local_save_flags arch/x86/include/asm/paravirt.h:747 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/paravirt.h:769 [inline] RIP: 0010:lock_release+0x8c/0x710 kernel/locking/lockdep.c:4498 Code: 08 d3 2a 89 48 c1 e8 03 80 3c 18 00 74 0c 48 c7 c7 08 d3 2a 89 e8 94 48 58 00 48 83 3d a4 e8 ce 07 00 0f 84 55 06 00 00 9c 58 <0f> 1f 44 00 00 48 89 85 78 ff ff ff 48 c7 c0 18 d3 2a 89 48 c1 e8 RSP: 0018:ffffc90002867bd0 EFLAGS: 00000282 RAX: 0000000000000282 RBX: dffffc0000000000 RCX: ffff8880a7a060c0 RDX: 0000000000000000 RSI: ffffffff87fa0149 RDI: ffffffff892d9908 RBP: ffffc90002867c58 R08: dffffc0000000000 R09: ffffed1015d67004 R10: ffffed1015d67004 R11: 0000000000000000 R12: ffff8880a7a06954 R13: 1ffff11014f40d2a R14: ffff8880a7a060c0 R15: 0000000000000311 FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0003bb0a0 CR3: 0000000097303000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release+0x21/0x30 include/linux/rcupdate.h:213 rcu_read_unlock include/linux/rcupdate.h:655 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:411 [inline] batadv_nc_worker+0x271/0x5f0 net/batman-adv/network-coding.c:718 process_one_work+0x7f5/0x10f0 kernel/workqueue.c:2264 worker_thread+0xbbc/0x1630 kernel/workqueue.c:2410 kthread+0x332/0x350 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352