INFO: task syz-executor.0:10523 blocked for more than 143 seconds.
Not tainted 5.15.151-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:20600 pid:10523 ppid: 1 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5030 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
schedule+0x11b/0x1f0 kernel/sched/core.c:6459
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:789 [inline]
vfs_unlink+0xe0/0x5f0 fs/namei.c:4269
do_unlinkat+0x4a3/0x950 fs/namei.c:4348
__do_sys_unlink fs/namei.c:4396 [inline]
__se_sys_unlink fs/namei.c:4394 [inline]
__x64_sys_unlink+0x45/0x50 fs/namei.c:4394
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fe47a145557
RSP: 002b:00007fffa8173bf8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe47a145557
RDX: 00007fffa8173c20 RSI: 00007fffa8173cb0 RDI: 00007fffa8173cb0
RBP: 00007fffa8173cb0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000100 R11: 0000000000000206 R12: 00007fffa8174d70
R13: 00007fe47a1913b9 R14: 00007fe47a1a5618 R15: 0000000000000017
Showing all locks held in the system:
1 lock held by khungtaskd/26:
#0: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3265:
#0: ffff888025237098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc9000209b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
4 locks held by kworker/u4:7/12349:
3 locks held by kworker/u4:9/24189:
3 locks held by syz-executor.0/10523:
#0: ffff88814b3d6460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff88805a44b5c8 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
#1: ffff88805a44b5c8 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: do_unlinkat+0x266/0x950 fs/namei.c:4331
#2: ffff8880346a35c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline]
#2: ffff8880346a35c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: vfs_unlink+0xe0/0x5f0 fs/namei.c:4269
3 locks held by syz-executor.0/28539:
#0: ffff88814b3d6460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825
#1: ffff8880346a35c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline]
#1: ffff8880346a35c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262
#2: ffff88814b3d60e0 (&type->s_umount_key#32){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xb0 fs/fs-writeback.c:2729
2 locks held by syz-executor.3/28565:
1 lock held by syz-executor.4/28579:
3 locks held by syz-executor.2/28600:
1 lock held by syz-executor.4/28608:
3 locks held by syz-executor.3/28610:
3 locks held by syz-executor.4/28624:
3 locks held by syz-executor.2/28650:
2 locks held by syz-executor.1/28659:
2 locks held by syz-executor.3/28673:
3 locks held by syz-executor.3/28678:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.15.151-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
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: 28659 Comm: syz-executor.1 Not tainted 5.15.151-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
RIP: 0010:debug_lockdep_rcu_enabled+0x25/0x30 kernel/rcu/update.c:281
Code: cc cc cc cc cc 31 c0 83 3d 5b df c7 03 00 74 1d 83 3d d2 11 c8 03 00 74 14 65 48 8b 0d 04 c1 e6 75 31 c0 83 b9 ec 0a 00 00 00 <0f> 94 c0 c3 cc cc cc cc cc cc cc 41 56 53 89 fb e8 e6 0d 00 00 41
RSP: 0018:ffffc9000bbd6ce8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff888057f282c0 RCX: ffff8880161e8000
RDX: 0000000000000000 RSI: 000000000000003d RDI: 0000000000000041
RBP: ffff888057f284d0 R08: ffffffff842eb315 R09: fffff94000272d97
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0001396cc0
R13: dffffc0000000000 R14: 1ffff9200177adc8 R15: ffff8880729de880
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005628eafb5d68 CR3: 0000000019dc6000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
xa_entry include/linux/xarray.h:1182 [inline]
xas_find_marked+0x762/0x10e0 lib/xarray.c:1365
find_get_entry+0x6f/0x280 mm/filemap.c:1980
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_general_protection+0x358/0x4f0 arch/x86/kernel/traps.c:562
asm_exc_general_protection+0x22/0x30 arch/x86/include/asm/idtentry.h:562
RIP: 0033:0x7f435ebb1db1
Code: Unable to access opcode bytes at RIP 0x7f435ebb1d87.
RSP: 002b:00000000200004e0 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f435ece0050 RCX: 00007f435ebb1da9
RDX: 0000000020000500 RSI: 00000000200004e0 RDI: 0000000004002000
RBP: 00007f435ebfe47a R08: 0000000020000580 R09: 0000000020000580
R10: 0000000020000540 R11: 0000000000000206 R12: 0000000000000000
R13: 000000000000006e R14: 00007f435ece0050 R15: 00007fffcf5c2048