INFO: task syz-executor180:4091 blocked for more than 143 seconds.
Not tainted 5.19.0-rc4-next-20220628-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor180 state:D stack:27352 pid: 4091 ppid: 3631 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5184 [inline]
__schedule+0xa09/0x4f10 kernel/sched/core.c:6496
schedule+0xd2/0x1f0 kernel/sched/core.c:6568
wb_wait_for_completion+0x17e/0x240 fs/fs-writeback.c:191
__writeback_inodes_sb_nr+0x1d7/0x280 fs/fs-writeback.c:2608
try_to_writeback_inodes_sb+0x94/0xc0 fs/fs-writeback.c:2656
ext4_nonda_switch+0x1aa/0x1f0 fs/ext4/inode.c:2934
ext4_da_write_begin+0x16d/0xad0 fs/ext4/inode.c:2961
generic_perform_write+0x244/0x560 mm/filemap.c:3734
ext4_buffered_write_iter+0x15b/0x330 fs/ext4/file.c:270
ext4_file_write_iter+0x43c/0x1520 fs/ext4/file.c:679
call_write_iter include/linux/fs.h:2188 [inline]
new_sync_write+0x315/0x4d0 fs/read_write.c:504
vfs_write+0x7c0/0xac0 fs/read_write.c:591
ksys_write+0x127/0x250 fs/read_write.c:644
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+0x46/0xb0
RIP: 0033:0x7f714a593ef9
RSP: 002b:00007f714a541308 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f714a61c4c8 RCX: 00007f714a593ef9
RDX: 00000000ffffff6a RSI: 0000000020000000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000012 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f714a61c4c0
R13: 00007f714a5e9688 R14: 0000000000000003 R15: 0000000000022000
INFO: task syz-executor180:4092 blocked for more than 143 seconds.
Not tainted 5.19.0-rc4-next-20220628-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor180 state:D stack:25776 pid: 4092 ppid: 3631 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5184 [inline]
__schedule+0xa09/0x4f10 kernel/sched/core.c:6496
schedule+0xd2/0x1f0 kernel/sched/core.c:6568
rwsem_down_write_slowpath+0x68a/0x11a0 kernel/locking/rwsem.c:1172
__down_write_common kernel/locking/rwsem.c:1287 [inline]
__down_write_common kernel/locking/rwsem.c:1284 [inline]
__down_write kernel/locking/rwsem.c:1296 [inline]
down_write_nested+0x139/0x150 kernel/locking/rwsem.c:1653
inode_lock_nested include/linux/fs.h:796 [inline]
lock_two_nondirectories+0xd1/0x110 fs/inode.c:1124
ext4_move_extents+0x369/0x4eb0 fs/ext4/move_extent.c:608
__ext4_ioctl+0x38e6/0x4440 fs/ext4/ioctl.c:1269
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856
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+0x46/0xb0
RIP: 0033:0x7f714a593ef9
RSP: 002b:00007f714a520308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f714a61c4d8 RCX: 00007f714a593ef9
RDX: 0000000020000180 RSI: 00000000c028660f RDI: 0000000000000024
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f714a61c4d0
R13: 00007f714a5e9688 R14: 00007f714a520400 R15: 0000000000022000
INFO: task syz-executor180:4093 blocked for more than 143 seconds.
Not tainted 5.19.0-rc4-next-20220628-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor180 state:D stack:27768 pid: 4093 ppid: 3631 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5184 [inline]
__schedule+0xa09/0x4f10 kernel/sched/core.c:6496
schedule+0xd2/0x1f0 kernel/sched/core.c:6568
rwsem_down_write_slowpath+0x68a/0x11a0 kernel/locking/rwsem.c:1172
__down_write_common kernel/locking/rwsem.c:1287 [inline]
__down_write_common kernel/locking/rwsem.c:1284 [inline]
__down_write kernel/locking/rwsem.c:1296 [inline]
down_write+0x135/0x150 kernel/locking/rwsem.c:1543
inode_lock include/linux/fs.h:761 [inline]
process_measurement+0x170b/0x1880 security/integrity/ima/ima_main.c:241
ima_file_check+0xac/0x100 security/integrity/ima/ima_main.c:517
do_open fs/namei.c:3522 [inline]
path_openat+0x161a/0x2930 fs/namei.c:3653
do_filp_open+0x1aa/0x400 fs/namei.c:3680
do_sys_openat2+0x16d/0x4c0 fs/open.c:1308
do_sys_open fs/open.c:1324 [inline]
__do_sys_openat fs/open.c:1340 [inline]
__se_sys_openat fs/open.c:1335 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1335
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+0x46/0xb0
RIP: 0033:0x7f714a593ef9
RSP: 002b:00007f714a4ff308 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f714a61c4e8 RCX: 00007f714a593ef9
RDX: 000000000000275a RSI: 0000000020000280 RDI: 00000000ffffff9c
RBP: 0000000000000000 R08: 00007f714a4ff700 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f714a61c4e0
R13: 00007f714a5e9688 R14: 00007f714a4ff400 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8bd864f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8bd861f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8bd87040 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491
2 locks held by getty/3286:
#0: ffff888026aae098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002d162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2177
3 locks held by kworker/u4:2/3657:
#0: ffff88814583c938 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff88814583c938 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff88814583c938 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff88814583c938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff88814583c938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff88814583c938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc9000331fda8 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffff8880259a6bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1ab/0x690 mm/page-writeback.c:2468
1 lock held by syz-executor180/4090:
#0: ffff8880259a6bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: do_writepages+0x1ab/0x690 mm/page-writeback.c:2468
4 locks held by syz-executor180/4091:
#0: ffff888077b165e8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe3/0x100 fs/file.c:1036
#1: ffff8880259a4460 (sb_writers#4){.+.+}-{0:0}, at: ksys_write+0x127/0x250 fs/read_write.c:644
#2: ffff8880761a4030 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:761 [inline]
#2: ffff8880761a4030 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x330 fs/ext4/file.c:264
#3: ffff8880259a40e0 (&type->s_umount_key#31){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xc0 fs/fs-writeback.c:2653
3 locks held by syz-executor180/4092:
#0: ffff8880259a4460 (sb_writers#4){.+.+}-{0:0}, at: __ext4_ioctl+0x2ce3/0x4440 fs/ext4/ioctl.c:1265
#1: ffff8880753a5440 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:761 [inline]
#1: ffff8880753a5440 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: lock_two_nondirectories+0xec/0x110 fs/inode.c:1122
#2: ffff8880761a4030 (&sb->s_type->i_mutex_key#9/4){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:796 [inline]
#2: ffff8880761a4030 (&sb->s_type->i_mutex_key#9/4){+.+.}-{3:3}, at: lock_two_nondirectories+0xd1/0x110 fs/inode.c:1124
2 locks held by syz-executor180/4093:
#0: ffff8880259a4460 (sb_writers#4){.+.+}-{0:0}, at: do_open fs/namei.c:3513 [inline]
#0: ffff8880259a4460 (sb_writers#4){.+.+}-{0:0}, at: path_openat+0x1b3c/0x2930 fs/namei.c:3653
#1: ffff8880761a4030 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:761 [inline]
#1: ffff8880761a4030 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: process_measurement+0x170b/0x1880 security/integrity/ima/ima_main.c:241
5 locks held by kworker/u4:4/4100:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc4-next-20220628-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+0x1e6/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xc18/0xf50 kernel/hung_task.c:369
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline]
NMI backtrace for cpu 0 skipped: idling at acpi_idle_do_entry+0x1c9/0x240 drivers/acpi/processor_idle.c:555