INFO: task syz.1.290:8639 blocked for more than 143 seconds.
Not tainted 6.16.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.290 state:D stack:17544 pid:8639 tgid:8638 ppid:5837 task_flags:0x440140 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5401 [inline]
__schedule+0x16a2/0x4cb0 kernel/sched/core.c:6790
__schedule_loop kernel/sched/core.c:6868 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6883
__bch2_two_state_lock+0x1ea/0x370 fs/bcachefs/two_state_shared_lock.c:7
bch2_two_state_lock fs/bcachefs/two_state_shared_lock.h:55 [inline]
bch2_readahead+0x94f/0x1100 fs/bcachefs/fs-io-buffered.c:296
read_pages+0x17a/0x580 mm/readahead.c:160
page_cache_ra_order+0xa24/0xc70 mm/readahead.c:515
filemap_get_pages+0x43c/0x1ea0 mm/filemap.c:2602
filemap_splice_read+0x4fc/0xbc0 mm/filemap.c:2990
do_splice_read fs/splice.c:979 [inline]
splice_direct_to_actor+0x4a9/0xcc0 fs/splice.c:1083
do_splice_direct_actor fs/splice.c:1201 [inline]
do_splice_direct+0x181/0x270 fs/splice.c:1227
vfs_copy_file_range+0xabc/0x1310 fs/read_write.c:1627
__do_sys_copy_file_range fs/read_write.c:1677 [inline]
__se_sys_copy_file_range+0x2fb/0x470 fs/read_write.c:1644
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f64b9f8e929
RSP: 002b:00007f64badc9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000146
RAX: ffffffffffffffda RBX: 00007f64ba1b5fa0 RCX: 00007f64b9f8e929
RDX: 000000000000000a RSI: 0000000000000000 RDI: 000000000000000c
RBP: 00007f64ba010b39 R08: 0000000000400000 R09: 0000000000000000
R10: 00002000000000c0 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f64ba1b5fa0 R15: 00007ffc48351ee8
INFO: task syz.1.290:8665 blocked for more than 144 seconds.
Not tainted 6.16.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.290 state:D stack:21208 pid:8665 tgid:8638 ppid:5837 task_flags:0x400040 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5401 [inline]
__schedule+0x16a2/0x4cb0 kernel/sched/core.c:6790
__schedule_loop kernel/sched/core.c:6868 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6883
io_schedule+0x81/0xe0 kernel/sched/core.c:7728
folio_wait_bit_common+0x6b0/0xb90 mm/filemap.c:1317
folio_lock include/linux/pagemap.h:1114 [inline]
invalidate_inode_pages2_range+0x557/0xa80 mm/truncate.c:690
bch2_write_invalidate_inode_pages_range+0xc5/0x110 fs/bcachefs/fs-io-pagecache.c:68
bch2_direct_write+0x2a62/0x2ce0 fs/bcachefs/fs-io-direct.c:662
bch2_write_iter+0x18f/0x2b90 fs/bcachefs/fs-io-buffered.c:1064
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x548/0xa90 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f64b9f8e929
RSP: 002b:00007f64bad87038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f64ba1b6160 RCX: 00007f64b9f8e929
RDX: 00000000175d9003 RSI: 0000200000000200 RDI: 0000000000000006
RBP: 00007f64ba010b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f64ba1b6160 R15: 00007ffc48351ee8
Showing all locks held in the system:
1 lock held by khungtaskd/31:
#0: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770
2 locks held by getty/5604:
#0: ffff88803126f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900036be2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
2 locks held by syz-executor/5838:
1 lock held by syz.1.290/8639:
#0: ffff8880573e99b0 (mapping.invalidate_lock#3){.+.+}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:934 [inline]
#0: ffff8880573e99b0 (mapping.invalidate_lock#3){.+.+}-{4:4}, at: page_cache_ra_order+0x445/0xc70 mm/readahead.c:491
3 locks held by syz.1.290/8665:
#0: ffff888034708478 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x247/0x320 fs/file.c:1217
#1: ffff88802a196428 (sb_writers#14){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3096 [inline]
#1: ffff88802a196428 (sb_writers#14){.+.+}-{0:0}, at: vfs_write+0x211/0xa90 fs/read_write.c:682
#2: ffff8880573e9810 (&sb->s_type->i_mutex_key#22){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline]
#2: ffff8880573e9810 (&sb->s_type->i_mutex_key#22){+.+.}-{4:4}, at: bch2_direct_write+0x192/0x2ce0 fs/bcachefs/fs-io-direct.c:613
5 locks held by syz-executor/10283:
#0: ffff8880346b4dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:499 [inline]
#0: ffff8880346b4dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510 net/bluetooth/hci_core.c:2717
#1: ffff8880346b40b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330 net/bluetooth/hci_sync.c:5282
#2: ffffffff8f672cc8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2068 [inline]
#2: ffffffff8f672cc8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x230 net/bluetooth/hci_conn.c:2560
#3: ffff888053afbb38 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x70/0x680 net/bluetooth/l2cap_core.c:1762
#4: ffffffff8e144978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline]
#4: ffffffff8e144978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:998
1 lock held by syz-executor/10305:
3 locks held by syz.0.516/11001:
#0: ffff88807eaa8dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:499 [inline]
#0: ffff88807eaa8dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510 net/bluetooth/hci_core.c:2717
#1: ffff88807eaa80b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330 net/bluetooth/hci_sync.c:5282
#2: ffffffff8e144978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline]
#2: ffffffff8e144978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730 kernel/rcu/tree_exp.h:998
3 locks held by syz.2.517/11039:
#0: ffff888048428dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:499 [inline]
#0: ffff888048428dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510 net/bluetooth/hci_core.c:2717
#1: ffff8880484280b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330 net/bluetooth/hci_sync.c:5282
#2: ffffffff8f672cc8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2068 [inline]
#2: ffffffff8f672cc8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x230 net/bluetooth/hci_conn.c:2560
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc5-syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline]
watchdog+0xfee/0x1030 kernel/hung_task.c:470
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 11066 Comm: sed Not tainted 6.16.0-rc5-syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:check_preemption_disabled+0x63/0x120 lib/smp_processor_id.c:19
Code: 08 0f 85 cc 00 00 00 48 83 c4 10 5b 41 5e 41 5f 5d c3 cc cc cc cc cc 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 <74> c8 65 4c 8b 3c 25 08 f0 9c 92 41 f6 47 2f 04 74 0a 41 83 bf 18
RSP: 0000:ffffc90003f7fc48 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000080000000
RDX: 0000000000000000 RSI: ffffffff8db707c4 RDI: ffffffff8be1c200
RBP: ffffffff8173a199 R08: 0000000000000000 R09: ffffffff8173a199
R10: dffffc0000000000 R11: fffff520007effb0 R12: 0000000000000001
R13: ffff88804658d588 R14: 0000000000000001 R15: 0000000000000246
FS: 0000000000000000(0000) GS:ffff888125c51000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8360949008 CR3: 0000000075c0c000 CR4: 00000000003526f0
Call Trace:
lockdep_recursion_finish kernel/locking/lockdep.c:473 [inline]
lock_acquire+0x130/0x360 kernel/locking/lockdep.c:5873
vma_start_read include/linux/mmap_lock.h:185 [inline]
lock_vma_under_rcu+0x355/0x710 mm/mmap_lock.c:147
do_user_addr_fault+0x2d9/0x1390 arch/x86/mm/fault.c:1327
handle_page_fault arch/x86/mm/fault.c:1476 [inline]
exc_page_fault+0x76/0xf0 arch/x86/mm/fault.c:1532
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7f83609595ca
Code: 14 cd 02 00 4c 8d 2d fb 36 02 00 48 c1 e3 03 48 8d 05 5a 1a 02 00 4c 89 35 eb f4 02 00 c7 05 e1 cc 02 00 00 00 00 00 4d 89 37 <4d> 89 6e 08 49 c7 46 10 00 00 00 00 49 89 46 18 49 c7 46 20 07 00
RSP: 002b:00007fff2be84760 EFLAGS: 00010206
RAX: 00007f836097b010 RBX: 0000000000000050 RCX: 00007f83609490a0
RDX: 0000000000000003 RSI: 0000000000001100 RDI: 0000000000000020
RBP: 00007fff2be847a0 R08: 00007f8360987400 R09: 0000000000000000
R10: 0000000000000022 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f836097cca6 R14: 00007f8360949000 R15: 00007f8360989f50