INFO: task syz-executor.1:30193 blocked for more than 143 seconds.
Not tainted 5.16.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:27192 pid:30193 ppid: 3633 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:3754
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:0x7fdd23d7ce99
RSP: 002b:00007fdd226f2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fdd23e8ff60 RCX: 00007fdd23d7ce99
RDX: 00000000ffffff6a RSI: 0000000020000000 RDI: 0000000000000003
RBP: 00007fdd23dd6ff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdcd96ed0f R14: 00007fdd226f2300 R15: 0000000000022000
INFO: task syz-executor.1:30201 blocked for more than 143 seconds.
Not tainted 5.16.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:25080 pid:30201 ppid: 3633 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:0x7fdd23d7ce99
RSP: 002b:00007fdd226d1168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fdd23e90030 RCX: 00007fdd23d7ce99
RDX: 0000000020000180 RSI: 00000000c028660f RDI: 0000000000000004
RBP: 00007fdd23dd6ff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdcd96ed0f R14: 00007fdd226d1300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/26:
#0: ffffffff8bb83de0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
3 locks held by kworker/u4:4/1018:
#0: ffff888141dcb938 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888141dcb938 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888141dcb938 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff888141dcb938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff888141dcb938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff888141dcb938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269
#1: ffffc9000521fdb0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273
#2: ffff88814b92cbd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: do_writepages+0x1ab/0x690 mm/page-writeback.c:2364
2 locks held by getty/3279:
#0: ffff88807ec30098 (&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
4 locks held by syz-executor.1/30193:
#0: ffff88807dcad770 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:1034
#1: ffff88814b92a460 (sb_writers#5){.+.+}-{0:0}, at: ksys_write+0x12d/0x250 fs/read_write.c:643
#2: ffff88802aee35c8 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
#2: ffff88802aee35c8 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: ext4_buffered_write_iter+0xb6/0x3b0 fs/ext4/file.c:263
#3: ffff88814b92a0e0 (&type->s_umount_key#32){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xc0 fs/fs-writeback.c:2658
2 locks held by syz-executor.1/30201:
#0: ffff88814b92a460 (sb_writers#5){.+.+}-{0:0}, at: __ext4_ioctl+0x2e30/0x4840 fs/ext4/ioctl.c:984
#1: ffff88802aee35c8 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
#1: ffff88802aee35c8 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: lock_two_nondirectories+0xec/0x110 fs/inode.c:1048
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc5-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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5579 Comm: kworker/u4:11 Not tainted 5.16.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:438 [inline]
RIP: 0010:lock_is_held_type+0xe4/0x140 kernel/locking/lockdep.c:5681
Code: f6 47 22 03 0f 95 c0 45 31 ed 44 39 f0 41 0f 94 c5 48 c7 c7 60 0f ac 89 e8 a9 0d 00 00 b8 ff ff ff ff 65 0f c1 05 0c 29 bd 76 <83> f8 01 75 29 9c 58 f6 c4 02 75 3d 48 f7 04 24 00 02 00 00 74 01
RSP: 0018:ffffc9000439faf8 EFLAGS: 00000057
RAX: 0000000000000001 RBX: 0000000000000003 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000202 RDI: 0000000000000000
RBP: ffffffff8bb83d20 R08: 0000000000000000 R09: ffffffff8d915357
R10: fffffbfff1b22a6a R11: 0000000000000000 R12: ffff888048819d00
R13: 0000000000000000 R14: 00000000ffffffff R15: ffff88804881a7b0
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055eff1ddf680 CR3: 000000000b88e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_is_held include/linux/lockdep.h:283 [inline]
rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125
trace_lock_release include/trace/events/lock.h:58 [inline]
lock_release+0x522/0x720 kernel/locking/lockdep.c:5648
__raw_spin_unlock_bh include/linux/spinlock_api_smp.h:165 [inline]
_raw_spin_unlock_bh+0x12/0x30 kernel/locking/spinlock.c:210
spin_unlock_bh include/linux/spinlock.h:394 [inline]
batadv_nc_purge_paths+0x2a5/0x3a0 net/batman-adv/network-coding.c:475
batadv_nc_worker+0x8f9/0xfa0 net/batman-adv/network-coding.c:724
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: f6 47 22 03 testb $0x3,0x22(%rdi)
4: 0f 95 c0 setne %al
7: 45 31 ed xor %r13d,%r13d
a: 44 39 f0 cmp %r14d,%eax
d: 41 0f 94 c5 sete %r13b
11: 48 c7 c7 60 0f ac 89 mov $0xffffffff89ac0f60,%rdi
18: e8 a9 0d 00 00 callq 0xdc6
1d: b8 ff ff ff ff mov $0xffffffff,%eax
22: 65 0f c1 05 0c 29 bd xadd %eax,%gs:0x76bd290c(%rip) # 0x76bd2936
29: 76
* 2a: 83 f8 01 cmp $0x1,%eax <-- trapping instruction
2d: 75 29 jne 0x58
2f: 9c pushfq
30: 58 pop %rax
31: f6 c4 02 test $0x2,%ah
34: 75 3d jne 0x73
36: 48 f7 04 24 00 02 00 testq $0x200,(%rsp)
3d: 00
3e: 74 01 je 0x41