INFO: task syz-executor.1:1037 blocked for more than 143 seconds. Not tainted 5.16.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29064 pid: 1037 ppid: 6585 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 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:0xf6ecd549 RSP: 002b:00000000f5ec75fc EFLAGS: 00000296 ORIG_RAX: 00000000000000b1 RAX: fffffffffffffffc RBX: 0000000020000380 RCX: 0000000000000000 RDX: 00000000200002c0 RSI: 0000000000000008 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.1:1068 blocked for more than 144 seconds. Not tainted 5.16.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29480 pid: 1068 ppid: 6585 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 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:0xf6ecd549 RSP: 002b:00000000f5ea6668 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: 0000000000000000 RBX: 00000000000000d9 RCX: 0000000000006364 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000000000d9 RBP: 00000000f5ea67a8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.1:1075 blocked for more than 146 seconds. Not tainted 5.16.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29560 pid: 1075 ppid: 6585 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 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:0xf6ecd549 RSP: 002b:00000000f5e8567c EFLAGS: 00000296 ORIG_RAX: 00000000000000f0 RAX: fffffffffffffe00 RBX: 00000000f702a0a8 RCX: 0000000000000080 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000f702a0ac 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: 1 lock held by khungtaskd/26: #0: ffffffff8bb83d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 3 locks held by kworker/u4:5/1034: 1 lock held by in:imklog/6229: #0: ffff88807334aaf0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:994 2 locks held by kworker/u4:3/20848: 1 lock held by syz-executor.2/22428: 1 lock held by syz-executor.1/1032: 1 lock held by syz-executor.1/1037: #0: ffff888083539d28 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff888083539d28 (&mm->mmap_lock#2){++++}-{3:3}, at: exit_mm kernel/exit.c:483 [inline] #0: ffff888083539d28 (&mm->mmap_lock#2){++++}-{3:3}, at: do_exit+0xa0a/0x2b40 kernel/exit.c:819 1 lock held by syz-executor.1/1068: #0: ffff888083539d28 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff888083539d28 (&mm->mmap_lock#2){++++}-{3:3}, at: exit_mm kernel/exit.c:483 [inline] #0: ffff888083539d28 (&mm->mmap_lock#2){++++}-{3:3}, at: do_exit+0xa0a/0x2b40 kernel/exit.c:819 1 lock held by syz-executor.1/1075: #0: ffff888083539d28 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff888083539d28 (&mm->mmap_lock#2){++++}-{3:3}, at: exit_mm kernel/exit.c:483 [inline] #0: ffff888083539d28 (&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-rc4-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: 20848 Comm: kworker/u4:3 Not tainted 5.16.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5380 [inline] RIP: 0010:lock_is_held_type+0x9f/0x140 kernel/locking/lockdep.c:5680 Code: 05 86 4b be 76 85 c0 7f 12 e9 8a 00 00 00 83 c3 01 41 3b 9c 24 58 0a 00 00 7d 7d 48 63 c3 48 89 ee 48 8d 04 80 4d 8d 7c c5 00 <4c> 89 ff e8 99 fe ff ff 85 c0 74 d8 41 83 fe ff 41 bd 01 00 00 00 RSP: 0000:ffffc900051dfad0 EFLAGS: 00000097 RAX: 0000000000000005 RBX: 0000000000000001 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8bb83c60 RDI: ffff8880471b2760 RBP: ffffffff8bb83c60 R08: 0000000000000000 R09: ffffffff8d912e57 R10: fffffbfff1b225ca R11: 0000000000000000 R12: ffff8880471b1d00 R13: ffff8880471b2760 R14: 00000000ffffffff R15: ffff8880471b2788 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000054 CR3: 00000000318be000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x442/0x510 kernel/locking/lockdep.c:5608 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:354 [inline] batadv_nc_purge_paths+0xdf/0x3a0 net/batman-adv/network-coding.c:446 batadv_nc_worker+0x8f9/0xfa0 net/batman-adv/network-coding.c:724 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 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): 0: 05 86 4b be 76 add $0x76be4b86,%eax 5: 85 c0 test %eax,%eax 7: 7f 12 jg 0x1b 9: e9 8a 00 00 00 jmpq 0x98 e: 83 c3 01 add $0x1,%ebx 11: 41 3b 9c 24 58 0a 00 cmp 0xa58(%r12),%ebx 18: 00 19: 7d 7d jge 0x98 1b: 48 63 c3 movslq %ebx,%rax 1e: 48 89 ee mov %rbp,%rsi 21: 48 8d 04 80 lea (%rax,%rax,4),%rax 25: 4d 8d 7c c5 00 lea 0x0(%r13,%rax,8),%r15 * 2a: 4c 89 ff mov %r15,%rdi <-- trapping instruction 2d: e8 99 fe ff ff callq 0xfffffecb 32: 85 c0 test %eax,%eax 34: 74 d8 je 0xe 36: 41 83 fe ff cmp $0xffffffff,%r14d 3a: 41 bd 01 00 00 00 mov $0x1,%r13d