INFO: task syz-executor.2:9446 blocked for more than 143 seconds. Not tainted 5.17.0-rc7-syzkaller-00241-gf0e18b03fcaf #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29432 pid: 9446 ppid: 3623 flags:0x00000004 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 rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1142 __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write_common kernel/locking/rwsem.c:1256 [inline] __down_write kernel/locking/rwsem.c:1268 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1515 filemap_invalidate_lock include/linux/fs.h:822 [inline] blkdev_fallocate+0x1e2/0x420 block/fops.c:659 vfs_fallocate+0x48d/0xe10 fs/open.c:308 madvise_remove mm/madvise.c:931 [inline] madvise_vma_behavior+0xa3c/0x1bd0 mm/madvise.c:955 madvise_walk_vmas+0x1d5/0x2d0 mm/madvise.c:1183 do_madvise mm/madvise.c:1361 [inline] do_madvise+0x2d4/0x3c0 mm/madvise.c:1319 __do_sys_madvise mm/madvise.c:1374 [inline] __se_sys_madvise mm/madvise.c:1372 [inline] __x64_sys_madvise+0xa6/0x110 mm/madvise.c:1372 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f9c2f632049 RSP: 002b:00007f9c2df86168 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f9c2f745030 RCX: 00007f9c2f632049 RDX: 0000000000000009 RSI: 0000000000600003 RDI: 0000000020000000 RBP: 00007f9c2f68c08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff78a632af R14: 00007f9c2df86300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb821a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by getty/3284: #0: ffff88814aeb1098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b5e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075 2 locks held by kworker/0:4/3674: #0: ffff888010c76538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c76538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c76538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888010c76538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888010c76538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888010c76538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc90002c07db8 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 2 locks held by kworker/u4:25/11865: 2 locks held by syz-executor.1/9431: 2 locks held by syz-executor.0/9435: 6 locks held by syz-executor.0/9436: 1 lock held by syz-executor.2/9446: #0: ffff888146210b08 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:822 [inline] #0: ffff888146210b08 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e2/0x420 block/fops.c:659 2 locks held by dhcpcd/9496: #0: ffff88804063e410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline] #0: ffff88804063e410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:649 #1: ffffffff8bb8bde8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8bb8bde8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4fa/0x620 kernel/rcu/tree_exp.h:840 2 locks held by dhcpcd/9497: #0: ffff88803831e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff88803831e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xd70 net/packet/af_packet.c:3174 #1: ffffffff8bb8bde8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #1: ffffffff8bb8bde8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x2d5/0x620 kernel/rcu/tree_exp.h:840 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc7-syzkaller-00241-gf0e18b03fcaf #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11865 Comm: kworker/u4:25 Not tainted 5.17.0-rc7-syzkaller-00241-gf0e18b03fcaf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_kcov_mode+0x2e/0x40 kernel/kcov.c:177 Code: 7e 8a 7e 89 c2 81 e2 00 01 00 00 a9 00 01 ff 00 74 10 31 c0 85 d2 74 15 8b 96 a4 15 00 00 85 d2 74 0b 8b 86 80 15 00 00 39 f8 <0f> 94 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 31 c0 65 8b RSP: 0018:ffffc9000574fc80 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88807bb7a140 RDX: 0000000000000000 RSI: ffff88807bb7a140 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff88e76fd1 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000311 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557edd330680 CR3: 00000000211a0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: write_comp_data kernel/kcov.c:221 [inline] __sanitizer_cov_trace_const_cmp1+0x22/0x80 kernel/kcov.c:273 rcu_read_unlock include/linux/rcupdate.h:723 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x841/0xfa0 net/batman-adv/network-coding.c:719 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): 0: 7e 8a jle 0xffffff8c 2: 7e 89 jle 0xffffff8d 4: c2 81 e2 retq $0xe281 7: 00 01 add %al,(%rcx) 9: 00 00 add %al,(%rax) b: a9 00 01 ff 00 test $0xff0100,%eax 10: 74 10 je 0x22 12: 31 c0 xor %eax,%eax 14: 85 d2 test %edx,%edx 16: 74 15 je 0x2d 18: 8b 96 a4 15 00 00 mov 0x15a4(%rsi),%edx 1e: 85 d2 test %edx,%edx 20: 74 0b je 0x2d 22: 8b 86 80 15 00 00 mov 0x1580(%rsi),%eax 28: 39 f8 cmp %edi,%eax * 2a: 0f 94 c0 sete %al <-- trapping instruction 2d: c3 retq 2e: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 35: 00 00 00 00 39: 0f 1f 00 nopl (%rax) 3c: 31 c0 xor %eax,%eax 3e: 65 gs 3f: 8b .byte 0x8b