INFO: task syz-executor.0:3459 blocked for more than 143 seconds. Not tainted 5.15.147-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27520 pid: 3459 ppid: 3241 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 rwsem_down_write_slowpath+0xebb/0x15c0 kernel/locking/rwsem.c:1157 __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1293 [inline] down_write+0x164/0x170 kernel/locking/rwsem.c:1542 filemap_invalidate_lock include/linux/fs.h:832 [inline] blkdev_fallocate+0x25e/0x4e0 block/fops.c:600 vfs_fallocate+0x54a/0x6b0 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0xb9/0x100 fs/open.c:337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fc9e3192da9 RSP: 002b:00007fc9e17140c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fc9e32c1f80 RCX: 00007fc9e3192da9 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004 RBP: 00007fc9e31df47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000100001002000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc9e32c1f80 R15: 00007ffcac1bc278 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91f220 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:2/150: 2 locks held by getty/3261: #0: ffff88814b007098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bab2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by syz-executor.0/3040: 1 lock held by syz-executor.0/3459: #0: ffff888145aec438 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff888145aec438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x25e/0x4e0 block/fops.c:600 1 lock held by syz-executor.0/4242: #0: ffff888145aec438 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff888145aec438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x25e/0x4e0 block/fops.c:600 1 lock held by syz-executor.0/6370: 1 lock held by syz-executor.4/6483: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.147-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6483 Comm: syz-executor.4 Not tainted 5.15.147-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:__lock_release kernel/locking/lockdep.c:5279 [inline] RIP: 0010:lock_release+0x188/0x9a0 kernel/locking/lockdep.c:5643 Code: 80 3c 3b 00 74 08 4c 89 f7 e8 b4 37 67 00 48 8b 9c 24 b0 00 00 00 fa 48 c7 c7 80 1d 8b 8a e8 2f e5 b9 08 65 ff 05 a8 d0 9f 7e <48> 8d 94 24 80 00 00 00 48 c1 ea 03 42 0f b6 04 3a 84 c0 4c 8b 6c RSP: 0018:ffffc90003157440 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 0000000000000046 RCX: ffffffff8162a778 RDX: 0000000000000000 RSI: ffffffff8a8b1d80 RDI: ffffffff8ad87e00 RBP: ffffc90003157570 R08: dffffc0000000000 R09: fffffbfff1bc738e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200062ae94 R13: ffffffff88302477 R14: ffffc900031574f0 R15: dffffc0000000000 FS: 00007fdf8eab66c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020611000 CR3: 0000000098086000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_unlock_irqrestore+0x75/0x130 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:418 [inline] __skb_try_recv_datagram+0x1c7/0x6a0 net/core/datagram.c:267 __unix_dgram_recvmsg+0x3c1/0x1260 net/unix/af_unix.c:2316 ____sys_recvmsg+0x286/0x530 ___sys_recvmsg+0x1ec/0x690 net/socket.c:2692 do_recvmmsg+0x36f/0x8f0 net/socket.c:2786 __sys_recvmmsg net/socket.c:2865 [inline] __do_sys_recvmmsg net/socket.c:2888 [inline] __se_sys_recvmmsg net/socket.c:2881 [inline] __x64_sys_recvmmsg+0x195/0x240 net/socket.c:2881 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fdf90555da9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdf8eab60c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fdf90685050 RCX: 00007fdf90555da9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007fdf905a247a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fdf90685050 R15: 00007ffd8e556ac8