INFO: task kworker/u4:14:29142 blocked for more than 143 seconds.
Not tainted 6.6.0-rc6-next-20231018-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:14 state:D stack:24880 pid:29142 tgid:29142 ppid:2 flags:0x00004000
Workqueue: writeback wb_workfn (flush-7:1)
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0xee4/0x5a10 kernel/sched/core.c:6680
__schedule_loop kernel/sched/core.c:6757 [inline]
schedule+0xe7/0x270 kernel/sched/core.c:6772
io_schedule+0xbe/0x130 kernel/sched/core.c:8992
folio_wait_bit_common+0x3dc/0x9c0 mm/filemap.c:1273
folio_lock include/linux/pagemap.h:1014 [inline]
write_cache_pages+0x641/0xd80 mm/page-writeback.c:2441
do_writepages+0x2f6/0x690 mm/page-writeback.c:2558
__writeback_single_inode+0x163/0xe60 fs/fs-writeback.c:1608
writeback_sb_inodes+0x5a2/0x1090 fs/fs-writeback.c:1899
__writeback_inodes_wb+0xff/0x2d0 fs/fs-writeback.c:1970
wb_writeback+0x7fe/0xaa0 fs/fs-writeback.c:2077
wb_check_background_flush fs/fs-writeback.c:2147 [inline]
wb_do_writeback fs/fs-writeback.c:2235 [inline]
wb_workfn+0x86a/0xfd0 fs/fs-writeback.c:2262
process_one_work+0x8a2/0x15e0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784
kthread+0x33c/0x440 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
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8cbacbe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
#0: ffffffff8cbacbe0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
#0: ffffffff8cbacbe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613
2 locks held by getty/4811:
#0: ffff88814b6ab0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201
2 locks held by kworker/1:3/20239:
#0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x15e0 kernel/workqueue.c:2605
#1: ffffc900031a7d80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7f4/0x15e0 kernel/workqueue.c:2606
3 locks held by kworker/u4:14/29142:
#0: ffff888019271538 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x15e0 kernel/workqueue.c:2605
#1: ffffc90004a77d80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7f4/0x15e0 kernel/workqueue.c:2606
#2: ffff88808274a0e0 (&type->s_umount_key#106){++++}-{3:3}, at: super_trylock_shared+0x1e/0xf0 fs/super.c:610
1 lock held by syz-executor.5/29976:
2 locks held by syz-executor.4/30338:
3 locks held by syz-executor.1/9079:
2 locks held by syz-executor.0/10009:
#0: ffffffff8e602690 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
#1: ffffffff8e617a28 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0x94/0x3a0 net/ipv4/ip_tunnel.c:1139
3 locks held by syz-executor.5/10016:
#0: ffffffff8e602690 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
#1: ffffffff8e617a28 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0x94/0x3a0 net/ipv4/ip_tunnel.c:1139
#2: ffffffff8cbb8478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#2: ffffffff8cbb8478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x69e/0x7e0 kernel/rcu/tree_exp.h:996
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc6-next-20231018-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/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/0x380 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+0x33c/0x440 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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 9079 Comm: syz-executor.1 Not tainted 6.6.0-rc6-next-20231018-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:__filemap_get_folio+0x4d/0xa90 mm/filemap.c:1851
Code: 55 53 48 83 ec 28 48 89 44 24 18 48 c1 e8 03 48 01 c8 48 89 3c 24 48 89 74 24 08 48 89 44 24 20 e8 98 ed d0 ff 48 8b 74 24 08 <48> 8b 3c 24 e8 4a fb ff ff 31 ff 89 c5 48 89 c3 83 e5 01 89 ee e8
RSP: 0018:ffffc90016bef630 EFLAGS: 00000246
RAX: 0000000000040000 RBX: ffff88801b106478 RCX: ffffc9000a9aa000
RDX: 0000000000040000 RSI: 0000000000000006 RDI: ffff88801b106478
RBP: 0000000000000002 R08: 0000000000000005 R09: 000000000000003f
R10: 0000000000000002 R11: 1ffff1100f22b442 R12: 0000000000000001
R13: ffff88806fbe31d0 R14: 0000000000000000 R15: 000000000000000f
FS: 00007efeece7f6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb99e978038 CR3: 000000002cefe000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__find_get_block_slow fs/buffer.c:203 [inline]
__find_get_block fs/buffer.c:1406 [inline]
__find_get_block+0x170/0xc30 fs/buffer.c:1400
__getblk_slow+0x10c/0x6b0 fs/buffer.c:1134
bdev_getblk+0xad/0xc0 fs/buffer.c:1434
__getblk include/linux/buffer_head.h:358 [inline]
sb_getblk include/linux/buffer_head.h:364 [inline]
alloc_branch fs/minix/itree_common.c:88 [inline]
get_block+0x83d/0x1510 fs/minix/itree_common.c:197
minix_get_block+0xea/0x120 fs/minix/inode.c:395
__block_write_full_folio+0x307/0xdb0 fs/buffer.c:1864
block_write_full_page+0x399/0x530 fs/buffer.c:2755
writepage_cb+0x64/0x180 mm/page-writeback.c:2537
write_cache_pages+0x4a4/0xd80 mm/page-writeback.c:2474
do_writepages+0x2f6/0x690 mm/page-writeback.c:2558
filemap_fdatawrite_wbc mm/filemap.c:387 [inline]
filemap_fdatawrite_wbc+0x144/0x1b0 mm/filemap.c:377
__filemap_fdatawrite_range+0xba/0x100 mm/filemap.c:420
file_write_and_wait_range+0xcc/0x140 mm/filemap.c:778
__generic_file_fsync+0x79/0x1f0 fs/libfs.c:1396
generic_file_fsync+0x76/0x120 fs/libfs.c:1437
vfs_fsync_range fs/sync.c:188 [inline]
vfs_fsync fs/sync.c:202 [inline]
do_fsync fs/sync.c:212 [inline]
__do_sys_fdatasync fs/sync.c:225 [inline]
__se_sys_fdatasync fs/sync.c:223 [inline]
__x64_sys_fdatasync+0xd2/0x150 fs/sync.c:223
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7efeec07cae9
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:00007efeece7f0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004b
RAX: ffffffffffffffda RBX: 00007efeec19bf80 RCX: 00007efeec07cae9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007efeec0c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007efeec19bf80 R15: 00007ffd1c311068