INFO: task syz-executor.2:29778 blocked for more than 143 seconds.
Not tainted 6.4.0-rc1-syzkaller-00109-gcc3c44c9fda2 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:24320 pid:29778 ppid:5031 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x187b/0x4900 kernel/sched/core.c:6669
schedule+0xc3/0x180 kernel/sched/core.c:6745
io_schedule+0x8c/0x100 kernel/sched/core.c:8979
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
wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline]
__lock_buffer fs/buffer.c:70 [inline]
lock_buffer include/linux/buffer_head.h:406 [inline]
__sync_dirty_buffer+0x120/0x380 fs/buffer.c:2807
__ext4_handle_dirty_metadata+0x2a6/0x820 fs/ext4/ext4_jbd2.c:387
ext4_convert_inline_data_nolock+0xaba/0xd80 fs/ext4/inline.c:1252
ext4_convert_inline_data+0x4da/0x620 fs/ext4/inline.c:2063
ext4_page_mkwrite+0x288/0x1290 fs/ext4/inode.c:6044
do_page_mkwrite+0x1a4/0x600 mm/memory.c:2931
wp_page_shared mm/memory.c:3280 [inline]
do_wp_page+0x501/0x3690 mm/memory.c:3362
handle_pte_fault mm/memory.c:4964 [inline]
__handle_mm_fault mm/memory.c:5089 [inline]
handle_mm_fault+0x2371/0x5860 mm/memory.c:5243
do_user_addr_fault arch/x86/mm/fault.c:1440 [inline]
handle_page_fault arch/x86/mm/fault.c:1534 [inline]
exc_page_fault+0x7d2/0x910 arch/x86/mm/fault.c:1590
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7fd21aa86cc5
RSP: 002b:00007fff230f6758 EFLAGS: 00010206
RAX: 00000000200000c0 RBX: 0000000000000000 RCX: 00000000004e455a
RDX: 0000000000000007 RSI: 000000005a4f5246 RDI: 00000000200000c0
RBP: 00007fff230f6818 R08: 00007fd21aa00000 R09: 00007fd21a600000
R10: 00007fd21a600ae0 R11: 000000000002d398 R12: 00000000000fa973
R13: 00007fff230f6840 R14: 00007fff230f6860 R15: 0000000000000032
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8cf27670 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8cf27a30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by khungtaskd/28:
#0: ffffffff8cf274a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4753:
#0: ffff88814a86a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176
1 lock held by syz-executor.0/5026:
#0: ffff88803285e0e0 (&type->s_umount_key#61){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361
2 locks held by syz-executor.3/5027:
#0: ffff888079afe0e0 (&type->s_umount_key#61){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361
#1: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#1: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992
1 lock held by syz-executor.1/5038:
#0: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#0: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:992
2 locks held by kworker/1:6/5091:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc9000486fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
2 locks held by kworker/1:10/5364:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc90005457d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
2 locks held by kworker/1:11/5365:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc90005377d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
2 locks held by kworker/1:15/5855:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc90015667d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
2 locks held by kworker/1:18/5858:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc90015757d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
2 locks held by kworker/1:19/5861:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc90015777d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
2 locks held by kworker/u4:11/6414:
2 locks held by kworker/1:24/7236:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc9000a4dfd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
2 locks held by kworker/1:26/7238:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc9000a50fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
2 locks held by kworker/1:29/9870:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc90016e67d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
2 locks held by kworker/1:30/9871:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc90016e17d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
2 locks held by kworker/1:2/26056:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc900038efd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
2 locks held by kworker/1:5/26057:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc9000393fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
4 locks held by syz-executor.2/29778:
#0: ffff88807cbc2568 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:161 [inline]
#0: ffff88807cbc2568 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1381 [inline]
#0: ffff88807cbc2568 (&mm->mmap_lock){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1534 [inline]
#0: ffff88807cbc2568 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x1b9/0x910 arch/x86/mm/fault.c:1590
#1: ffff888032264558 (sb_pagefaults#4){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1494 [inline]
#1: ffff888032264558 (sb_pagefaults#4){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1598 [inline]
#1: ffff888032264558 (sb_pagefaults#4){.+.+}-{0:0}, at: ext4_page_mkwrite+0x244/0x1290 fs/ext4/inode.c:6039
#2: ffff888036cf99a0 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:830 [inline]
#2: ffff888036cf99a0 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_page_mkwrite+0x27b/0x1290 fs/ext4/inode.c:6042
#3: ffff888036cf94c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#3: ffff888036cf94c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x3b6/0x620 fs/ext4/inline.c:2061
1 lock held by syz-executor.5/420:
#0: ffff888058daa0e0 (&type->s_umount_key#48/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc1-syzkaller-00109-gcc3c44c9fda2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x187/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+0xec2/0xf00 kernel/hung_task.c:379
kthread+0x2b8/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5038 Comm: syz-executor.1 Not tainted 6.4.0-rc1-syzkaller-00109-gcc3c44c9fda2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
RIP: 0010:validate_chain+0x0/0x58e0 kernel/locking/lockdep.c:3798
Code: d7 fa ff ff 48 c7 c1 d8 f5 55 8e 80 e1 07 80 c1 03 38 c1 7c 92 48 c7 c7 d8 f5 55 8e e8 79 7c 77 00 eb 84 e8 92 06 43 09 66 90 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48
RSP: 0018:ffffc90003bff330 EFLAGS: 00000082
RAX: 1ffffffff2003d1c RBX: ffffffff9001e8e0 RCX: 1a9d56bbb2326a9a
RDX: 0000000000000001 RSI: ffff88801a2d8ac8 RDI: ffff88801a2d8000
RBP: 1a9d56bbb2326a9a R08: dffffc0000000000 R09: fffffbfff2064e4d
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801a2d8000
R13: ffff88801a2d8000 R14: 0000000000000001 R15: ffff88801a2d8ae8
FS: 0000555556346400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c005691374 CR3: 000000002dbdc000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lock_acquire+0x1295/0x2000 kernel/locking/lockdep.c:5074
lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5691
rcu_lock_acquire+0x2e/0x40 include/linux/rcupdate.h:327
rcu_read_lock include/linux/rcupdate.h:773 [inline]
page_ext_get+0x1c/0x270 mm/page_ext.c:167
__page_table_check_zero+0x25/0x1c0 mm/page_table_check.c:136
page_table_check_free include/linux/page_table_check.h:46 [inline]
free_pages_prepare mm/page_alloc.c:1303 [inline]
free_unref_page_prepare+0x917/0xa30 mm/page_alloc.c:2564
free_unref_page_list+0x596/0x830 mm/page_alloc.c:2705
release_pages+0x2193/0x2470 mm/swap.c:1042
__pagevec_release+0x84/0x100 mm/swap.c:1062
pagevec_release include/linux/pagevec.h:63 [inline]
folio_batch_release include/linux/pagevec.h:132 [inline]
shmem_undo_range+0x6af/0x1ba0 mm/shmem.c:954
shmem_truncate_range mm/shmem.c:1049 [inline]
shmem_evict_inode+0x258/0x9f0 mm/shmem.c:1164
evict+0x2a4/0x620 fs/inode.c:665
__dentry_kill+0x436/0x650 fs/dcache.c:607
dentry_kill+0xbb/0x290
dput+0x1f3/0x420 fs/dcache.c:913
__fput+0x5e4/0x890 fs/file_table.c:329
task_work_run+0x24a/0x300 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:297
do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f9ddd48d5d7
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 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:00007fff69e0fef8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f9ddd48d5d7
RDX: 00007fff69e0ffc9 RSI: 000000000000000a RDI: 00007fff69e0ffc0
RBP: 00007fff69e0ffc0 R08: 00000000ffffffff R09: 00007fff69e0fd90
R10: 0000555556347873 R11: 0000000000000246 R12: 00007f9ddd4e6cdc
R13: 00007fff69e11080 R14: 0000555556347810 R15: 00007fff69e110c0