INFO: task syz-fuzzer:5061 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-fuzzer state:D stack:24464 pid:5061 tgid:5055 ppid:5053 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x950/0x13f0 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:793 [inline] vfs_unlink+0xd3/0x910 fs/namei.c:4327 do_unlinkat+0x5c0/0x750 fs/namei.c:4402 __do_sys_unlinkat fs/namei.c:4445 [inline] __se_sys_unlinkat fs/namei.c:4438 [inline] __x64_sys_unlinkat+0xc1/0x130 fs/namei.c:4438 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x40720e RSP: 002b:000000c000929638 EFLAGS: 00000202 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 000000000040720e RDX: 0000000000000000 RSI: 000000c001662340 RDI: 0000000000000014 RBP: 000000c000929678 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000034 R13: 000000c000e2a400 R14: 000000c0004bb860 R15: 000000c001315d00 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 1 lock held by klogd/4502: 2 locks held by getty/4815: #0: ffff88802ee300a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015d02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 3 locks held by syz-fuzzer/5061: #0: ffff88802f5da420 (sb_writers#5){.+.+}-{0:0}, at: do_unlinkat+0x1d3/0x750 fs/namei.c:4385 #1: ffff88805b5e5400 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:828 [inline] #1: ffff88805b5e5400 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_unlinkat+0x288/0x750 fs/namei.c:4389 #2: ffff88805b5e7200 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:793 [inline] #2: ffff88805b5e7200 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_unlink+0xd3/0x910 fs/namei.c:4327 4 locks held by syz-executor.0/10994: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #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+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/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+0xf86/0x1210 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10994 Comm: syz-executor.0 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:task_irq_context kernel/locking/lockdep.c:4607 [inline] RIP: 0010:__lock_acquire+0x365/0x3b30 kernel/locking/lockdep.c:5074 Code: 14 02 48 89 f0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 bd 10 00 00 48 8b 04 24 49 8d 7e 24 8b 54 24 08 83 b8 bc 0a 00 00 01 <44> 89 e0 83 d8 ff c1 e5 0f c1 e0 0d c1 e1 10 0f b7 ed 09 e8 81 e1 RSP: 0018:ffffc90003aa6668 EFLAGS: 00000097 RAX: ffff888058973c00 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffff8880589746bc RDI: ffff88805897479c RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000014 R11: 0000000000000004 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888058974778 R15: 00000000000000b7 FS: 00007ff6b4a276c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0b8e325580 CR3: 00000000656ce000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x540 kernel/locking/lockdep.c:5719 fs_reclaim_acquire mm/page_alloc.c:3709 [inline] fs_reclaim_acquire+0xca/0x150 mm/page_alloc.c:3700 might_alloc include/linux/sched/mm.h:303 [inline] prepare_alloc_pages.constprop.0+0x155/0x560 mm/page_alloc.c:4340 __alloc_pages+0x194/0x2410 mm/page_alloc.c:4558 alloc_pages_mpol+0x258/0x600 mm/mempolicy.c:2133 folio_alloc+0x1e/0xe0 mm/mempolicy.c:2211 filemap_alloc_folio+0x3ba/0x490 mm/filemap.c:984 page_cache_ra_unbounded+0x1aa/0x5f0 mm/readahead.c:247 do_page_cache_ra mm/readahead.c:299 [inline] page_cache_ra_order+0x7b7/0xa70 mm/readahead.c:544 do_sync_mmap_readahead mm/filemap.c:3153 [inline] filemap_fault+0x16a7/0x3570 mm/filemap.c:3245 __do_fault+0x10a/0x4a0 mm/memory.c:4396 do_read_fault mm/memory.c:4758 [inline] do_fault mm/memory.c:4888 [inline] do_pte_missing mm/memory.c:3745 [inline] handle_pte_fault mm/memory.c:5164 [inline] __handle_mm_fault+0x32c2/0x4920 mm/memory.c:5305 handle_mm_fault+0x476/0xa00 mm/memory.c:5470 faultin_page mm/gup.c:958 [inline] __get_user_pages+0x4b5/0x1490 mm/gup.c:1241 __get_user_pages_locked mm/gup.c:1509 [inline] __gup_longterm_locked+0x278/0x2ac0 mm/gup.c:2211 internal_get_user_pages_fast+0x1d42/0x2d30 mm/gup.c:3215 pin_user_pages_fast+0xa8/0x100 mm/gup.c:3321 iov_iter_extract_user_pages lib/iov_iter.c:1583 [inline] iov_iter_extract_pages+0x388/0x1750 lib/iov_iter.c:1646 __bio_iov_iter_get_pages block/bio.c:1271 [inline] bio_iov_iter_get_pages+0x33e/0xe30 block/bio.c:1349 iomap_dio_bio_iter+0xcf1/0x17b0 fs/iomap/direct-io.c:388 iomap_dio_iter fs/iomap/direct-io.c:501 [inline] __iomap_dio_rw+0xd83/0x1bd0 fs/iomap/direct-io.c:660 iomap_dio_rw+0x40/0xa0 fs/iomap/direct-io.c:749 ext4_dio_write_iter fs/ext4/file.c:577 [inline] ext4_file_write_iter+0x136b/0x1a40 fs/ext4/file.c:696 call_write_iter include/linux/fs.h:2108 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x6db/0x1100 fs/read_write.c:590 ksys_write+0x12f/0x260 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7ff6b3c7dda9 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:00007ff6b4a270c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007ff6b3dabf80 RCX: 00007ff6b3c7dda9 RDX: 000000000000f000 RSI: 0000000020000200 RDI: 0000000000000004 RBP: 00007ff6b3cca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000004d R14: 00007ff6b3dabf80 R15: 00007fff48918858