INFO: task syz-executor.4:18592 blocked for more than 143 seconds.
Not tainted 6.8.0-rc5-syzkaller-00297-gf2e367d6ad3b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:25040 pid:18592 tgid:18587 ppid:13207 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0x177f/0x49a0 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6817
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a3/0xd70 kernel/locking/mutex.c:752
__fdget_pos+0x258/0x320 fs/file.c:1191
fdget_pos include/linux/file.h:74 [inline]
ksys_write+0x82/0x2c0 fs/read_write.c:634
do_syscall_64+0xf9/0x240
entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7fe27447dda9
RSP: 002b:00007fe2751190c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fe2745ac050 RCX: 00007fe27447dda9
RDX: 0000000000000090 RSI: 0000000020001a40 RDI: 0000000000000005
RBP: 00007fe2744ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fe2745ac050 R15: 00007ffdcbbc3098
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8e130c60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8e130c60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8e130c60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
1 lock held by udevd/4508:
#0: ffff8880b943c918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559
2 locks held by getty/4806:
#0: ffff88802b4130a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201
1 lock held by syz-executor.0/5084:
#0: ffffffff8e1365f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
#0: ffffffff8e1365f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:995
3 locks held by kworker/u5:0/16426:
#0: ffff88801f663d38 ((wq_completion)hci5){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#0: ffff88801f663d38 ((wq_completion)hci5){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#1: ffffc9001563fd20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#1: ffffc9001563fd20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#2: ffff888031679060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:305
3 locks held by syz-executor.4/18588:
1 lock held by syz-executor.4/18592:
#0: ffff888022bc60c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x258/0x320 fs/file.c:1191
2 locks held by syz-executor.2/20316:
#0: ffff8880375060e0 (&type->s_umount_key#69){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff8880375060e0 (&type->s_umount_key#69){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
#1: ffff8880258960e0 (&sbi->s_lock#2){+.+.}-{3:3}, at: exfat_sync_fs+0x6b/0x100 fs/exfat/super.c:56
2 locks held by syz-executor.2/20947:
#0: ffff8880375060e0 (&type->s_umount_key#69
){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
#1: ffff8880258960e0 (&sbi->s_lock#2){+.+.}-{3:3}, at: exfat_sync_fs+0x6b/0x100 fs/exfat/super.c:56
2 locks held by syz-executor.1/21276:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc5-syzkaller-00297-gf2e367d6ad3b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106
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:222 [inline]
watchdog+0xfaf/0xff0 kernel/hung_task.c:379
kthread+0x2ef/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 18588 Comm: syz-executor.4 Not tainted 6.8.0-rc5-syzkaller-00297-gf2e367d6ad3b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:match_held_lock+0x78/0xb0 kernel/locking/lockdep.c:5231
Code: c2 20 c3 93 92 48 29 d0 48 c1 f8 03 48 ba 29 5c 8f c2 f5 28 5c 8f 48 0f af d0 bd 01 00 00 00 48 39 ca 74 02 31 ed 89 e8 5b 5d cc cc cc cc 90 e8 cd 43 35 f9 85 c0 74 22 83 3d e2 19 26 04 00
RSP: 0018:ffffc9000397f450 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffff88802b7c4690 RCX: ffff88802b7c3b80
RDX: 0000000000000000 RSI: ffffffff8e130cc0 RDI: ffff88802b7c4690
RBP: 0000000000000002 R08: ffffffff8214bb08 R09: 1ffffffff1f08785
R10: dffffc0000000000 R11: fffffbfff1f08786 R12: 0000000000000246
R13: ffff88802b7c3b80 R14: 00000000ffffffff R15: ffffffff8e130cc0
FS: 00007fe27513a6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30f24000 CR3: 000000002f5ca000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lock_is_held kernel/locking/lockdep.c:5495 [inline]
lock_is_held_type+0xa8/0x190 kernel/locking/lockdep.c:5825
lock_is_held include/linux/lockdep.h:231 [inline]
__might_resched+0xa5/0x780 kernel/sched/core.c:10138
might_alloc include/linux/sched/mm.h:306 [inline]
bdev_getblk+0x8e/0x610 fs/buffer.c:1425
__bread_gfp+0xac/0x430 fs/buffer.c:1474
sb_bread include/linux/buffer_head.h:321 [inline]
__exfat_ent_get fs/exfat/fatent.c:48 [inline]
exfat_ent_get+0x14d/0x400 fs/exfat/fatent.c:97
exfat_readdir fs/exfat/dir.c:187 [inline]
exfat_iterate+0x1376/0x33e0 fs/exfat/dir.c:261
wrap_directory_iterator+0x94/0xe0 fs/readdir.c:67
iterate_dir+0x539/0x6f0 fs/readdir.c:110
__do_sys_getdents fs/readdir.c:326 [inline]
__se_sys_getdents+0x1ef/0x4d0 fs/readdir.c:311
do_syscall_64+0xf9/0x240
entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7fe27447dda9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe27513a0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004e
RAX: ffffffffffffffda RBX: 00007fe2745abf80 RCX: 00007fe27447dda9
RDX: 00000000000000d0 RSI: 000000002001fb80 RDI: 0000000000000005
RBP: 00007fe2744ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fe2745abf80 R15: 00007ffdcbbc3098