INFO: task syz-executor.3:1519 blocked for more than 143 seconds.
Not tainted 5.16.0-rc4-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:27408 pid: 1519 ppid: 1337 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
wb_wait_for_completion+0x17e/0x240 fs/fs-writeback.c:190
__writeback_inodes_sb_nr+0x1d7/0x280 fs/fs-writeback.c:2613
try_to_writeback_inodes_sb+0x94/0xc0 fs/fs-writeback.c:2661
ext4_nonda_switch+0x1aa/0x1f0 fs/ext4/inode.c:2911
ext4_da_write_begin+0x176/0xad0 fs/ext4/inode.c:2938
generic_perform_write+0x205/0x510 mm/filemap.c:3756
ext4_buffered_write_iter+0x1ac/0x3b0 fs/ext4/file.c:269
ext4_file_write_iter+0x423/0x14e0 fs/ext4/file.c:681
call_write_iter include/linux/fs.h:2162 [inline]
new_sync_write+0x429/0x660 fs/read_write.c:503
vfs_write+0x7cd/0xae0 fs/read_write.c:590
ksys_write+0x12d/0x250 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fea04de5e99
RSP: 002b:00007fea0375b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fea04ef8f60 RCX: 00007fea04de5e99
RDX: 00000000ffffff6a RSI: 0000000020000000 RDI: 0000000000000004
RBP: 00007fea04e40031 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcd867f88f R14: 00007fea0375b300 R15: 0000000000022000
INFO: task syz-executor.3:1529 blocked for more than 143 seconds.
Not tainted 5.16.0-rc4-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:29016 pid: 1529 ppid: 1337 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1151
__down_write_common kernel/locking/rwsem.c:1268 [inline]
__down_write_common kernel/locking/rwsem.c:1265 [inline]
__down_write kernel/locking/rwsem.c:1277 [inline]
down_write+0x135/0x150 kernel/locking/rwsem.c:1524
inode_lock include/linux/fs.h:783 [inline]
lock_two_nondirectories+0xec/0x110 fs/inode.c:1048
ext4_move_extents+0x369/0x3ee0 fs/ext4/move_extent.c:603
__ext4_ioctl+0x3a4e/0x4840 fs/ext4/ioctl.c:988
ext4_ioctl+0x46/0x90 fs/ext4/ioctl.c:1279
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl fs/ioctl.c:860 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fea04de5e99
RSP: 002b:00007fea03719168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fea04ef9100 RCX: 00007fea04de5e99
RDX: 0000000020000040 RSI: 00000000c028660f RDI: 0000000000000003
RBP: 00007fea04e40031 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcd867f88f R14: 00007fea03719300 R15: 0000000000022000
INFO: task syz-executor.3:1531 blocked for more than 144 seconds.
Not tainted 5.16.0-rc4-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:29016 pid: 1531 ppid: 1337 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1151
__down_write_common kernel/locking/rwsem.c:1268 [inline]
__down_write_common kernel/locking/rwsem.c:1265 [inline]
__down_write kernel/locking/rwsem.c:1277 [inline]
down_write+0x135/0x150 kernel/locking/rwsem.c:1524
inode_lock include/linux/fs.h:783 [inline]
lock_two_nondirectories+0xec/0x110 fs/inode.c:1048
ext4_move_extents+0x369/0x3ee0 fs/ext4/move_extent.c:603
__ext4_ioctl+0x3a4e/0x4840 fs/ext4/ioctl.c:988
ext4_ioctl+0x46/0x90 fs/ext4/ioctl.c:1279
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl fs/ioctl.c:860 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fea04de5e99
RSP: 002b:00007fea036f8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fea04ef91d0 RCX: 00007fea04de5e99
RDX: 0000000020001300 RSI: 00000000c028660f RDI: 0000000000000005
RBP: 00007fea04e40031 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcd867f88f R14: 00007fea036f8300 R15: 0000000000022000
Showing all locks held in the system:
2 locks held by kworker/u4:1/10:
1 lock held by khungtaskd/27:
#0: ffffffff8bb83d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
3 locks held by kworker/u4:2/44:
#0: ffff8880135e4138 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff8880135e4138 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff8880135e4138 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff8880135e4138 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff8880135e4138 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff8880135e4138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269
#1: ffffc9000114fdb0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273
#2: ffff88814aba8bd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: do_writepages+0x1ab/0x690 mm/page-writeback.c:2364
2 locks held by getty/3281:
#0: ffff88814a9e6098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
#1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113
1 lock held by syz-executor.0/1509:
#0: ffff88814aba8bd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: do_writepages+0x1ab/0x690 mm/page-writeback.c:2364
4 locks held by syz-executor.3/1519:
#0: ffff888019c7c5f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:994
#1: ffff88814aba6460 (sb_writers#4){.+.+}-{0:0}, at: ksys_write+0x12d/0x250 fs/read_write.c:643
#2: ffff88804c3a17e0 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
#2: ffff88804c3a17e0 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: ext4_buffered_write_iter+0xb6/0x3b0 fs/ext4/file.c:263
#3: ffff88814aba60e0 (&type->s_umount_key#29){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xc0 fs/fs-writeback.c:2658
2 locks held by syz-executor.3/1527:
2 locks held by syz-executor.3/1529:
#0: ffff88814aba6460 (sb_writers#4){.+.+}-{0:0}, at: __ext4_ioctl+0x2e30/0x4840 fs/ext4/ioctl.c:984
#1: ffff88804c3a17e0 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
#1: ffff88804c3a17e0 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: lock_two_nondirectories+0xec/0x110 fs/inode.c:1048
2 locks held by syz-executor.3/1531:
#0: ffff88814aba6460 (sb_writers#4){.+.+}-{0:0}, at: __ext4_ioctl+0x2e30/0x4840 fs/ext4/ioctl.c:984
#1: ffff88804c3a17e0 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
#1: ffff88804c3a17e0 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: lock_two_nondirectories+0xec/0x110 fs/inode.c:1048
2 locks held by syz-executor.4/1521:
#0: ffff88814aba6460 (sb_writers#4){.+.+}-{0:0}, at: __ext4_ioctl+0x112b/0x4840 fs/ext4/ioctl.c:1038
#1: ffff88814aba8bd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: do_writepages+0x1ab/0x690 mm/page-writeback.c:2364
1 lock held by syz-executor.4/1535:
#0: ffff88814aba8bd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: do_writepages+0x1ab/0x690 mm/page-writeback.c:2364
2 locks held by syz-executor.5/1523:
#0: ffff88814aba6460 (sb_writers#4){.+.+}-{0:0}, at: __ext4_ioctl+0x112b/0x4840 fs/ext4/ioctl.c:1038
#1: ffff88814aba8bd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: do_writepages+0x1ab/0x690 mm/page-writeback.c:2364
1 lock held by syz-executor.5/1533:
#0: ffff88814aba8bd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: do_writepages+0x1ab/0x690 mm/page-writeback.c:2364
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:295
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 22384 Comm: kworker/1:6 Not tainted 5.16.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:chacha_block_generic+0x8c/0x250 lib/crypto/chacha.c:83
Code: 65 48 8b 04 25 28 00 00 00 48 89 84 24 a8 00 00 00 31 c0 e8 f6 42 9c fd ba 40 00 00 00 4c 89 fe 48 8d 7c 24 30 e8 04 0a e3 fd <89> ee 48 8d 7c 24 30 e8 88 f8 ff ff 48 8d 6c 24 30 e8 ce 42 9c fd
RSP: 0018:ffffc90002d9fa38 EFLAGS: 00000002
RAX: ffffc90002d9fa68 RBX: ffffc90002d9fba8 RCX: 0000000000000000
RDX: 0000000000000040 RSI: ffff888010db8e40 RDI: ffffc90002d9faa8
RBP: 0000000000000014 R08: 0000000000000001 R09: ffffc90002d9faa7
R10: fffff520005b3f54 R11: 0000000000000000 R12: ffff888010db8e00
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888010db8e00
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000559c62db7680 CR3: 000000006d8e2000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
chacha20_block include/crypto/chacha.h:36 [inline]
_extract_crng+0x12f/0x250 drivers/char/random.c:1000
extract_crng drivers/char/random.c:1016 [inline]
_get_random_bytes+0x229/0x670 drivers/char/random.c:1538
nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:773 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:802 [inline]
nsim_dev_trap_report_work+0x73c/0xbc0 drivers/net/netdevsim/dev.c:843
process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
0: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax
7: 00 00
9: 48 89 84 24 a8 00 00 mov %rax,0xa8(%rsp)
10: 00
11: 31 c0 xor %eax,%eax
13: e8 f6 42 9c fd callq 0xfd9c430e
18: ba 40 00 00 00 mov $0x40,%edx
1d: 4c 89 fe mov %r15,%rsi
20: 48 8d 7c 24 30 lea 0x30(%rsp),%rdi
25: e8 04 0a e3 fd callq 0xfde30a2e
* 2a: 89 ee mov %ebp,%esi <-- trapping instruction
2c: 48 8d 7c 24 30 lea 0x30(%rsp),%rdi
31: e8 88 f8 ff ff callq 0xfffff8be
36: 48 8d 6c 24 30 lea 0x30(%rsp),%rbp
3b: e8 ce 42 9c fd callq 0xfd9c430e