INFO: task syz-executor.0:19044 blocked for more than 143 seconds. Not tainted 5.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29512 pid:19044 ppid: 17883 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6388 schedule+0xd2/0x1f0 kernel/sched/core.c:6460 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6519 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 evdev_release+0x79/0x410 drivers/input/evdev.c:441 __fput+0x277/0x9d0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f0be0a890e9 RSP: 002b:00007f0be1bc8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000021 RAX: 0000000000000003 RBX: 00007f0be0b9c030 RCX: 00007f0be0a890e9 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000004 RBP: 00007f0be0ae308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0be10cfb1f R14: 00007f0be1bc8300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:0/8: 1 lock held by khungtaskd/28: #0: ffffffff8bd820e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6467 2 locks held by getty/3276: #0: ffff88807e810098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002ce62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcea/0x1230 drivers/tty/n_tty.c:2075 1 lock held by syz-executor.0/19024: 1 lock held by syz-executor.0/19044: #0: ffff88814950a110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_release+0x79/0x410 drivers/input/evdev.c:441 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.18.0-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:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8 Comm: kworker/u4:0 Not tainted 5.18.0-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:hlock_class kernel/locking/lockdep.c:201 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:190 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4727 [inline] RIP: 0010:__lock_acquire+0x62c/0x56c0 kernel/locking/lockdep.c:4979 Code: 0a 00 00 bd 04 00 00 00 44 39 f6 0f 8e 30 01 00 00 48 c7 c0 e8 5e b9 8d 4c 89 64 24 58 45 89 f4 49 bf 00 00 00 00 00 fc ff df <48> c1 e8 03 4c 8b 74 24 28 4c 01 f8 48 89 44 24 60 eb 66 48 8d 04 RSP: 0018:ffffc900000d7940 EFLAGS: 00000006 RAX: ffffffff8db95ee8 RBX: ffff888010f0e2c4 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffffffff90070c99 RBP: 0000000000000004 R08: dffffc0000000000 R09: ffffffff9006e907 R10: fffffbfff200dd20 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888010f0d880 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020d84000 CR3: 000000006b64b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5641 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5606 rcu_lock_acquire include/linux/rcupdate.h:268 [inline] rcu_read_lock include/linux/rcupdate.h:694 [inline] batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:755 [inline] batadv_iv_ogm_schedule_buff+0x5d2/0x1430 net/batman-adv/bat_iv_ogm.c:826 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+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 ---------------- Code disassembly (best guess): 0: 0a 00 or (%rax),%al 2: 00 bd 04 00 00 00 add %bh,0x4(%rbp) 8: 44 39 f6 cmp %r14d,%esi b: 0f 8e 30 01 00 00 jle 0x141 11: 48 c7 c0 e8 5e b9 8d mov $0xffffffff8db95ee8,%rax 18: 4c 89 64 24 58 mov %r12,0x58(%rsp) 1d: 45 89 f4 mov %r14d,%r12d 20: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 27: fc ff df * 2a: 48 c1 e8 03 shr $0x3,%rax <-- trapping instruction 2e: 4c 8b 74 24 28 mov 0x28(%rsp),%r14 33: 4c 01 f8 add %r15,%rax 36: 48 89 44 24 60 mov %rax,0x60(%rsp) 3b: eb 66 jmp 0xa3 3d: 48 rex.W 3e: 8d .byte 0x8d 3f: 04 .byte 0x4