INFO: task syz-executor.5:28138 blocked for more than 143 seconds. Not tainted 5.14.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26288 pid:28138 ppid: 17852 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4681 [inline] __schedule+0xc07/0x11f0 kernel/sched/core.c:5938 schedule+0x14b/0x210 kernel/sched/core.c:6017 schedule_timeout+0x98/0x2f0 kernel/time/timer.c:1857 __down_common+0x322/0x660 kernel/locking/semaphore.c:220 down+0x65/0xa0 kernel/locking/semaphore.c:61 console_lock+0x29/0x70 kernel/printk/printk.c:2462 con_shutdown+0x44/0x80 drivers/tty/vt/vt.c:3391 release_tty+0xb9/0x550 drivers/tty/tty_io.c:1605 tty_release_struct+0xb8/0xd0 drivers/tty/tty_io.c:1717 tty_release+0xc5f/0xef0 drivers/tty/tty_io.c:1878 __fput+0x352/0x7b0 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x201/0x220 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:302 do_syscall_64+0x4c/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4193fb RSP: 002b:00007ffca6532210 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 000000000000000a RCX: 00000000004193fb RDX: 0000001b2f724dec RSI: ffffffff8183e5ff RDI: 0000000000000009 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2f724114 R10: 0000000000000c21 R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 00000000000b014a Showing all locks held in the system: 2 locks held by kworker/u4:9/443: 1 lock held by khungtaskd/1608: #0: ffffffff8c717ec0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by in:imklog/8143: #0: ffff88801df945f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:974 2 locks held by agetty/8163: #0: ffff88802960c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90000f7c2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1c30 drivers/tty/n_tty.c:2113 1 lock held by syz-executor.5/28138: #0: ffffffff8cdd3c48 (tty_mutex){+.+.}-{3:3}, at: tty_release_struct+0xad/0xd0 drivers/tty/tty_io.c:1716 5 locks held by syz-executor.5/28143: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1608 Comm: khungtaskd Not tainted 5.14.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:88 [inline] dump_stack_lvl+0x1d3/0x29f lib/dump_stack.c:105 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xd06/0xd50 kernel/hung_task.c:295 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 443 Comm: kworker/u4:9 Not tainted 5.14.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:__kasan_check_write+0x0/0x10 mm/kasan/shadow.c:37 Code: 4c 89 fe 31 c0 e8 c8 8e 9c ff eb d3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc 89 f6 48 8b 0c 24 31 d2 e9 e3 ee ff ff 0f 1f 00 <89> f6 48 8b 0c 24 ba 01 00 00 00 e9 d0 ee ff ff 55 41 56 53 48 89 RSP: 0018:ffffc9000262fa78 EFLAGS: 00000256 RAX: 00000000ffffff01 RBX: ffffc9000262fae0 RCX: ffffffff81640c84 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc9000262fae0 RBP: ffffc9000262fb50 R08: dffffc0000000000 R09: ffffed1005a33b21 R10: ffffed1005a33b21 R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffff11005a33b21 R14: ffff88802d19d900 R15: 1ffff920004c5f5c FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01b9702d0 CR3: 000000000c48e000 CR4: 00000000001526f0 Call Trace: instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:512 [inline] queued_spin_lock include/asm-generic/qspinlock.h:82 [inline] do_raw_spin_lock+0x151/0x8e0 kernel/locking/spinlock_debug.c:113 spin_lock_bh include/linux/spinlock.h:359 [inline] batadv_nc_purge_paths+0xe0/0x3f0 net/batman-adv/network-coding.c:438 batadv_nc_worker+0x31e/0x5b0 net/batman-adv/network-coding.c:718 process_one_work+0x833/0x10c0 kernel/workqueue.c:2276 worker_thread+0xac1/0x1320 kernel/workqueue.c:2422 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 4c 89 fe mov %r15,%rsi 3: 31 c0 xor %eax,%eax 5: e8 c8 8e 9c ff callq 0xff9c8ed2 a: eb d3 jmp 0xffffffdf c: cc int3 d: cc int3 e: cc int3 f: cc int3 10: cc int3 11: cc int3 12: cc int3 13: cc int3 14: cc int3 15: cc int3 16: cc int3 17: cc int3 18: cc int3 19: cc int3 1a: 89 f6 mov %esi,%esi 1c: 48 8b 0c 24 mov (%rsp),%rcx 20: 31 d2 xor %edx,%edx 22: e9 e3 ee ff ff jmpq 0xffffef0a 27: 0f 1f 00 nopl (%rax) * 2a: 89 f6 mov %esi,%esi <-- trapping instruction 2c: 48 8b 0c 24 mov (%rsp),%rcx 30: ba 01 00 00 00 mov $0x1,%edx 35: e9 d0 ee ff ff jmpq 0xffffef0a 3a: 55 push %rbp 3b: 41 56 push %r14 3d: 53 push %rbx 3e: 48 rex.W 3f: 89 .byte 0x89