INFO: task syz-executor.4:14243 blocked for more than 143 seconds. Not tainted 6.4.0-syzkaller-01554-g6f612579be9d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27504 pid:14243 ppid:3303 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6707 schedule+0xc3/0x180 kernel/sched/core.c:6783 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6842 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 filemap_invalidate_lock include/linux/fs.h:816 [inline] blk_ioctl_zeroout block/ioctl.c:182 [inline] blkdev_common_ioctl+0x1532/0x2510 block/ioctl.c:501 blkdev_ioctl+0x520/0x730 block/ioctl.c:615 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf8/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0d0488c389 RSP: 002b:00007f0d056a7168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0d049abf80 RCX: 00007f0d0488c389 RDX: 0000000020000080 RSI: 000000000000127f RDI: 0000000000000003 RBP: 00007f0d048d7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcbb3c545f R14: 00007f0d056a7300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cf272b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cf27670 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffffffff8cf270e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4745: #0: ffff8880293f7098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015c02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1db0 drivers/tty/n_tty.c:2176 2 locks held by syz-executor.0/13053: 1 lock held by syz-executor.4/14243: #0: ffff88801e223748 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:816 [inline] #0: ffff88801e223748 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:182 [inline] #0: ffff88801e223748 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1532/0x2510 block/ioctl.c:501 1 lock held by syz-executor.0/14518: #0: ffff888092c3a0e0 (&type->s_umount_key#51/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 2 locks held by syz-executor.0/14612: #0: ffff88801e222fb0 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: get_tree_bdev+0x18a/0x6c0 fs/super.c:1278 #1: ffff888092c3a0e0 (&type->s_umount_key#52){++++}-{3:3}, at: grab_super+0x59/0x1a0 fs/super.c:385 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-syzkaller-01554-g6f612579be9d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10470 Comm: kworker/u4:8 Not tainted 6.4.0-syzkaller-01554-g6f612579be9d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x21/0x7f70 kernel/locking/lockdep.c:5000 Code: eb 89 0f 1f 80 00 00 00 00 f3 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec a0 02 00 00 44 89 4c 24 78 <45> 89 c5 41 89 ce 89 94 24 c8 00 00 00 41 89 f4 48 89 fa 65 48 8b RSP: 0018:ffffc900052f7720 EFLAGS: 00000082 RAX: 0000000000000001 RBX: ffffc900052f7a80 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8cf270e0 RBP: ffffc900052f79e8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000a5ef4c R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000246 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00a6bf000 CR3: 000000007d147000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000a DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5761 rcu_lock_acquire+0x2e/0x40 include/linux/rcupdate.h:302 rcu_read_lock include/linux/rcupdate.h:748 [inline] batadv_nc_process_nc_paths+0xb8/0x350 net/batman-adv/network-coding.c:687 batadv_nc_worker+0x4d3/0x5c0 net/batman-adv/network-coding.c:735 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2408 worker_thread+0xa63/0x1210 kernel/workqueue.c:2555 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308