INFO: task syz-executor.1:5182 blocked for more than 143 seconds. Not tainted 5.16.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27656 pid: 5182 ppid: 3644 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4900 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_read_slowpath+0x589/0xa70 kernel/locking/rwsem.c:1041 __down_read_common kernel/locking/rwsem.c:1223 [inline] __down_read kernel/locking/rwsem.c:1232 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1472 mmap_read_lock include/linux/mmap_lock.h:117 [inline] exit_mm kernel/exit.c:483 [inline] do_exit+0xa0a/0x2b40 kernel/exit.c:819 do_group_exit+0x125/0x310 kernel/exit.c:929 get_signal+0x47d/0x2220 kernel/signal.c:2852 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 __do_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf6e96549 RSP: 002b:00000000f589067c EFLAGS: 00000296 ORIG_RAX: 00000000000000f0 RAX: fffffffffffffe00 RBX: 00000000f6ff2fa8 RCX: 0000000000000080 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000f6ff2fac RBP: 0000000000000081 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 6 locks held by kworker/u4:1/10: 1 lock held by khungtaskd/26: #0: ffffffff8bb83da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 3 locks held by kworker/u4:4/979: 2 locks held by getty/3287: #0: ffff888022893098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 1 lock held by syz-executor.1/5175: #0: ffff88807f7f4e28 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline] #0: ffff88807f7f4e28 (&mm->mmap_lock#2){++++}-{3:3}, at: do_mprotect_pkey+0x1e0/0x980 mm/mprotect.c:551 1 lock held by syz-executor.1/5182: #0: ffff88807f7f4e28 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff88807f7f4e28 (&mm->mmap_lock#2){++++}-{3:3}, at: exit_mm kernel/exit.c:483 [inline] #0: ffff88807f7f4e28 (&mm->mmap_lock#2){++++}-{3:3}, at: do_exit+0xa0a/0x2b40 kernel/exit.c:819 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.16.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+0x1b3/0x230 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+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 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: 979 Comm: kworker/u4:4 Not tainted 5.16.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:hlock_class kernel/locking/lockdep.c:199 [inline] RIP: 0010:__lock_acquire+0xbc7/0x5470 kernel/locking/lockdep.c:5024 Code: 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 f8 06 48 8d 3c c5 00 6a f7 8f e8 91 fa 61 00 48 0f a3 1d a9 13 9b 0e <0f> 83 31 0c 00 00 48 8d 1c 5b 48 c1 e3 06 48 81 c3 20 6e f7 8f 48 RSP: 0018:ffffc90004c8fa58 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 0000000000000028 RCX: ffffffff815c564f RDX: fffffbfff1feed41 RSI: 0000000000000008 RDI: ffffffff8ff76a00 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8ff76a07 R10: fffffbfff1feed40 R11: 0000000000000000 R12: ffff88801ae1e1b0 R13: ffff88801ae1d700 R14: ffffffff8d918d48 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005625e53c6680 CR3: 0000000022f93000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 rcu_lock_acquire include/linux/rcupdate.h:268 [inline] rcu_read_lock include/linux/rcupdate.h:688 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x12d/0xfa0 net/batman-adv/network-coding.c:723 process_one_work+0x9b2/0x1660 kernel/workqueue.c:2298 worker_thread+0x65d/0x1130 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 66 81 e3 ff 1f and $0x1fff,%bx 5: 0f b7 db movzwl %bx,%ebx 8: be 08 00 00 00 mov $0x8,%esi d: 48 89 d8 mov %rbx,%rax 10: 48 c1 f8 06 sar $0x6,%rax 14: 48 8d 3c c5 00 6a f7 lea -0x70089600(,%rax,8),%rdi 1b: 8f 1c: e8 91 fa 61 00 callq 0x61fab2 21: 48 0f a3 1d a9 13 9b bt %rbx,0xe9b13a9(%rip) # 0xe9b13d2 28: 0e * 29: 0f 83 31 0c 00 00 jae 0xc60 <-- trapping instruction 2f: 48 8d 1c 5b lea (%rbx,%rbx,2),%rbx 33: 48 c1 e3 06 shl $0x6,%rbx 37: 48 81 c3 20 6e f7 8f add $0xffffffff8ff76e20,%rbx 3e: 48 rex.W