INFO: task syz.1.2508:20585 blocked for more than 143 seconds.
Not tainted 6.17.0-rc2-syzkaller-00028-gbe48bcf004f9 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.2508 state:D stack:20976 pid:20585 tgid:20525 ppid:19936 task_flags:0x440040 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5357 [inline]
__schedule+0x1798/0x4cc0 kernel/sched/core.c:6961
__schedule_loop kernel/sched/core.c:7043 [inline]
schedule+0x165/0x360 kernel/sched/core.c:7058
__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+0x8ca/0xd40 mm/readahead.c:512
filemap_readahead mm/filemap.c:2572 [inline]
filemap_get_pages+0xb22/0x1ea0 mm/filemap.c:2617
filemap_splice_read+0x581/0xc60 mm/filemap.c:2991
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
do_sendfile+0x4da/0x7e0 fs/read_write.c:1370
__do_sys_sendfile64 fs/read_write.c:1431 [inline]
__se_sys_sendfile64+0x13e/0x190 fs/read_write.c:1417
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:0x7f821138ebe9
RSP: 002b:00007f8212225038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f82115b6090 RCX: 00007f821138ebe9
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000006
RBP: 00007f8211411e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000800000009 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f82115b6128 R14: 00007f82115b6090 R15: 00007ffcc4a4bd38
INFO: task syz.1.2508:20587 blocked for more than 145 seconds.
Not tainted 6.17.0-rc2-syzkaller-00028-gbe48bcf004f9 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.2508 state:D stack:25648 pid:20587 tgid:20525 ppid:19936 task_flags:0x400140 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5357 [inline]
__schedule+0x1798/0x4cc0 kernel/sched/core.c:6961
__schedule_loop kernel/sched/core.c:7043 [inline]
schedule+0x165/0x360 kernel/sched/core.c:7058
io_schedule+0x80/0xd0 kernel/sched/core.c:7903
folio_wait_bit_common+0x6b0/0xb90 mm/filemap.c:1317
folio_lock include/linux/pagemap.h:1133 [inline]
truncate_inode_pages_range+0xa77/0xda0 mm/truncate.c:433
truncate_inode_pages mm/truncate.c:460 [inline]
truncate_pagecache mm/truncate.c:769 [inline]
truncate_setsize+0xcf/0xf0 mm/truncate.c:794
bchfs_truncate+0x622/0xc20 fs/bcachefs/fs-io.c:488
notify_change+0xb36/0xe40 fs/attr.c:552
do_truncate+0x1a4/0x220 fs/open.c:68
handle_truncate fs/namei.c:3508 [inline]
do_open fs/namei.c:3891 [inline]
path_openat+0x306c/0x3830 fs/namei.c:4046
do_filp_open+0x1fa/0x410 fs/namei.c:4073
do_sys_openat2+0x121/0x1c0 fs/open.c:1435
do_sys_open fs/open.c:1450 [inline]
__do_sys_open fs/open.c:1458 [inline]
__se_sys_open fs/open.c:1454 [inline]
__x64_sys_open+0x11e/0x150 fs/open.c:1454
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:0x7f821138ebe9
RSP: 002b:00007f82121e3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f82115b6270 RCX: 00007f821138ebe9
RDX: 0000000000000000 RSI: 000000000014927e RDI: 0000200000000180
RBP: 00007f8211411e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f82115b6308 R14: 00007f82115b6270 R15: 00007ffcc4a4bd38
INFO: lockdep is turned off.
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.17.0-rc2-syzkaller-00028-gbe48bcf004f9 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:328 [inline]
watchdog+0xf93/0xfe0 kernel/hung_task.c:491
kthread+0x711/0x8a0 kernel/kthread.c:463
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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 21875 Comm: syz-executor Not tainted 6.17.0-rc2-syzkaller-00028-gbe48bcf004f9 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:-1 [inline]
RIP: 0010:debug_check_no_obj_freed+0x212/0x470 lib/debugobjects.c:1129
Code: c0 0f 84 45 02 00 00 4d 89 fe 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df 41 80 3c 06 00 74 08 4c 89 ff e8 f1 da 52 fd 49 8b 07 <48> 89 44 24 18 4d 8d 67 18 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00
RSP: 0018:ffffc90003a7f420 EFLAGS: 00000046
RAX: ffff88807ce0f1f8 RBX: 0000000000000000 RCX: 1ffffffff33afe38
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90003a7f300
RBP: ffff88804de42000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff5200074fe60 R12: ffff88804de42000
R13: ffff88804de43000 R14: 1ffff1100c04f015 R15: ffff8880602780a8
FS: 000055558dc39500(0000) GS:ffff888125d1b000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055556e20d5c8 CR3: 000000005b6a3000 CR4: 0000000000350ef0
Call Trace:
free_pages_prepare mm/page_alloc.c:1402 [inline]
free_unref_folios+0x4da/0x1520 mm/page_alloc.c:2952
folios_put_refs+0x559/0x640 mm/swap.c:997
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x49e/0x14b0 mm/shmem.c:1157
shmem_truncate_range mm/shmem.c:1269 [inline]
shmem_evict_inode+0x272/0xa70 mm/shmem.c:1397
evict+0x504/0x9c0 fs/inode.c:810
__dentry_kill+0x209/0x660 fs/dcache.c:669
dput+0x19f/0x2b0 fs/dcache.c:911
__fput+0x68e/0xa70 fs/file_table.c:476
task_work_run+0x1d4/0x260 kernel/task_work.c:227
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop+0xec/0x110 kernel/entry/common.c:43
exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline]
do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f17b2f8d84a
Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 43 91 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 a3 91 02 00 8b 44 24
RSP: 002b:00007ffd7b8b3570 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f17b2f8d84a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007ffd7b8b35cc R08: 0000000000000000 R09: 00007ffd7b8b32d7
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000015
R13: 000055558dc4c590 R14: 0000000000119029 R15: 00007ffd7b8b3620