INFO: task syz-executor145:3589 blocked for more than 143 seconds. Not tainted 5.15.167-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor145 state:D stack:27168 pid: 3589 ppid: 3585 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 rwsem_down_write_slowpath+0xf0c/0x16a0 kernel/locking/rwsem.c:1165 filemap_invalidate_lock include/linux/fs.h:834 [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+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fc77b299b29 RSP: 002b:00007ffc58285178 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc77b299b29 RDX: 0000000000000000 RSI: 0000000000000010 RDI: 0000000000000004 RBP: 00000000000f4240 R08: 00000000000000a0 R09: 00000000000000a0 R10: 0000002000000400 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffc58285398 R14: 00007ffc582851a0 R15: 00007ffc58285190 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by klogd/3015: 2 locks held by getty/3332: #0: ffff888029f81098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc9000229b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 1 lock held by syz-executor145/3588: 1 lock held by syz-executor145/3589: #0: ffff88814088acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff88814088acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x25e/0x4e0 block/fops.c:600 1 lock held by syz-executor145/3590: #0: ffff88814088acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff88814088acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x25e/0x4e0 block/fops.c:600 1 lock held by syz-executor145/3597: #0: ffff88814088acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff88814088acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x25e/0x4e0 block/fops.c:600 1 lock held by syz-executor145/3598: #0: ffff88814088acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff88814088acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x25e/0x4e0 block/fops.c:600 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 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:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3008 Comm: syslogd Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5367 [inline] RIP: 0010:lock_is_held_type+0xd2/0x180 kernel/locking/lockdep.c:5666 Code: 48 ff c3 49 63 85 e8 0a 00 00 48 83 c5 28 48 39 c3 7c d8 eb 11 48 c7 c7 20 f3 7e 8c 48 89 de e8 f4 d8 f6 f9 eb cb 31 ed eb 1f <41> 83 fe ff 74 14 31 c0 f6 45 22 03 0f 95 c0 31 ed 44 39 f0 40 0f RSP: 0018:ffffc900024f72b0 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000000009 RSI: ffff8880b913a318 RDI: ffff88807dc74670 RBP: ffff88807dc74670 R08: dffffc0000000000 R09: fffffbfff1bd2c16 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000046 R13: ffff88807dc73b80 R14: 00000000ffffffff R15: ffff8880b913a318 FS: 00007f38c637a380(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b3828b8600 CR3: 000000002384a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:287 [inline] lockdep_assert_rq_held kernel/sched/sched.h:1317 [inline] rq_clock_task kernel/sched/sched.h:1477 [inline] update_curr+0x10c/0xa50 kernel/sched/fair.c:828 dequeue_entity+0x27/0xfe0 kernel/sched/fair.c:4568 dequeue_task_fair+0x270/0x13c0 kernel/sched/fair.c:5922 dequeue_task kernel/sched/core.c:1994 [inline] deactivate_task kernel/sched/core.c:2011 [inline] __schedule+0x786/0x45b0 kernel/sched/core.c:6327 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0xac/0x300 kernel/time/timer.c:1890 __skb_wait_for_more_packets+0x394/0x5f0 net/core/datagram.c:122 __unix_dgram_recvmsg+0x351/0x1260 net/unix/af_unix.c:2317 sock_recvmsg_nosec net/socket.c:966 [inline] sock_recvmsg net/socket.c:984 [inline] sock_read_iter+0x353/0x480 net/socket.c:1057 call_read_iter include/linux/fs.h:2166 [inline] new_sync_read fs/read_write.c:404 [inline] vfs_read+0xa93/0xe10 fs/read_write.c:485 ksys_read+0x1a2/0x2c0 fs/read_write.c:623 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f38c64ceb6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffd2727b7e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f38c64ceb6a RDX: 00000000000000ff RSI: 000055a21f54f950 RDI: 0000000000000000 RBP: 000055a21f54f910 R08: 0000000000000001 R09: 0000000000000000 R10: 00007f38c666d3a3 R11: 0000000000000246 R12: 000055a21f54f99d R13: 000055a21f54f950 R14: 0000000000000000 R15: 00007f38c66aba80 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.337 msecs