INFO: task syz-executor.4:15497 blocked for more than 143 seconds.
Not tainted 6.5.0-syzkaller-01810-gf97e18a3f2fb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:27528 pid:15497 ppid:5054 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x1873/0x48f0 kernel/sched/core.c:6695
schedule+0xc3/0x180 kernel/sched/core.c:6771
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830
__mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799
__fdget_pos+0x2b0/0x340 fs/file.c:1064
fdget_pos include/linux/file.h:74 [inline]
__do_sys_getdents fs/readdir.c:318 [inline]
__se_sys_getdents+0x1c3/0x4c0 fs/readdir.c:307
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:0x7f8e5f27cae9
RSP: 002b:00007f8e5ff170c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004e
RAX: ffffffffffffffda RBX: 00007f8e5f39c050 RCX: 00007f8e5f27cae9
RDX: 0000000000000058 RSI: ffffffff81000000 RDI: 0000000000000007
RBP: 00007f8e5f2c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f8e5f39c050 R15: 00007ffc650b14e8
Showing all locks held in the system:
1 lock held by khungtaskd/28:
#0: ffffffff8d329fe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4779:
#0: ffff888029257098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900015d02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2187
3 locks held by syz-executor.4/15494:
1 lock held by syz-executor.4/15497:
#0: ffff888023e29c48 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2b0/0x340 fs/file.c:1064
1 lock held by syz-executor.5/17770:
#0: ffff888034da00e0 (&type->s_umount_key#54/1){+.+.}-{3:3}, at: alloc_super+0x217/0x920 fs/super.c:352
2 locks held by syz-executor.1/17788:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.5.0-syzkaller-01810-gf97e18a3f2fb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/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+0x187/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+0xdf2/0xe30 kernel/hung_task.c:379
kthread+0x2b8/0x350 kernel/kthread.c:389
ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145
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: 5871 Comm: kworker/u4:7 Not tainted 6.5.0-syzkaller-01810-gf97e18a3f2fb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Workqueue: btrfs-cache btrfs_work_helper
RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3261 [inline]
RIP: 0010:validate_chain kernel/locking/lockdep.c:3876 [inline]
RIP: 0010:__lock_acquire+0x4a98/0x7f70 kernel/locking/lockdep.c:5144
Code: 6e 02 00 00 49 8d 5f 10 48 89 d8 48 c1 e8 03 80 3c 10 00 74 12 48 89 df e8 c5 54 79 00 48 ba 00 00 00 00 00 fc ff df 4c 8b 33 <48> 8b 44 24 18 0f b6 04 10 84 c0 0f 85 57 01 00 00 48 8b 04 24 8b
RSP: 0018:ffffc900156373e0 EFLAGS: 00000046
RAX: 1ffffffff230d100 RBX: ffffffff91868800 RCX: ffffffff816ba477
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff906cb400
RBP: ffffc900156376a8 R08: ffffffff906cb407 R09: 1ffffffff20d9680
R10: dffffc0000000000 R11: fffffbfff20d9681 R12: ffff88807e0846b8
R13: 0000000000000000 R14: ffffffff903a9b50 R15: ffffffff918687f0
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c015022000 CR3: 000000007e9e9000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5761
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:351 [inline]
__clear_extent_bit+0x1b5/0xb10 fs/btrfs/extent-io-tree.c:596
clear_extent_bit fs/btrfs/extent-io-tree.h:146 [inline]
clear_extent_bits fs/btrfs/extent-io-tree.h:158 [inline]
btrfs_free_excluded_extents fs/btrfs/block-group.c:840 [inline]
caching_thread+0x1c83/0x1f90 fs/btrfs/block-group.c:909
btrfs_work_helper+0x380/0xbe0 fs/btrfs/async-thread.c:314
process_one_work+0x92c/0x12c0 kernel/workqueue.c:2600
worker_thread+0xa63/0x1210 kernel/workqueue.c:2751
kthread+0x2b8/0x350 kernel/kthread.c:389
ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304