INFO: task syz-executor.4:10171 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:25144 pid:10171 tgid:10170 ppid:9613 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline] __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x705/0xa40 kernel/locking/rwsem.c:1528 filemap_invalidate_lock_shared include/linux/fs.h:850 [inline] page_cache_ra_unbounded+0xfb/0x7a0 mm/readahead.c:225 do_sync_mmap_readahead+0x444/0x850 filemap_fault+0x7e5/0x16a0 mm/filemap.c:3289 __do_fault+0x135/0x460 mm/memory.c:4531 do_read_fault mm/memory.c:4894 [inline] do_fault mm/memory.c:5024 [inline] do_pte_missing mm/memory.c:3880 [inline] handle_pte_fault mm/memory.c:5300 [inline] __handle_mm_fault+0x45f7/0x7240 mm/memory.c:5441 handle_mm_fault+0x27f/0x770 mm/memory.c:5606 do_user_addr_fault arch/x86/mm/fault.c:1413 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x2a8/0x8e0 arch/x86/mm/fault.c:1563 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:fault_in_readable+0x108/0x2b0 mm/gup.c:2002 Code: 00 00 00 0f 01 cb 0f ae e8 48 89 de 48 81 e6 ff 0f 00 00 31 ff e8 c8 03 b9 ff 48 89 d8 48 25 ff 0f 00 00 4c 89 74 24 18 74 30 <8a> 1b e8 d1 fe b8 ff 43 0f b6 04 2f 84 c0 0f 85 4d 01 00 00 88 5c RSP: 0018:ffffc90004fdf840 EFLAGS: 00050206 RAX: 0000000000000700 RBX: 0000000020000700 RCX: ffff888029ad8000 RDX: ffffc90004b01000 RSI: 0000000000000700 RDI: 0000000000000000 RBP: ffffc90004fdf8f8 R08: ffffffff81dd0188 R09: ffffffff84a3d839 R10: 0000000000000002 R11: ffff888029ad8000 R12: 0000000000001000 R13: dffffc0000000000 R14: 1ffff920009fbf0c R15: 1ffff920009fbf10 fault_in_iov_iter_readable+0x229/0x280 lib/iov_iter.c:94 generic_perform_write+0x220/0x640 mm/filemap.c:3964 ext4_buffered_write_iter+0xc6/0x350 fs/ext4/file.c:299 ext4_file_write_iter+0x1de/0x1a10 call_write_iter include/linux/fs.h:2110 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa84/0xcb0 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f519587dea9 RSP: 002b:00007f51965f30c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f51959abf80 RCX: 00007f519587dea9 RDX: 0000000000001006 RSI: 0000000020000700 RDI: 0000000000000003 RBP: 00007f51958ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f51959abf80 R15: 00007fff5b92a7a8 INFO: task syz-executor.4:10172 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28336 pid:10172 tgid:10170 ppid:9613 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:795 [inline] ext4_dio_write_iter fs/ext4/file.c:530 [inline] ext4_file_write_iter+0x388/0x1a10 fs/ext4/file.c:696 call_write_iter include/linux/fs.h:2110 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa84/0xcb0 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f519587dea9 RSP: 002b:00007f51965d20c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f51959ac050 RCX: 00007f519587dea9 RDX: 0000000000000040 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007f51958ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f51959ac050 R15: 00007fff5b92a7a8 INFO: task syz-executor.3:10250 blocked for more than 144 seconds. Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:26520 pid:10250 tgid:10248 ppid:9801 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 filemap_invalidate_lock include/linux/fs.h:840 [inline] blkdev_fallocate+0x233/0x550 block/fops.c:797 vfs_fallocate+0x564/0x6c0 fs/open.c:330 ksys_fallocate fs/open.c:353 [inline] __do_sys_fallocate fs/open.c:361 [inline] __se_sys_fallocate fs/open.c:359 [inline] __x64_sys_fallocate+0xbd/0x110 fs/open.c:359 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8813a7dea9 RSP: 002b:00007f88147030c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f8813bac050 RCX: 00007f8813a7dea9 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000008 RBP: 00007f8813aca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000074000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8813bac050 R15: 00007ffffe4595a8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 3 locks held by kworker/u8:7/1086: 2 locks held by getty/4828: #0: ffff88802ad5b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f0e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by syz-fuzzer/5069: #0: ffff88802f04e420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88803061ca00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff88803061ca00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_unlinkat+0x26a/0x830 fs/namei.c:4386 #2: ffff8880341b0e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #2: ffff8880341b0e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_unlink+0xe4/0x600 fs/namei.c:4324 2 locks held by syz-executor.0/6975: 3 locks held by syz-executor.2/7643: 4 locks held by syz-executor.4/10171: #0: ffff88802a81fc48 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x259/0x320 fs/file.c:1191 #1: ffff88802f04e420 (sb_writers#4){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2855 [inline] #1: ffff88802f04e420 (sb_writers#4){.+.+}-{0:0}, at: vfs_write+0x233/0xcb0 fs/read_write.c:586 #2: ffff8880341b0e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #2: ffff8880341b0e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_buffered_write_iter+0x97/0x350 fs/ext4/file.c:294 #3: ffff88801d53d9c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:850 [inline] #3: ffff88801d53d9c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0xfb/0x7a0 mm/readahead.c:225 3 locks held by syz-executor.4/10172: #0: ffff888021fdeac8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x259/0x320 fs/file.c:1191 #1: ffff88802f04e420 (sb_writers#4){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2855 [inline] #1: ffff88802f04e420 (sb_writers#4){.+.+}-{0:0}, at: vfs_write+0x233/0xcb0 fs/read_write.c:586 #2: ffff8880341b0e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #2: ffff8880341b0e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_dio_write_iter fs/ext4/file.c:530 [inline] #2: ffff8880341b0e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_file_write_iter+0x388/0x1a10 fs/ext4/file.c:696 1 lock held by syz-executor.3/10250: #0: ffff88801d53d9c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:840 [inline] #0: ffff88801d53d9c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x233/0x550 block/fops.c:797 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:380 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6975 Comm: syz-executor.0 Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__unwind_start+0x62b/0x7c0 Code: 9b 9c b5 00 48 8b 1b 48 89 df 4c 8b 64 24 10 4c 89 e6 e8 88 8d 54 00 4c 39 e3 0f 87 89 00 00 00 e8 1a 8b 54 00 4c 8b 64 24 28 0c e8 0e 8b 54 00 eb 05 e8 07 8b 54 00 4c 89 f7 e8 ff c9 ff ff RSP: 0018:ffffc90014da6fb8 EFLAGS: 00000246 RAX: ffffffff81417556 RBX: ffffc90014da7020 RCX: 0000000000040000 RDX: ffffc9000a55e000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 1ffff920029b4e04 R08: ffffffff81417548 R09: ffffffff814158df R10: 0000000000000003 R11: ffff88802aeebc00 R12: ffffc90014da70b8 R13: ffffc90014da7030 R14: ffffc90014da7020 R15: ffffc90014da7028 FS: 00007f44e6f7d6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f028aa19000 CR3: 000000002c078000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x103/0x1b0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3798 [inline] slab_alloc_node mm/slub.c:3845 [inline] kmem_cache_alloc+0x174/0x340 mm/slub.c:3852 mempool_alloc+0x197/0x5a0 mm/mempool.c:408 bio_alloc_bioset+0x26f/0x1130 block/bio.c:543 bio_alloc_clone block/bio.c:853 [inline] bio_split+0xe6/0x430 block/bio.c:1633 bio_split_rw+0x8bc/0xab0 block/blk-merge.c:333 __bio_split_to_limits+0x597/0xb30 block/blk-merge.c:366 blk_mq_submit_bio+0x7ce/0x2010 block/blk-mq.c:2973 __submit_bio+0x23e/0x2f0 block/blk-core.c:621 __submit_bio_noacct_mq block/blk-core.c:700 [inline] submit_bio_noacct_nocheck+0xb25/0xe10 block/blk-core.c:729 blk_next_bio+0x113/0x150 block/bio.c:355 __blkdev_issue_zero_pages+0x1d7/0x320 block/blk-lib.c:177 blkdev_issue_zeroout+0x29c/0x420 block/blk-lib.c:269 blkdev_fallocate+0x448/0x550 block/fops.c:810 vfs_fallocate+0x564/0x6c0 fs/open.c:330 ksys_fallocate fs/open.c:353 [inline] __do_sys_fallocate fs/open.c:361 [inline] __se_sys_fallocate fs/open.c:359 [inline] __x64_sys_fallocate+0xbd/0x110 fs/open.c:359 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f44e627dea9 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:00007f44e6f7d0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f44e63abf80 RCX: 00007f44e627dea9 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000005 RBP: 00007f44e62ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0400000000050000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f44e63abf80 R15: 00007ffd72a9da18