INFO: task syz-executor.3:26760 blocked for more than 143 seconds. Not tainted 6.7.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:29040 pid:26760 tgid:26734 ppid:5117 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x948/0x1400 kernel/locking/rwsem.c:1306 xfs_ilock+0x354/0x3f0 fs/xfs/xfs_inode.c:195 xfs_file_fallocate+0x124/0x1020 fs/xfs/xfs_file.c:964 vfs_fallocate+0x46c/0xe50 fs/open.c:324 ioctl_preallocate+0x1a4/0x220 fs/ioctl.c:291 file_ioctl fs/ioctl.c:331 [inline] do_vfs_ioctl+0x15a6/0x1920 fs/ioctl.c:850 __do_sys_ioctl fs/ioctl.c:869 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x112/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fd36047cae9 RSP: 002b:00007fd36114f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd36059c120 RCX: 00007fd36047cae9 RDX: 00000000200007c0 RSI: 0000000040305828 RDI: 0000000000000006 RBP: 00007fd3604c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd36059c120 R15: 00007ffcdf191908 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8cfabce0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfabce0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfabce0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 1 lock held by udevd/4521: 2 locks held by getty/4828: #0: ffff88814b0c90a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201 5 locks held by syz-executor.4/6021: 5 locks held by syz-executor.1/6036: 2 locks held by kworker/u4:3/6617: #0: ffff888013071938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2605 #1: ffff8880b9828888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 5 locks held by syz-executor.2/7040: 4 locks held by syz-executor.3/26738: 2 locks held by syz-executor.3/26760: #0: ffff888088728418 (sb_writers#15){.+.+}-{0:0}, at: ioctl_preallocate+0x1a4/0x220 fs/ioctl.c:291 #1: ffff88803d9150b8 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: xfs_ilock+0x354/0x3f0 fs/xfs/xfs_inode.c:195 1 lock held by udevd/26985: #0: ffff88801b490940 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:857 [inline] #0: ffff88801b490940 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: page_cache_ra_unbounded+0x13a/0x5f0 mm/readahead.c:225 3 locks held by syz-executor.3/27886: 1 lock held by syz-executor.0/27933: 2 locks held by syz-executor.2/27926: 1 lock held by syz-executor.1/27934: 3 locks held by syz-executor.1/27935: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.7.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5109 Comm: syz-executor.5 Not tainted 6.7.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:check_region_inline mm/kasan/generic.c:167 [inline] RIP: 0010:kasan_check_range+0x14c/0x190 mm/kasan/generic.c:187 Code: c0 01 49 89 d3 48 39 d0 74 11 80 38 00 74 ef 4d 8d 1c 2c 48 85 c0 48 89 c2 75 97 48 89 da 4c 89 d8 4c 29 da e9 30 ff ff ff 5b 01 00 00 00 5d 41 5c c3 b8 01 00 00 00 c3 48 29 c3 48 89 da 49 RSP: 0018:ffffc90004557b48 EFLAGS: 00000046 RAX: fffffbfff1e3269b RBX: 0000000000000001 RCX: ffffffff81680ce5 RDX: fffffbfff1e3269b RSI: 0000000000000008 RDI: ffffffff8f1934d0 RBP: fffffbfff1e3269a R08: 0000000000000000 R09: fffffbfff1e3269a R10: ffffffff8f1934d7 R11: 0000000000000001 R12: ffff8880b99380a0 R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000001 FS: 0000555556ef6480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2d11378038 CR3: 0000000039405000 CR4: 0000000000350ef0 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:504 [inline] cpu_online include/linux/cpumask.h:1104 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xa5/0x690 kernel/locking/lockdep.c:5764 refill_stock+0x16b/0x210 mm/memcontrol.c:2376 obj_cgroup_uncharge_pages mm/memcontrol.c:3234 [inline] refill_obj_stock+0x322/0x500 mm/memcontrol.c:3506 memcg_slab_free_hook+0x144/0x2b0 mm/slab.h:572 slab_free mm/slub.c:3804 [inline] kmem_cache_free+0xe1/0x350 mm/slub.c:3831 __d_free fs/dcache.c:298 [inline] dentry_free+0xdd/0x160 fs/dcache.c:375 __dentry_kill+0x4c1/0x640 fs/dcache.c:621 dentry_kill fs/dcache.c:733 [inline] dput+0x7eb/0xd90 fs/dcache.c:913 __fput+0x3b9/0xbb0 fs/file_table.c:402 task_work_run+0x14d/0x240 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x217/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1e/0x60 kernel/entry/common.c:296 do_syscall_64+0x4d/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f6507e7c84b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007ffc2a20db90 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f6507e7c84b RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 00007ffc2a20dc4c R08: 0000000000000000 R09: 00007ffc2a20d937 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000032 R13: 000000000021bd80 R14: 000000000021ba1f R15: 0000000000000006