INFO: task kworker/1:1:12751 blocked for more than 143 seconds. Not tainted 5.17.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:1 state:D stack:22168 pid:12751 ppid: 2 flags:0x00004000 Workqueue: events console_callback Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6304 schedule+0xd2/0x260 kernel/sched/core.c:6377 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 __down_common+0x2e0/0x420 kernel/locking/semaphore.c:224 down+0x70/0x90 kernel/locking/semaphore.c:62 console_lock+0x28/0x80 kernel/printk/printk.c:2524 console_callback+0x5f/0x4c0 drivers/tty/vt/vt.c:2980 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb845e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by getty/3283: #0: ffff88814a92e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075 2 locks held by kworker/u4:11/6312: 2 locks held by kworker/1:1/12751: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc90000cd7db8 (console_work){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 2 locks held by syz-executor.0/15880: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc7-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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:377 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: 6312 Comm: kworker/u4:11 Not tainted 5.17.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:unwind_next_frame+0xd02/0x1ce0 arch/x86/kernel/unwind_orc.c:539 Code: d4 f1 ff ff 4c 8b 44 24 28 84 c0 48 8b 4c 24 30 0f 84 21 07 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 54 24 08 4c 8b 64 24 60 <48> c1 ea 03 80 3c 02 00 0f 85 86 0e 00 00 48 8b 14 24 4d 89 66 38 RSP: 0018:ffffc900107d7400 EFLAGS: 00000202 RAX: dffffc0000000000 RBX: 1ffff920020fae88 RCX: ffffffff8ea360c3 RDX: ffffc900107d7510 RSI: ffffc900107d7958 RDI: ffffc900107d7958 RBP: 0000000000000001 R08: ffffffff8ea360be R09: 0000000000000001 R10: fffff520020faea6 R11: 0000000000088078 R12: ffffc900107d7960 R13: ffffc900107d750d R14: ffffc900107d74d8 R15: ffffffff8ea360c2 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c003271000 CR3: 000000000b88e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38 kasan_set_track+0x21/0x30 mm/kasan/common.c:45 kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:370 ____kasan_slab_free mm/kasan/common.c:366 [inline] ____kasan_slab_free+0x126/0x160 mm/kasan/common.c:328 kasan_slab_free include/linux/kasan.h:236 [inline] slab_free_hook mm/slub.c:1728 [inline] slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1754 slab_free mm/slub.c:3509 [inline] kfree+0xd0/0x390 mm/slub.c:4562 batadv_tvlv_container_release net/batman-adv/tvlv.c:102 [inline] kref_put include/linux/kref.h:65 [inline] batadv_tvlv_container_put net/batman-adv/tvlv.c:115 [inline] batadv_tvlv_container_remove+0x20b/0x2a0 net/batman-adv/tvlv.c:198 batadv_tvlv_container_register+0x1c0/0x400 net/batman-adv/tvlv.c:254 batadv_tt_tvlv_container_update+0x1d8/0x780 net/batman-adv/translation-table.c:1052 batadv_tt_local_commit_changes_nolock+0xc3d/0xd80 net/batman-adv/translation-table.c:3691 batadv_tt_local_commit_changes+0x22/0x30 net/batman-adv/translation-table.c:3719 batadv_iv_ogm_schedule_buff+0x10d8/0x1430 net/batman-adv/bat_iv_ogm.c:812 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:869 [inline] batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:862 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x740/0x910 net/batman-adv/bat_iv_ogm.c:1713 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: ff 4c 8b 44 decl 0x44(%rbx,%rcx,4) 4: 24 28 and $0x28,%al 6: 84 c0 test %al,%al 8: 48 8b 4c 24 30 mov 0x30(%rsp),%rcx d: 0f 84 21 07 00 00 je 0x734 13: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1a: fc ff df 1d: 48 8b 54 24 08 mov 0x8(%rsp),%rdx 22: 4c 8b 64 24 60 mov 0x60(%rsp),%r12 * 27: 48 c1 ea 03 shr $0x3,%rdx <-- trapping instruction 2b: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 2f: 0f 85 86 0e 00 00 jne 0xebb 35: 48 8b 14 24 mov (%rsp),%rdx 39: 4d 89 66 38 mov %r12,0x38(%r14)