INFO: task kworker/u4:5:18151 blocked for more than 143 seconds.
Not tainted 6.2.0-syzkaller-12944-ge492250d5252 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:5 state:D stack:23704 pid:18151 ppid:2 flags:0x00004000
Workqueue: loop1 loop_rootcg_workfn
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
__filemap_get_folio+0x44e/0xe50 mm/filemap.c:1936
shmem_get_folio_gfp+0x35a/0x36b0 mm/shmem.c:1877
shmem_get_folio mm/shmem.c:2068 [inline]
shmem_file_read_iter+0x279/0xa70 mm/shmem.c:2633
do_iter_read+0x71a/0xc70 fs/read_write.c:796
lo_read_simple drivers/block/loop.c:290 [inline]
do_req_filebacked drivers/block/loop.c:500 [inline]
loop_handle_cmd drivers/block/loop.c:1879 [inline]
loop_process_work+0xbda/0x2200 drivers/block/loop.c:1914
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 kworker/u4:12:18547 blocked for more than 143 seconds.
Not tainted 6.2.0-syzkaller-12944-ge492250d5252 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:12 state:D stack:23704 pid:18547 ppid:2 flags:0x00004000
Workqueue: loop1 loop_workfn
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
__filemap_get_folio+0x44e/0xe50 mm/filemap.c:1936
shmem_get_folio_gfp+0x35a/0x36b0 mm/shmem.c:1877
shmem_get_folio mm/shmem.c:2068 [inline]
shmem_write_begin+0x172/0x4f0 mm/shmem.c:2561
generic_perform_write+0x300/0x5e0 mm/filemap.c:3926
__generic_file_write_iter+0x17a/0x400 mm/filemap.c:4054
generic_file_write_iter+0xaf/0x310 mm/filemap.c:4086
do_iter_write+0x6ea/0xc50 fs/read_write.c:861
lo_write_bvec drivers/block/loop.c:249 [inline]
lo_write_simple drivers/block/loop.c:271 [inline]
do_req_filebacked drivers/block/loop.c:495 [inline]
loop_handle_cmd drivers/block/loop.c:1879 [inline]
loop_process_work+0x13ee/0x2200 drivers/block/loop.c:1914
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.1:443 blocked for more than 144 seconds.
Not tainted 6.2.0-syzkaller-12944-ge492250d5252 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:27304 pid:443 ppid:5103 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
migration_entry_wait_on_locked+0x842/0x1120 mm/filemap.c:1428
do_swap_page+0x221c/0x3c80 mm/memory.c:3690
handle_pte_fault mm/memory.c:4913 [inline]
__handle_mm_fault mm/memory.c:5051 [inline]
handle_mm_fault+0x1ec9/0x51c0 mm/memory.c:5197
do_user_addr_fault arch/x86/mm/fault.c:1407 [inline]
handle_page_fault arch/x86/mm/fault.c:1498 [inline]
exc_page_fault+0x685/0x8a0 arch/x86/mm/fault.c:1554
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7fcffd039425
RSP: 002b:00007ffc642d7500 EFLAGS: 00010206
RAX: 00000000b4353374 RBX: 00007fcffd1ac0e8 RCX: 0000001b32120000
RDX: ffffffff81fbc246 RSI: 0000001b32123eec RDI: 000000000921271d
RBP: 00000000b4353374 R08: 0000000000001374 R09: 00000000b4353378
R10: 00007ffc642d76c0 R11: 0000000000000246 R12: 00007fcffd1a0000
R13: 0000000000000001 R14: 0000000000000002 R15: ffffffff81fbc246
INFO: task syz-executor.1:444 blocked for more than 144 seconds.
Not tainted 6.2.0-syzkaller-12944-ge492250d5252 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:22816 pid:444 ppid:5103 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
bit_wait_io+0x12/0xc0 kernel/sched/wait_bit.c:209
__wait_on_bit kernel/sched/wait_bit.c:49 [inline]
out_of_line_wait_on_bit+0x251/0x3a0 kernel/sched/wait_bit.c:64
wait_on_bit_io include/linux/wait_bit.h:101 [inline]
__wait_on_buffer fs/buffer.c:123 [inline]
wait_on_buffer include/linux/buffer_head.h:388 [inline]
__sync_dirty_buffer+0x2f5/0x380 fs/buffer.c:2794
nilfs_sync_super fs/nilfs2/super.c:214 [inline]
nilfs_commit_super+0x6b2/0x950 fs/nilfs2/super.c:297
nilfs_set_error fs/nilfs2/super.c:100 [inline]
__nilfs_error+0x4ce/0x720 fs/nilfs2/super.c:137
nilfs_find_entry+0x4a9/0x510 fs/nilfs2/dir.c:372
nilfs_inode_by_name+0xa8/0x140 fs/nilfs2/dir.c:407
nilfs_lookup+0x72/0x110 fs/nilfs2/namei.c:62
__lookup_hash+0x117/0x240 fs/namei.c:1602
filename_create+0x291/0x530 fs/namei.c:3809
kern_path_create+0x39/0x180 fs/namei.c:3848
unix_bind_bsd net/unix/af_unix.c:1212 [inline]
unix_bind+0x2ff/0xf90 net/unix/af_unix.c:1315
__sys_bind+0x237/0x2e0 net/socket.c:1804
__do_sys_bind net/socket.c:1815 [inline]
__se_sys_bind net/socket.c:1813 [inline]
__x64_sys_bind+0x7a/0x90 net/socket.c:1813
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:0x7fcffd08c0f9
RSP: 002b:00007fcffdd54168 EFLAGS: 00000246 ORIG_RAX: 0000000000000031
RAX: ffffffffffffffda RBX: 00007fcffd1abf80 RCX: 00007fcffd08c0f9
RDX: 000000000000006e RSI: 00000000200001c0 RDI: 0000000000000004
RBP: 00007fcffd0e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc642d755f R14: 00007fcffdd54300 R15: 0000000000022000
INFO: task syz-executor.3:452 blocked for more than 144 seconds.
Not tainted 6.2.0-syzkaller-12944-ge492250d5252 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:24056 pid:452 ppid:5114 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
bit_wait_io+0x12/0xc0 kernel/sched/wait_bit.c:209
__wait_on_bit_lock+0xbd/0x1a0 kernel/sched/wait_bit.c:90
out_of_line_wait_on_bit_lock+0x1d4/0x250 kernel/sched/wait_bit.c:117
lock_buffer include/linux/buffer_head.h:400 [inline]
buffer_migrate_lock_buffers mm/migrate.c:705 [inline]
__buffer_migrate_folio+0x124/0x530 mm/migrate.c:751
move_to_new_folio+0x284/0x14d0 mm/migrate.c:978
migrate_folio_move mm/migrate.c:1289 [inline]
migrate_pages_batch mm/migrate.c:1821 [inline]
migrate_pages+0x4bd6/0x6610 mm/migrate.c:1973
compact_zone+0x2bc9/0x45a0 mm/compaction.c:2420
compact_node+0x216/0x420 mm/compaction.c:2717
compact_nodes mm/compaction.c:2730 [inline]
sysctl_compaction_handler+0xab/0x150 mm/compaction.c:2774
proc_sys_call_handler+0x545/0x8a0 fs/proc/proc_sysctl.c:604
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:0x7f05da48c0f9
RSP: 002b:00007f05db212168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f05da5abf80 RCX: 00007f05da48c0f9
RDX: 0000000000000002 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 00007f05da4e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe06d10acf R14: 00007f05db212300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d127c70 (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: ffffffff8d128470 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/28:
#0: ffffffff8d127aa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4752:
#0: ffff88814a3b9098 (&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
1 lock held by syz-executor.5/5102:
#0: ffff888075f12e98 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline]
#0: ffff888075f12e98 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1348 [inline]
#0: ffff888075f12e98 (&mm->mmap_lock){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1498 [inline]
#0: ffff888075f12e98 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x18d/0x8a0 arch/x86/mm/fault.c:1554
1 lock held by syz-executor.0/5104:
#0: ffff888078dedb98 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline]
#0: ffff888078dedb98 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1348 [inline]
#0: ffff888078dedb98 (&mm->mmap_lock){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1498 [inline]
#0: ffff888078dedb98 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x18d/0x8a0 arch/x86/mm/fault.c:1554
1 lock held by syz-executor.4/5118:
#0: ffff88807614c098 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline]
#0: ffff88807614c098 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1348 [inline]
#0: ffff88807614c098 (&mm->mmap_lock){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1498 [inline]
#0: ffff88807614c098 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x18d/0x8a0 arch/x86/mm/fault.c:1554
1 lock held by syz-executor.2/5121:
#0: ffff88807614ae98 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline]
#0: ffff88807614ae98 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1348 [inline]
#0: ffff88807614ae98 (&mm->mmap_lock){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1498 [inline]
#0: ffff88807614ae98 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x18d/0x8a0 arch/x86/mm/fault.c:1554
2 locks held by kworker/u4:5/18151:
#0: ffff88803ceb7138 ((wq_completion)loop1){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0
#1: ffffc90005297d20 ((work_completion)(&lo->rootcg_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365
4 locks held by kworker/u4:12/18547:
#0: ffff88803ceb7138 ((wq_completion)loop1){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0
#1: ffffc900154cfd20 ((work_completion)(&worker->work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365
#2: ffff88801662c460 (sb_writers#5){.+.+}-{0:0}, at: process_one_work+0x915/0x13a0 kernel/workqueue.c:2390
#3: ffff88802c27a838 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
#3: ffff88802c27a838 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: generic_file_write_iter+0x83/0x310 mm/filemap.c:4083
1 lock held by syz-executor.1/443:
#0: ffff8880387ac998 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline]
#0: ffff8880387ac998 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1348 [inline]
#0: ffff8880387ac998 (&mm->mmap_lock){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1498 [inline]
#0: ffff8880387ac998 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x18d/0x8a0 arch/x86/mm/fault.c:1554
3 locks held by syz-executor.1/444:
#0: ffff8880221d6460 (sb_writers#25){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff8880735382a8 (&type->i_mutex_dir_key#14/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
#1: ffff8880735382a8 (&type->i_mutex_dir_key#14/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3808
#2: ffff88803c04c090 (&nilfs->ns_sem){++++}-{3:3}, at: nilfs_set_error fs/nilfs2/super.c:92 [inline]
#2: ffff88803c04c090 (&nilfs->ns_sem){++++}-{3:3}, at: __nilfs_error+0x202/0x720 fs/nilfs2/super.c:137
2 locks held by syz-executor.3/452:
#0: ffff88801ed97268 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x254/0x2f0 fs/file.c:1046
#1: ffff88802c79a460 (sb_writers#3){.+.+}-{0:0}, at: vfs_write+0x26d/0xbb0 fs/read_write.c:580
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-syzkaller-12944-ge492250d5252 #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: 18545 Comm: kworker/u4:11 Not tainted 6.2.0-syzkaller-12944-ge492250d5252 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:rcu_read_lock_sched_held+0x0/0x130 kernel/rcu/update.c:120
Code: e8 b5 a5 43 09 0f 1f 44 00 00 f3 0f 1e fa e9 37 50 23 00 0f 1f 80 00 00 00 00 f3 0f 1e fa e9 b7 53 23 00 0f 1f 80 00 00 00 00 0f 1e fa 55 48 89 e5 41 57 41 56 41 54 53 48 83 e4 e0 48 83 ec
RSP: 0018:ffffc90015577ab8 EFLAGS: 00000202
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffff888025470000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e746de8
RBP: ffffc90015577be8 R08: dffffc0000000000 R09: fffffbfff1ce8dbe
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92002aaef64
R13: ffffffff8a892d05 R14: ffff888038e64c80 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00a500ca8 CR3: 000000000cf30000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
trace_lock_release include/trace/events/lock.h:69 [inline]
lock_release+0x10f/0xab0 kernel/locking/lockdep.c:5680
rcu_read_unlock include/linux/rcupdate.h:806 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
batadv_nc_worker+0x23d/0x5c0 net/batman-adv/network-coding.c:719
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