INFO: task syz-executor.5:29632 blocked for more than 143 seconds.
Not tainted 6.4.0-rc2-next-20230515-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:27976 pid:29632 ppid:5070 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x1d15/0x5790 kernel/sched/core.c:6669
schedule+0xde/0x1a0 kernel/sched/core.c:6745
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d2/0x200 kernel/locking/rwsem.c:1574
inode_lock include/linux/fs.h:775 [inline]
__blockdev_direct_IO+0x2263/0x3480 fs/direct-io.c:1134
blockdev_direct_IO include/linux/fs.h:2808 [inline]
reiserfs_direct_IO+0x10d/0x280 fs/reiserfs/inode.c:3243
generic_file_read_iter+0x248/0x5b0 mm/filemap.c:2787
call_read_iter include/linux/fs.h:1862 [inline]
generic_file_splice_read+0x182/0x4b0 fs/splice.c:419
do_splice_to+0x1b9/0x240 fs/splice.c:902
splice_direct_to_actor+0x2ab/0x8a0 fs/splice.c:973
do_splice_direct+0x1ab/0x280 fs/splice.c:1082
do_sendfile+0xb19/0x12c0 fs/read_write.c:1254
__do_sys_sendfile64 fs/read_write.c:1322 [inline]
__se_sys_sendfile64 fs/read_write.c:1308 [inline]
__x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1308
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:0x7f113a28c169
RSP: 002b:00007f113b005168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f113a3ac050 RCX: 00007f113a28c169
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007f113a2e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe8d03faaf R14: 00007f113b005300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c798530 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8c798230 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522
1 lock held by khungtaskd/28:
#0: ffffffff8c799140 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6559
2 locks held by getty/4759:
#0: ffff888028a27098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176
1 lock held by syz-executor.1/5051:
1 lock held by syz-executor.2/5061:
3 locks held by kworker/0:5/5115:
#0: ffff8880b983c5d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:558
#1: ffff8880b9828848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x950 kernel/sched/psi.c:995
#2: ffffffff91fe7ab0 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:1011 [inline]
#2: ffffffff91fe7ab0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0xcb/0x420 lib/debugobjects.c:1054
5 locks held by kworker/1:7/5116:
#0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
#0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline]
#0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
#0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2378
#1: ffffc900055ffdb0 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2382
#2: ffff88808dfd40e0 (&type->s_umount_key#76){++++}-{3:3}, at: flush_old_commits+0x7c/0x200 fs/reiserfs/super.c:97
#3: ffff88807e095890 (&jl->j_commit_mutex){+.+.}-{3:3}, at: reiserfs_mutex_lock_safe fs/reiserfs/reiserfs.h:814 [inline]
#3: ffff88807e095890 (&jl->j_commit_mutex){+.+.}-{3:3}, at: flush_commit_list.isra.0+0x226/0x1e70 fs/reiserfs/journal.c:1007
#4: ffff888028a31090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock_nested+0x69/0xe0 fs/reiserfs/lock.c:78
3 locks held by kworker/1:13/8154:
#0: ffff88807a9a1138 ((wq_completion)reiserfs/loop5){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff88807a9a1138 ((wq_completion)reiserfs/loop5){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff88807a9a1138 ((wq_completion)reiserfs/loop5){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
#0: ffff88807a9a1138 ((wq_completion)reiserfs/loop5){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline]
#0: ffff88807a9a1138 ((wq_completion)reiserfs/loop5){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
#0: ffff88807a9a1138 ((wq_completion)reiserfs/loop5){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2378
#1: ffffc900077b7db0 ((work_completion)(&(&journal->j_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2382
#2: ffff888028a31090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x79/0x100 fs/reiserfs/lock.c:27
3 locks held by syz-executor.5/29611:
2 locks held by syz-executor.5/29632:
#0: ffff88808dfd4460 (sb_writers#17){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1322 [inline]
#0: ffff88808dfd4460 (sb_writers#17){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1308 [inline]
#0: ffff88808dfd4460 (sb_writers#17){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1308
#1: ffff88808e380980 (&sb->s_type->i_mutex_key#24){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline]
#1: ffff88808e380980 (&sb->s_type->i_mutex_key#24){+.+.}-{3:3}, at: __blockdev_direct_IO+0x2263/0x3480 fs/direct-io.c:1134
2 locks held by syz-executor.0/31237:
2 locks held by syz-executor.5/31262:
1 lock held by syz-executor.3/31249:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc2-next-20230515-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/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+0x344/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: 31237 Comm: syz-executor.0 Not tainted 6.4.0-rc2-next-20230515-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200
Code: 26 b9 8e 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be a8 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1e fa 65 8b 05 0d 98 7f 7e 89 c1 48 8b 34 24 81 e1 00 01 00
RSP: 0018:ffffc900032af690 EFLAGS: 00000293
RAX: 0000000000000002 RBX: 0000000000030354 RCX: ffffffff81e1e9e6
RDX: ffff888022df8000 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 0000000000000006 R08: 0000000000000007 R09: 000000000007ffff
R10: 0000000000000006 R11: 0000000000094001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 000001900ba2b632
FS: 00007f0e16e92700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020177030 CR3: 000000001678d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__nr_to_section include/linux/mmzone.h:1837 [inline]
__pfn_to_section include/linux/mmzone.h:1945 [inline]
lookup_page_ext mm/page_ext.c:284 [inline]
page_ext_get+0x98/0x320 mm/page_ext.c:168
__reset_page_owner+0x2f/0x170 mm/page_owner.c:145
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1302 [inline]
free_unref_page_prepare+0x4dd/0xb90 mm/page_alloc.c:2600
free_unref_page_list+0xe3/0xa70 mm/page_alloc.c:2741
release_pages+0xcd8/0x1380 mm/swap.c:1042
__pagevec_release+0x77/0xe0 mm/swap.c:1062
pagevec_release include/linux/pagevec.h:63 [inline]
folio_batch_release include/linux/pagevec.h:132 [inline]
shmem_undo_range+0x583/0x1240 mm/shmem.c:954
shmem_truncate_range mm/shmem.c:1064 [inline]
shmem_evict_inode+0x32f/0xb60 mm/shmem.c:1179
evict+0x2ed/0x6b0 fs/inode.c:665
iput_final fs/inode.c:1747 [inline]
iput fs/inode.c:1773 [inline]
iput+0x4a7/0x7a0 fs/inode.c:1759
dentry_unlink_inode+0x2b1/0x460 fs/dcache.c:401
__dentry_kill+0x3c0/0x640 fs/dcache.c:607
dentry_kill fs/dcache.c:733 [inline]
dput+0x865/0xe10 fs/dcache.c:913
__fput+0x3cc/0xa90 fs/file_table.c:329
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:0x7f0e1603e01b
Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44
RSP: 002b:00007f0e16e91f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f0e1603e01b
RDX: ffffffffffffffb8 RSI: 00007f0e16e91fe0 RDI: 0000000000000003
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000005597
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002
R13: 00007f0e16e91fdc R14: 00007f0e16e926b8 R15: 0000000020005682