INFO: task syz-executor.4:17346 blocked for more than 143 seconds.
Not tainted 5.15.131-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:27008 pid:17346 ppid: 4986 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5026 [inline]
__schedule+0x12c4/0x4590 kernel/sched/core.c:6372
schedule+0x11b/0x1f0 kernel/sched/core.c:6455
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
inode_lock include/linux/fs.h:787 [inline]
vfs_unlink+0xe0/0x5f0 fs/namei.c:4198
do_unlinkat+0x49d/0x940 fs/namei.c:4277
do_coredump+0x2537/0x31e0 fs/coredump.c:737
get_signal+0xc06/0x14e0 kernel/signal.c:2875
arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208
irqentry_exit_to_user_mode+0x5/0x40 kernel/entry/common.c:314
exc_page_fault+0x342/0x740 arch/x86/mm/fault.c:1544
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568
RIP: 0033:0xaa
RSP: 002b:00000000200000b8 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f7a16667f80 RCX: 00007f7a16548ae9
RDX: 0000000000000000 RSI: 00000000200000b0 RDI: 0000000070040080
RBP: 00007f7a1659447a R08: 0000000020000140 R09: 0000000020000140
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 000000000000000b R14: 00007f7a16667f80 R15: 00007fffa4c8aba8
Showing all locks held in the system:
1 lock held by khungtaskd/26:
#0: ffffffff8c91f0e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3265:
#0: ffff888024b09098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc900022a32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
2 locks held by syz-fuzzer/3516:
#0: ffff888076dfd270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2cb/0x380 fs/file.c:1088
#1: ffff8880358921d8 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: iterate_dir+0x10a/0x570 fs/readdir.c:55
4 locks held by kworker/u4:5/3623:
#0: ffff888012a50138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc9000332fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
#2: ffff888024b66bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677
#3: ffff88814a918990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x12d5/0x1590 fs/jbd2/transaction.c:466
3 locks held by syz-executor.1/17301:
#0: ffff888024b64460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825
#1: ffff88802defabd0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff88802defabd0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262
#2: ffff888024b640e0 (&type->s_umount_key#32){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xb0 fs/fs-writeback.c:2707
3 locks held by syz-executor.1/17312:
#0: ffff888024b64460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825
#1: ffff88802defb5c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff88802defb5c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262
#2: ffff888024b640e0 (&type->s_umount_key#32){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xb0 fs/fs-writeback.c:2707
3 locks held by syz-executor.4/17320:
#0: ffff888024b64460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825
#1: ffff8880358949b8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff8880358949b8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262
#2: ffff888024b640e0 (&type->s_umount_key#32){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xb0 fs/fs-writeback.c:2707
3 locks held by syz-executor.4/17337:
#0: ffff888024b64460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825
#1: ffff888032537198 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff888032537198 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262
#2: ffff888024b640e0 (&type->s_umount_key#32){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xb0 fs/fs-writeback.c:2707
3 locks held by syz-executor.4/17346:
#0: ffff888024b64460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff8880358921d8 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:822 [inline]
#1: ffff8880358921d8 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: do_unlinkat+0x260/0x940 fs/namei.c:4260
#2: ffff888032537198 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#2: ffff888032537198 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: vfs_unlink+0xe0/0x5f0 fs/namei.c:4198
1 lock held by syz-executor.1/17378:
1 lock held by syz-executor.1/17379:
2 locks held by syz-executor.1/17382:
2 locks held by syz-executor.5/17385:
2 locks held by syz-executor.1/17386:
3 locks held by syz-executor.5/17387:
2 locks held by syz-executor.5/17390:
2 locks held by kworker/u4:3/17391:
#0: ffff8880b9b39718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
#1: ffff8880b9b27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891
2 locks held by syz-executor.1/17394:
3 locks held by syz-executor.5/17395:
1 lock held by syz-executor.1/17417:
2 locks held by syz-executor.5/17419:
1 lock held by syz-executor.0/17446:
3 locks held by syz-executor.3/17449:
3 locks held by syz-executor.0/17450:
2 locks held by syz-executor.3/17451:
2 locks held by syz-executor.3/17454:
1 lock held by syz-executor.0/17457:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.15.131-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/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: 17417 Comm: syz-executor.1 Not tainted 5.15.131-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:arch_atomic_try_cmpxchg arch/x86/include/asm/atomic.h:202 [inline]
RIP: 0010:arch_atomic_fetch_add_unless include/linux/atomic/atomic-arch-fallback.h:1177 [inline]
RIP: 0010:arch_atomic_add_unless include/linux/atomic/atomic-arch-fallback.h:1197 [inline]
RIP: 0010:atomic_add_unless include/linux/atomic/atomic-instrumented.h:571 [inline]
RIP: 0010:page_ref_add_unless include/linux/page_ref.h:166 [inline]
RIP: 0010:__page_cache_add_speculative include/linux/pagemap.h:238 [inline]
RIP: 0010:page_cache_get_speculative include/linux/pagemap.h:254 [inline]
RIP: 0010:find_get_entry+0x11b/0x280 mm/filemap.c:1992
Code: 00 31 ff 44 89 e6 e8 b4 e6 d7 ff 45 85 e4 0f 84 ec 00 00 00 44 89 74 24 04 41 8d 4c 24 01 45 31 f6 44 89 e0 f0 41 0f b1 4d 00 <40> 0f 94 c5 41 0f 94 c6 41 89 c4 bf 02 00 00 00 44 89 f6 e8 7d e5
RSP: 0018:ffffc90002fbee48 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffffea0005437680 RCX: 0000000000000003
RDX: ffff8880230b9dc0 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 1ffff920005f7de3 R08: ffffffff81a83a0c R09: fffff94000a86ed7
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002
R13: ffffea00054376b4 R14: 0000000000000000 R15: ffffc90002fbef00
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff71eebd5c CR3: 00000000238b3000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
find_get_pages_range_tag+0x241/0x500 mm/filemap.c:2272
pagevec_lookup_range_tag+0x37/0x80 mm/swap.c:1114
mpage_prepare_extent_to_map+0x399/0x1150 fs/ext4/inode.c:2578
ext4_writepages+0x1273/0x3d10 fs/ext4/inode.c:2815
do_writepages+0x481/0x730 mm/page-writeback.c:2364
filemap_fdatawrite_wbc+0x1d6/0x230 mm/filemap.c:400
__filemap_fdatawrite_range mm/filemap.c:433 [inline]
__filemap_fdatawrite mm/filemap.c:439 [inline]
filemap_flush+0x10c/0x150 mm/filemap.c:466
ext4_release_file+0x7d/0x300 fs/ext4/file.c:141
__fput+0x3bf/0x890 fs/file_table.c:280
task_work_run+0x129/0x1a0 kernel/task_work.c:164
exit_task_work include/linux/task_work.h:32 [inline]
do_exit+0x6a3/0x2480 kernel/exit.c:872
do_group_exit+0x144/0x310 kernel/exit.c:994
get_signal+0xc66/0x14e0 kernel/signal.c:2889
arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208
irqentry_exit_to_user_mode+0x5/0x40 kernel/entry/common.c:314
exc_page_fault+0x342/0x740 arch/x86/mm/fault.c:1544
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568
RIP: 0033:0x0
Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
RSP: 002b:00000000200000b8 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f2ffaf52f80 RCX: 00007f2ffae33ae9
RDX: 00000000200000c0 RSI: 00000000200000b0 RDI: 0000000070040080
RBP: 00007f2ffae7f47a R08: 0000000020000140 R09: 0000000020000140
R10: 0000000020000100 R11: 0000000000000202 R12: 0000000000000000
R13: 000000000000000b R14: 00007f2ffaf52f80 R15: 00007ffe62f2a778