INFO: task kworker/u4:12:5950 blocked for more than 143 seconds.
Not tainted 6.2.0-syzkaller-13115-gee3f96b16468 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:12 state:D stack:21216 pid:5950 ppid:2 flags:0x00004000
Workqueue: writeback wb_workfn (flush-7:3)
Call Trace:
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0x17d8/0x4990 kernel/sched/core.c:6622
schedule+0xc3/0x180 kernel/sched/core.c:6698
io_schedule+0x8c/0x100 kernel/sched/core.c:8884
folio_wait_bit_common+0x86c/0x12b0 mm/filemap.c:1301
folio_lock include/linux/pagemap.h:952 [inline]
write_cache_pages+0x58f/0x1450 mm/page-writeback.c:2440
mpage_writepages+0x107/0x1d0 fs/mpage.c:653
do_writepages+0x3a6/0x670 mm/page-writeback.c:2551
__writeback_single_inode+0x1c4/0x15e0 fs/fs-writeback.c:1600
writeback_sb_inodes+0x92c/0x1360 fs/fs-writeback.c:1891
__writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:1962
wb_writeback+0x51c/0x1080 fs/fs-writeback.c:2067
wb_check_background_flush fs/fs-writeback.c:2133 [inline]
wb_do_writeback fs/fs-writeback.c:2221 [inline]
wb_workfn+0xd80/0x1100 fs/fs-writeback.c:2248
process_one_work+0x915/0x13a0 kernel/workqueue.c:2390
worker_thread+0xa63/0x1210 kernel/workqueue.c:2537
kthread+0x270/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task syz-executor.3:9533 blocked for more than 144 seconds.
Not tainted 6.2.0-syzkaller-13115-gee3f96b16468 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:26896 pid:9533 ppid:5115 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0x17d8/0x4990 kernel/sched/core.c:6622
schedule+0xc3/0x180 kernel/sched/core.c:6698
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757
rwsem_down_read_slowpath+0x5f4/0x950 kernel/locking/rwsem.c:1086
__down_read_common+0x61/0x2c0 kernel/locking/rwsem.c:1250
mmap_read_lock include/linux/mmap_lock.h:117 [inline]
do_user_addr_fault arch/x86/mm/fault.c:1358 [inline]
handle_page_fault arch/x86/mm/fault.c:1498 [inline]
exc_page_fault+0x558/0x8a0 arch/x86/mm/fault.c:1554
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7fbc2dc276f6
RSP: 002b:00007fff1db301f8 EFLAGS: 00010287
RAX: 0000001b32b26000 RBX: 00007fbc2ddac018 RCX: 0000001b32b20000
RDX: 0000001b32b26004 RSI: 0000001b32b2517c RDI: 000000006713e632
RBP: 000000006713e632 R08: 0000001b32f20000 R09: 000000006713e636
R10: 00007fff1db9b080 R11: 0000000000015602 R12: 00007fbc2dda0000
R13: 0000000000000001 R14: 0000000000014d91 R15: ffffffff81c0224d
INFO: task syz-executor.3:9535 blocked for more than 144 seconds.
Not tainted 6.2.0-syzkaller-13115-gee3f96b16468 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:23504 pid:9535 ppid:5115 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0x17d8/0x4990 kernel/sched/core.c:6622
schedule+0xc3/0x180 kernel/sched/core.c:6698
io_schedule+0x8c/0x100 kernel/sched/core.c:8884
folio_wait_bit_common+0x86c/0x12b0 mm/filemap.c:1301
folio_lock include/linux/pagemap.h:952 [inline]
write_cache_pages+0x58f/0x1450 mm/page-writeback.c:2440
mpage_writepages+0x107/0x1d0 fs/mpage.c:653
do_writepages+0x3a6/0x670 mm/page-writeback.c:2551
filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:390
__filemap_fdatawrite_range mm/filemap.c:423 [inline]
file_write_and_wait_range+0x20f/0x300 mm/filemap.c:781
__generic_file_fsync+0x72/0x190 fs/libfs.c:1132
generic_file_fsync+0x73/0xf0 fs/libfs.c:1173
generic_write_sync include/linux/fs.h:2452 [inline]
udf_file_write_iter+0x55b/0x660 fs/udf/file.c:126
call_write_iter include/linux/fs.h:1851 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x7b2/0xbb0 fs/read_write.c:584
ksys_write+0x1a0/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fbc2dc8c0f9
RSP: 002b:00007fbc2e972168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fbc2ddabf80 RCX: 00007fbc2dc8c0f9
RDX: 000000000208e24b RSI: 0000000020000080 RDI: 0000000000000004
RBP: 00007fbc2dce7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff1db3022f R14: 00007fbc2e972300 R15: 0000000000022000
INFO: task syz-executor.3:9560 blocked for more than 145 seconds.
Not tainted 6.2.0-syzkaller-13115-gee3f96b16468 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:26264 pid:9560 ppid:5115 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0x17d8/0x4990 kernel/sched/core.c:6622
schedule+0xc3/0x180 kernel/sched/core.c:6698
io_schedule+0x8c/0x100 kernel/sched/core.c:8884
folio_wait_bit_common+0x86c/0x12b0 mm/filemap.c:1301
folio_wait_writeback+0xec/0x1f0 mm/page-writeback.c:3127
migrate_folio_unmap mm/migrate.c:1192 [inline]
migrate_pages_batch mm/migrate.c:1685 [inline]
migrate_pages+0x2d50/0x6610 mm/migrate.c:1973
do_mbind mm/mempolicy.c:1338 [inline]
kernel_mbind mm/mempolicy.c:1485 [inline]
__do_sys_mbind mm/mempolicy.c:1559 [inline]
__se_sys_mbind+0x75a/0x9c0 mm/mempolicy.c:1555
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fbc2dc8c0f9
RSP: 002b:00007fbc2e951168 EFLAGS: 00000246 ORIG_RAX: 00000000000000ed
RAX: ffffffffffffffda RBX: 00007fbc2ddac050 RCX: 00007fbc2dc8c0f9
RDX: 0000000000000000 RSI: 0000000000800000 RDI: 0000000020001000
RBP: 00007fbc2dce7ae9 R08: 0000000000000000 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff1db3022f R14: 00007fbc2e951300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d127af0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d1282f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
2 locks held by kworker/1:1/26:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0
#1: ffffc90000a1fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365
1 lock held by khungtaskd/28:
#0: ffffffff8d127920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/1:2/1918:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0
#1: ffffc9000588fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365
2 locks held by getty/4746:
#0: ffff88802857a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177
2 locks held by kworker/1:5/5170:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0
#1: ffffc9000485fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365
2 locks held by kworker/1:6/5202:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0
#1: ffffc900048efd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365
2 locks held by kworker/1:7/5203:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0
#1: ffffc9000494fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365
2 locks held by kworker/1:8/5206:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0
#1: ffffc900049cfd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365
3 locks held by kworker/u4:12/5950:
#0: ffff8880175c3938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0
#1: ffffc9001554fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365
#2: ffff88802b4bc0e0 (&type->s_umount_key#51){++++}-{3:3}, at: trylock_super+0x1f/0xf0 fs/super.c:414
4 locks held by kworker/u4:14/6189:
#0: ffff888016612938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0
#1: ffffc900031bfd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365
#2: ffffffff8e289f90 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf5/0xb80 net/core/net_namespace.c:575
#3: ffffffff8d12cff8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#3: ffffffff8d12cff8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:989
1 lock held by syz-executor.3/9533:
#0: ffff88802991b798 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline]
#0: ffff88802991b798 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1358 [inline]
#0: ffff88802991b798 (&mm->mmap_lock){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1498 [inline]
#0: ffff88802991b798 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x558/0x8a0 arch/x86/mm/fault.c:1554
2 locks held by syz-executor.3/9535:
#0: ffff888029152fe8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x254/0x2f0 fs/file.c:1046
#1: ffff88802b4bc460 (sb_writers#13){.+.+}-{0:0}, at: vfs_write+0x26d/0xbb0 fs/read_write.c:580
1 lock held by syz-executor.3/9560:
#0: ffff88802991b798 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock include/linux/mmap_lock.h:71 [inline]
#0: ffff88802991b798 (&mm->mmap_lock){++++}-{3:3}, at: do_mbind mm/mempolicy.c:1312 [inline]
#0: ffff88802991b798 (&mm->mmap_lock){++++}-{3:3}, at: kernel_mbind mm/mempolicy.c:1485 [inline]
#0: ffff88802991b798 (&mm->mmap_lock){++++}-{3:3}, at: __do_sys_mbind mm/mempolicy.c:1559 [inline]
#0: ffff88802991b798 (&mm->mmap_lock){++++}-{3:3}, at: __se_sys_mbind+0x47d/0x9c0 mm/mempolicy.c:1555
5 locks held by syz-executor.3/9599:
2 locks held by kworker/u4:18/9700:
1 lock held by udevd/10649:
#0: ffff8880b983be98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539
3 locks held by kworker/1:10/10978:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0
#1: ffffc90003ebfd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365
#2: ffffffff8d12cff8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#2: ffffffff8d12cff8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:989
2 locks held by syz-executor.4/11183:
5 locks held by syz-executor.4/11186:
1 lock held by syz-executor.3/11179:
3 locks held by syz-executor.1/11182:
2 locks held by syz-executor.1/11184:
4 locks held by syz-executor.2/11187:
2 locks held by syz-executor.2/11190:
#0: ffffffff8e289f90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4af/0x790 net/core/net_namespace.c:486
#1: ffffffff8e296508 (rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x13/0x50 net/core/dev.c:10172
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-syzkaller-13115-gee3f96b16468 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e5/0x560 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x1b4/0x410 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0x1024/0x1070 kernel/hung_task.c:379
kthread+0x270/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 11182 Comm: syz-executor.1 Not tainted 6.2.0-syzkaller-13115-gee3f96b16468 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023
RIP: 0010:rcu_rdp_cpu_online kernel/rcu/tree.c:4048 [inline]
RIP: 0010:rcu_lockdep_current_cpu_online+0xac/0x120 kernel/rcu/tree.c:4082
Code: 42 80 3c 30 00 74 05 e8 d2 96 6d 00 4c 8b 7b 20 48 83 c3 18 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 b4 96 6d 00 <48> 8b 1b 48 83 c3 70 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48
RSP: 0018:ffffc900074ef160 EFLAGS: 00000246
RAX: 1ffff110173079b3 RBX: ffff8880b983cd98 RCX: 0000000080000002
RDX: 0000000000000000 RSI: ffffffff8b587760 RDI: ffff8880b983cda0
RBP: ffffc900074ef210 R08: dffffc0000000000 R09: fffffbfff1ce8da6
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000e9de4c
R13: dffffc0000000000 R14: dffffc0000000000 R15: 0000000000000001
FS: 00007fd802d46700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020159000 CR3: 0000000078a23000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_read_lock_held_common kernel/rcu/update.c:112 [inline]
rcu_read_lock_sched_held+0x78/0x130 kernel/rcu/update.c:123
trace_lock_acquire include/trace/events/lock.h:24 [inline]
lock_acquire+0x133/0x630 kernel/locking/lockdep.c:5640
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:350 [inline]
__dquot_alloc_space+0x299/0xf50 fs/quota/dquot.c:1672
dquot_reserve_block include/linux/quotaops.h:357 [inline]
ext4_da_reserve_space+0x104/0x670 fs/ext4/inode.c:1496
ext4_insert_delayed_block fs/ext4/inode.c:1688 [inline]
ext4_da_map_blocks fs/ext4/inode.c:1806 [inline]
ext4_da_get_block_prep+0x946/0x1460 fs/ext4/inode.c:1870
ext4_block_write_begin+0x650/0x1400 fs/ext4/inode.c:1097
ext4_da_write_begin+0x671/0xad0 fs/ext4/inode.c:3081
generic_perform_write+0x300/0x5e0 mm/filemap.c:3926
ext4_buffered_write_iter+0x122/0x3a0 fs/ext4/file.c:289
ext4_file_write_iter+0x1d6/0x1930
call_write_iter include/linux/fs.h:1851 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x7b2/0xbb0 fs/read_write.c:584
ksys_write+0x1a0/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fd80208c0f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fd802d46168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd8021abf80 RCX: 00007fd80208c0f9
RDX: 000000000208e24b RSI: 0000000020000140 RDI: 0000000000000003
RBP: 00007fd8020e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc223e8b0f R14: 00007fd802d46300 R15: 0000000000022000