INFO: task syz-executor.4:5090 blocked for more than 143 seconds.
Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:18320 pid:5090 tgid:5090 ppid:1 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x1796/0x4a00 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6838
io_schedule+0x8d/0x110 kernel/sched/core.c:9044
TXN_SLEEP_DROP_LOCK fs/jfs/jfs_txnmgr.c:125 [inline]
txBegin+0x260/0xce0 fs/jfs/jfs_txnmgr.c:374
add_missing_indices fs/jfs/jfs_dtree.c:2627 [inline]
jfs_readdir+0x202e/0x4660 fs/jfs/jfs_dtree.c:3009
wrap_directory_iterator+0x94/0xe0 fs/readdir.c:67
iterate_dir+0x539/0x6f0 fs/readdir.c:110
__do_sys_getdents64 fs/readdir.c:409 [inline]
__se_sys_getdents64+0x20d/0x4f0 fs/readdir.c:394
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8d148a93a3
RSP: 002b:00007ffe147172f8 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 000055556f9029b0 RCX: 00007f8d148a93a3
RDX: 0000000000008000 RSI: 000055556f9029b0 RDI: 0000000000000006
RBP: 000055556f902984 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000001000 R11: 0000000000000293 R12: ffffffffffffffb0
R13: 0000000000000016 R14: 000055556f902980 R15: 0000000000000004
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by getty/4824:
#0: ffff88802f4690a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201
2 locks held by syz-executor.4/5090:
#0: ffff888028c2fc48 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x259/0x320 fs/file.c:1191
#1: ffff888059cdcf80 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: wrap_directory_iterator+0x5d/0xe0 fs/readdir.c:56
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xfde/0x1020 kernel/hung_task.c:380
kthread+0x2f0/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 11 Comm: kworker/u8:1 Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: bat_events batadv_purge_orig
RIP: 0010:mark_lock+0x149/0x350 kernel/locking/lockdep.c:4697
Code: 60 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 4a 24 84 00 41 bc 01 00 00 00 44 85 33 74 16 44 89 e0 48 83 c4 10 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 84 3c ff ff 85 c0 0f
RSP: 0018:ffffc90000107890 EFLAGS: 00000086
RAX: 0000000000000001 RBX: ffff88801769c6d8 RCX: ffffffff8172ecea
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92efb5d0
RBP: 0000000000000006 R08: ffffffff92efb5d7 R09: 1ffffffff25df6ba
R10: dffffc0000000000 R11: fffffbfff25df6bb R12: 0000000000000001
R13: dffffc0000000000 R14: 0000000000000040 R15: ffff88801769c6d8
FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056408c876fd0 CR3: 000000000e134000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
mark_held_locks kernel/locking/lockdep.c:4274 [inline]
__trace_hardirqs_on_caller kernel/locking/lockdep.c:4300 [inline]
lockdep_hardirqs_on_prepare+0x3a5/0x780 kernel/locking/lockdep.c:4359
trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61
__local_bh_enable_ip+0x168/0x200 kernel/softirq.c:387
spin_unlock_bh include/linux/spinlock.h:396 [inline]
batadv_purge_orig_ref+0x150a/0x1600 net/batman-adv/originator.c:1287
batadv_purge_orig+0x19/0x60 net/batman-adv/originator.c:1300
process_one_work kernel/workqueue.c:3254 [inline]
process_scheduled_works+0xa10/0x17c0 kernel/workqueue.c:3335
worker_thread+0x86d/0xd70 kernel/workqueue.c:3416
kthread+0x2f0/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244