INFO: task syz-executor.3:1990 blocked for more than 143 seconds.
Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:22624 pid:1990 tgid:1986 ppid:5087 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0xf12/0x5c00 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0xe9/0x270 kernel/sched/core.c:6817
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874
rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline]
__down_write_common+0x948/0x1400 kernel/locking/rwsem.c:1306
filemap_invalidate_lock include/linux/fs.h:847 [inline]
blk_ioctl_zeroout block/ioctl.c:187 [inline]
blkdev_common_ioctl+0x1109/0x1cc0 block/ioctl.c:516
blkdev_ioctl+0x243/0x760 block/ioctl.c:630
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:871 [inline]
__se_sys_ioctl fs/ioctl.c:857 [inline]
__x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fa3e127cda9
RSP: 002b:00007fa3e203b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fa3e13ac050 RCX: 00007fa3e127cda9
RDX: 0000000020000000 RSI: 000000000000127f RDI: 000000000000000a
RBP: 00007fa3e12c947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fa3e13ac050 R15: 00007ffd6cedfa88
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8d1a9120 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8d1a9120 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8d1a9120 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
3 locks held by kworker/u4:8/2403:
2 locks held by getty/4806:
#0: ffff88802da490a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015d02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201
3 locks held by syz-fuzzer/5179:
#0: ffff88807e052420 (sb_writers#5){.+.+}-{0:0}, at: do_unlinkat+0x1cf/0x740 fs/namei.c:4381
#1: ffff88808aee0e00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:837 [inline]
#1: ffff88808aee0e00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_unlinkat+0x284/0x740 fs/namei.c:4385
#2: ffff88808a2b5e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
#2: ffff88808a2b5e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_unlink+0xd3/0x900 fs/namei.c:4323
2 locks held by syz-executor.4/1897:
1 lock held by syz-executor.4/1898:
2 locks held by kworker/u4:23/1970:
1 lock held by syz-executor.3/1990:
#0: ffff88801b4a70c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline]
#0: ffff88801b4a70c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:187 [inline]
#0: ffff88801b4a70c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1109/0x1cc0 block/ioctl.c:516
1 lock held by syz-executor.4/3531:
#0: ffff88801b4a70c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:857 [inline]
#0: ffff88801b4a70c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0x13a/0x5f0 mm/readahead.c:225
4 locks held by syz-executor.4/3536:
#0: ffff88807a685748 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe7/0x170 fs/file.c:1191
#1: ffff88807e052420 (sb_writers#5){.+.+}-{0:0}, at: ksys_write+0x12f/0x250 fs/read_write.c:643
#2: ffff88808a2b5e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
#2: ffff88808a2b5e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_dio_write_iter fs/ext4/file.c:530 [inline]
#2: ffff88808a2b5e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_file_write_iter+0xc87/0x1950 fs/ext4/file.c:696
#3: ffff88801b4a70c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:857 [inline]
#3: ffff88801b4a70c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0x13a/0x5f0 mm/readahead.c:225
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x277/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x299/0x300 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+0xf87/0x1210 kernel/hung_task.c:379
kthread+0x2c6/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 1970 Comm: kworker/u4:23 Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:lockdep_softirqs_on+0x15d/0x340 kernel/locking/lockdep.c:4496
Code: 26 09 48 b8 00 00 00 00 00 fc ff df 65 48 8b 2c 25 40 c2 03 00 48 8d bd a0 0a 00 00 48 89 fa 48 c1 ea 03 65 ff 05 7b f0 9a 7e <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e b4 01 00 00 48 8d bb 80 0a 00
RSP: 0018:ffffc90013ebfb08 EFLAGS: 00000002
RAX: dffffc0000000000 RBX: ffff88803c861dc0 RCX: 0000000000000000
RDX: 1ffff1100790c50c RSI: ffffffff8acca180 RDI: ffff88803c862860
RBP: ffff88803c861dc0 R08: 0000000000000000 R09: fffffbfff1e745a2
R10: ffffffff8f3a2d17 R11: 0000000000000002 R12: ffffffff8a55286e
R13: ffff88801a704c80 R14: ffff88802ac76e00 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c010f8bc00 CR3: 000000000cf78000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__local_bh_enable_ip+0xd3/0x120 kernel/softirq.c:369
spin_unlock_bh include/linux/spinlock.h:396 [inline]
batadv_nc_purge_paths+0x1ce/0x3c0 net/batman-adv/network-coding.c:471
batadv_nc_worker+0x97a/0x10e0 net/batman-adv/network-coding.c:720
process_one_work+0x886/0x15d0 kernel/workqueue.c:2633
process_scheduled_works kernel/workqueue.c:2706 [inline]
worker_thread+0x8b9/0x1290 kernel/workqueue.c:2787
kthread+0x2c6/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242