INFO: task syz-executor.4:5569 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27560 pid:5569 ppid:5330 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 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:820 [inline] blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 vfs_fallocate+0x54b/0x6b0 fs/open.c:324 ksys_fallocate fs/open.c:347 [inline] __do_sys_fallocate fs/open.c:355 [inline] __se_sys_fallocate fs/open.c:353 [inline] __x64_sys_fallocate+0xbd/0x100 fs/open.c:353 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f40cd08c0f9 RSP: 002b:00007f40cde95168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f40cd1abf80 RCX: 00007f40cd08c0f9 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004 RBP: 00007f40cd0e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0008000001002000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe538ef87f R14: 00007f40cde95300 R15: 0000000000022000 INFO: task syz-executor.5:5573 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27560 pid:5573 ppid:5321 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 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:820 [inline] blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 vfs_fallocate+0x54b/0x6b0 fs/open.c:324 ksys_fallocate fs/open.c:347 [inline] __do_sys_fallocate fs/open.c:355 [inline] __se_sys_fallocate fs/open.c:353 [inline] __x64_sys_fallocate+0xbd/0x100 fs/open.c:353 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f45fd68c0f9 RSP: 002b:00007f45fe4c7168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f45fd7abf80 RCX: 00007f45fd68c0f9 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004 RBP: 00007f45fd6e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0008000001002000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe5950a2af R14: 00007f45fe4c7300 R15: 0000000000022000 INFO: task syz-executor.1:5592 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27000 pid:5592 ppid:5325 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 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:820 [inline] blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 vfs_fallocate+0x54b/0x6b0 fs/open.c:324 ksys_fallocate fs/open.c:347 [inline] __do_sys_fallocate fs/open.c:355 [inline] __se_sys_fallocate fs/open.c:353 [inline] __x64_sys_fallocate+0xbd/0x100 fs/open.c:353 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f538d48c0f9 RSP: 002b:00007f538c7fe168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f538d5abf80 RCX: 00007f538d48c0f9 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004 RBP: 00007f538d4e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0008000001002000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff1cfacbdf R14: 00007f538c7fe300 R15: 0000000000022000 INFO: task syz-executor.0:5601 blocked for more than 144 seconds. Not tainted 6.3.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26200 pid:5601 ppid:5319 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 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:820 [inline] blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 vfs_fallocate+0x54b/0x6b0 fs/open.c:324 ksys_fallocate fs/open.c:347 [inline] __do_sys_fallocate fs/open.c:355 [inline] __se_sys_fallocate fs/open.c:353 [inline] __x64_sys_fallocate+0xbd/0x100 fs/open.c:353 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1a7b48c0f9 RSP: 002b:00007f1a7c142168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f1a7b5abf80 RCX: 00007f1a7b48c0f9 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004 RBP: 00007f1a7b4e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0008000001002000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffdd33ca7f R14: 00007f1a7c142300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cf247b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cf24b70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8cf245e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:3/55: 2 locks held by getty/4707: #0: ffff88814a09c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176 1 lock held by syz-executor.2/5565: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.4/5569: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.5/5573: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.1/5592: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.0/5601: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.3/5847: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.2/5861: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.5/5879: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.4/5885: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.0/5887: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.1/5889: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.3/5911: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.2/5934: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.5/5984: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.4/5986: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.1/6001: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 1 lock held by syz-executor.0/6003: #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:820 [inline] #0: ffff88801bd7f6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21b/0x3a0 block/fops.c:649 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/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/0x2e0 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+0x2b2/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 55 Comm: kworker/u4:3 Not tainted 6.3.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:separate_irq_context kernel/locking/lockdep.c:4601 [inline] RIP: 0010:__lock_acquire+0xd22/0x2000 kernel/locking/lockdep.c:5058 Code: 24 8b 18 48 85 db 74 59 83 fb 31 0f 83 27 11 00 00 48 8d 04 9b 48 8b 4c 24 08 48 8d 5c c1 f8 48 89 d8 48 c1 e8 03 0f b6 04 38 <84> c0 0f 85 6b 0d 00 00 8b 1b 48 8b 44 24 28 0f b6 04 38 84 c0 0f RSP: 0018:ffffc90001567998 EFLAGS: 00000802 RAX: 0000000000000000 RBX: ffff888017ee8b10 RCX: ffff888017ee8ac8 RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000 RBP: ffff888017ee8b18 R08: dffffc0000000000 R09: fffffbfff205fc19 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888017ee8000 R13: 1ffff11002fdd155 R14: 0000000000000000 R15: 243a0c6745113c3f FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005609cf2cd950 CR3: 0000000018d52000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5691 rcu_lock_acquire+0x2e/0x40 include/linux/rcupdate.h:327 rcu_read_lock include/linux/rcupdate.h:773 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xc5/0x5c0 net/batman-adv/network-coding.c:719 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b2/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308