INFO: task syz-executor.4:14215 blocked for more than 143 seconds.
Not tainted 6.6.0-rc7-syzkaller-00041-g611da07b89fd #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:22280 pid:14215 ppid:5069 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x196c/0x4af0 kernel/sched/core.c:6695
schedule+0xc3/0x180 kernel/sched/core.c:6771
io_schedule+0x8c/0x100 kernel/sched/core.c:9026
folio_wait_bit_common+0x881/0x12a0 mm/filemap.c:1301
folio_wait_writeback+0xe7/0x1e0 mm/page-writeback.c:3068
__filemap_fdatawait_range+0x17b/0x400 mm/filemap.c:525
filemap_write_and_wait_range+0x220/0x2c0 mm/filemap.c:687
direct_write_fallback+0xae/0x150 fs/libfs.c:1900
generic_file_write_iter+0xaf/0x310 mm/filemap.c:4090
call_write_iter include/linux/fs.h:1956 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x782/0xaf0 fs/read_write.c:584
ksys_write+0x1a0/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f757047cae9
RSP: 002b:00007f75712910c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f757059bf80 RCX: 00007f757047cae9
RDX: 0000000002007ffb RSI: 0000000020000040 RDI: 0000000000000004
RBP: 00007f75704c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f757059bf80 R15: 00007ffceaeb4b08
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8d32c460 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline]
#0: ffffffff8d32c460 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline]
#0: ffffffff8d32c460 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613
2 locks held by getty/4786:
#0: ffff88814ae030a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900015c72f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2206
3 locks held by syz-executor.4/14215:
#0: ffff88807cb91748 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2b0/0x340 fs/file.c:1064
#1: ffff88808c524410 (sb_writers#32){.+.+}-{0:0}, at: vfs_write+0x216/0xaf0 fs/read_write.c:580
#2: ffff88803bd7a918 (&sb->s_type->i_mutex_key#40){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
#2: ffff88803bd7a918 (&sb->s_type->i_mutex_key#40){+.+.}-{3:3}, at: generic_file_write_iter+0x83/0x310 mm/filemap.c:4087
2 locks held by syz-executor.0/16041:
#0: ffff88808c5240e0 (&type->s_umount_key#110){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88808c5240e0 (&type->s_umount_key#110){++++}-{3:3}, at: super_lock+0x176/0x390 fs/super.c:117
#1: ffff88808c524940 (&s->s_sync_lock){+.+.}-{3:3}, at: wait_sb_inodes fs/fs-writeback.c:2561 [inline]
#1: ffff88808c524940 (&s->s_sync_lock){+.+.}-{3:3}, at: sync_inodes_sb+0x335/0xb20 fs/fs-writeback.c:2744
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc7-syzkaller-00041-g611da07b89fd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/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+0x198/0x310 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xfa9/0xff0 kernel/hung_task.c:379
kthread+0x2d3/0x370 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 2914 Comm: kworker/u4:11 Not tainted 6.6.0-rc7-syzkaller-00041-g611da07b89fd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:444 [inline]
RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline]
RIP: 0010:rcu_is_watching+0x5e/0xb0 kernel/rcu/tree.c:699
Code: 03 42 80 3c 38 00 74 08 4c 89 f7 e8 9c 42 72 00 48 c7 c3 c8 6b 03 00 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38 84 c0 75 1e <8b> 03 65 ff 0d e1 2e 8d 7e 74 0c 83 e0 04 c1 e8 02 5b 41 5e 41 5f
RSP: 0018:ffffc9000c857a00 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff8880b9836bc8 RCX: ffffffff816d0594
RDX: 0000000000000000 RSI: ffffffff8b5986c0 RDI: ffffffff8b598680
RBP: ffffc9000c857b80 R08: ffffffff8e9969af R09: 1ffffffff1d32d35
R10: dffffc0000000000 R11: fffffbfff1d32d36 R12: 1ffff9200190af4c
R13: dffffc0000000000 R14: ffffffff8cca6940 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c000c00068 CR3: 000000000d130000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
trace_lock_acquire include/trace/events/lock.h:24 [inline]
lock_acquire+0xe3/0x520 kernel/locking/lockdep.c:5724
rcu_lock_acquire include/linux/rcupdate.h:303 [inline]
rcu_read_lock include/linux/rcupdate.h:749 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719
process_one_work kernel/workqueue.c:2630 [inline]
process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2703
worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784
kthread+0x2d3/0x370 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304