INFO: task syz-executor.3:28929 blocked for more than 144 seconds.
Not tainted 6.3.0-rc2-next-20230317-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:27488 pid:28929 ppid:5122 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5305 [inline]
__schedule+0x1d23/0x5650 kernel/sched/core.c:6623
schedule+0xde/0x1a0 kernel/sched/core.c:6699
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6758
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
eventpoll_release_file+0xe2/0x1d0 fs/eventpoll.c:962
eventpoll_release include/linux/eventpoll.h:53 [inline]
__fput+0x7da/0xa90 fs/file_table.c:312
task_work_run+0x16f/0x270 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f844523dfab
RSP: 002b:00007ffd30885450 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f844523dfab
RDX: 0000001b33020000 RSI: 00007f8444c0fc98 RDI: 0000000000000004
RBP: 00007f84453ad980 R08: 0000000000000000 R09: 000000006f737e80
R10: 00007ffd309c7090 R11: 0000000000000293 R12: 000000000026bf7d
R13: 00007ffd30885550 R14: 00007f84453ac050 R15: 0000000000000032
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c795830 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:516
1 lock held by rcu_tasks_trace/14:
#0:
ffffffff8c795530 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:516
1 lock held by khungtaskd/28:
#0: ffffffff8c796400 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6545
2 locks held by getty/4763:
#0: ffff88802c302098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177
1 lock held by syz-executor.3/28929:
#0: ffff888022878c68 (&ep->mtx){+.+.}-{3:3}, at: eventpoll_release_file+0xe2/0x1d0 fs/eventpoll.c:962
1 lock held by syz-executor.3/28930:
3 locks held by kworker/u4:37/29204:
#0: ffff8880b983c518 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:547 [inline]
#0: ffff8880b983c518 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x90/0x120 kernel/sched/core.c:532
#1: ffff88802050d3f0 (&mm->cid_lock#2){....}-{2:2}, at: mm_cid_get kernel/sched/sched.h:3280 [inline]
#1: ffff88802050d3f0 (&mm->cid_lock#2){....}-{2:2}, at: switch_mm_cid kernel/sched/sched.h:3302 [inline]
#1: ffff88802050d3f0 (&mm->cid_lock#2){....}-{2:2}, at: prepare_task_switch kernel/sched/core.c:5114 [inline]
#1: ffff88802050d3f0 (&mm->cid_lock#2){....}-{2:2}, at: context_switch kernel/sched/core.c:5256 [inline]
#1: ffff88802050d3f0 (&mm->cid_lock#2){....}-{2:2}, at: __schedule+0x2936/0x5650 kernel/sched/core.c:6623
#2: ffff888020a2e380 (&wb->work_lock){..-.}-{2:2}, at: spin_lock_irq include/linux/spinlock.h:375 [inline]
#2: ffff888020a2e380 (&wb->work_lock){..-.}-{2:2}, at: wb_wakeup_delayed+0x66/0xf0 mm/backing-dev.c:390
3 locks held by syz-executor.5/30123:
3 locks held by syz-executor.5/30161:
2 locks held by syz-executor.1/30121:
2 locks held by syz-executor.1/30160:
3 locks held by syz-executor.0/30126:
2 locks held by syz-executor.2/30148:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc2-next-20230317-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/0x300 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+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x33e/0x440 kernel/kthread.c:379
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: 30148 Comm: syz-executor.2 Not tainted 6.3.0-rc2-next-20230317-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:__lock_acquire+0x0/0x5df0 kernel/locking/lockdep.c:4930
Code: 8e e8 d4 f3 70 00 e9 46 ff ff ff 48 c7 c7 ec 79 78 8e e8 c3 f3 70 00 e9 58 fe ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 <41> 57 41 89 f2 45 89 cf 41 56 41 89 ce 41 55 41 54 55 89 d5 48 ba
RSP: 0000:ffffc9001832f338 EFLAGS: 00000006
RAX: 0000000000000000 RBX: 1ffff92003065e6e RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8c796400
RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000000000000
R10: fffffbfff1cf089a R11: 0000000000094001 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff8c796400
FS: 00007f18fa25c700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d941000 CR3: 000000002de63000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire.part.0+0x11c/0x370 kernel/locking/lockdep.c:5691
rcu_lock_acquire include/linux/rcupdate.h:327 [inline]
rcu_read_lock include/linux/rcupdate.h:773 [inline]
page_ext_get+0x3c/0x320 mm/page_ext.c:167
__set_page_owner+0x2a/0x60 mm/page_owner.c:194
prep_new_page mm/page_alloc.c:2472 [inline]
get_page_from_freelist+0xf75/0x2ab0 mm/page_alloc.c:4236
__alloc_pages+0x1cb/0x4a0 mm/page_alloc.c:5502
__folio_alloc+0x16/0x40 mm/page_alloc.c:5534
vma_alloc_folio+0x155/0x850 mm/mempolicy.c:2244
shmem_alloc_folio+0x119/0x1e0 mm/shmem.c:1557
shmem_alloc_and_acct_folio+0x15e/0x5d0 mm/shmem.c:1581
shmem_get_folio_gfp+0xa86/0x1a80 mm/shmem.c:1926
shmem_get_folio mm/shmem.c:2057 [inline]
shmem_write_begin+0x14a/0x380 mm/shmem.c:2663
generic_perform_write+0x256/0x570 mm/filemap.c:3921
__generic_file_write_iter+0x2ae/0x500 mm/filemap.c:4049
generic_file_write_iter+0xe3/0x350 mm/filemap.c:4081
call_write_iter include/linux/fs.h:1854 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x9f6/0xe20 fs/read_write.c:584
ksys_write+0x12b/0x250 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f18f943de7f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48
RSP: 002b:00007f18fa25bf10 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f18f943de7f
RDX: 00000000013bd7ef RSI: 00007f18efbff000 RDI: 0000000000000003
RBP: 00007f18efbff000 R08: 0000000000000000 R09: 00000000000054ee
R10: 00000000013bd7ef R11: 0000000000000293 R12: 0000000000000000
R13: 00007f18fa25bfdc R14: 00007f18fa25bfe0 R15: 0000000020005602