INFO: task kworker/0:6:5908 blocked for more than 143 seconds. Tainted: G W 6.17.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:6 state:D stack:18536 pid:5908 tgid:5908 ppid:2 task_flags:0x4208060 flags:0x00004000 Workqueue: events_long bch2_fs_read_only_work Call Trace: context_switch kernel/sched/core.c:5357 [inline] __schedule+0x16f3/0x4c20 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] rt_mutex_schedule+0x77/0xf0 kernel/sched/core.c:7339 rt_mutex_slowlock_block kernel/locking/rtmutex.c:1647 [inline] __rt_mutex_slowlock kernel/locking/rtmutex.c:1721 [inline] __rt_mutex_slowlock_locked+0x1e04/0x25e0 kernel/locking/rtmutex.c:1760 rt_mutex_slowlock+0xb5/0x160 kernel/locking/rtmutex.c:1800 __rt_mutex_lock kernel/locking/rtmutex.c:1815 [inline] rwbase_write_lock+0x14f/0x750 kernel/locking/rwbase_rt.c:244 bch2_fs_read_only_work+0x25/0x40 fs/bcachefs/super.c:408 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 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 INFO: task syz.1.244:7934 blocked for more than 143 seconds. Tainted: G W 6.17.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.244 state:D stack:27544 pid:7934 tgid:7913 ppid:5833 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5357 [inline] __schedule+0x16f3/0x4c20 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0x165/0x360 kernel/sched/core.c:7058 __closure_sync+0x163/0x220 lib/closure.c:146 closure_sync include/linux/closure.h:195 [inline] bch2_dev_allocator_remove+0x7ad/0x9c0 fs/bcachefs/alloc_background.c:2651 __bch2_dev_read_only fs/bcachefs/super.c:1705 [inline] __bch2_dev_offline+0x2a1/0x5c0 fs/bcachefs/super.c:1413 bch2_dev_offline+0x354/0x4b0 fs/bcachefs/super.c:2130 bch2_ioctl_disk_offline+0x114/0x2a0 fs/bcachefs/chardev.c:269 bch2_fs_ioctl+0xb1f/0x1920 fs/bcachefs/chardev.c:734 bch2_fs_file_ioctl+0x564/0x1dd0 fs/bcachefs/fs-ioctl.c:411 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:584 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:0x7fb20cedebe9 RSP: 002b:00007fb20b125038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb20d106090 RCX: 00007fb20cedebe9 RDX: 00002000000000c0 RSI: 000000004010bc07 RDI: 0000000000000004 RBP: 00007fb20cf61e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb20d106128 R14: 00007fb20d106090 R15: 00007ffe23313368 INFO: lockdep is turned off. NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 38 Comm: khungtaskd Tainted: G W 6.17.0-rc2-syzkaller #0 PREEMPT_{RT,(full)} Tainted: [W]=WARN 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 9967 Comm: udevd Tainted: G W 6.17.0-rc2-syzkaller #0 PREEMPT_{RT,(full)} Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:kasan_check_range+0x5/0x2c0 mm/kasan/generic.c:188 Code: 21 8d e8 ee 36 0a ff 90 0f 0b cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 <41> 57 41 56 41 55 41 54 53 b0 01 48 85 f6 0f 84 ba 01 00 00 4c 8d RSP: 0018:ffffc900061df3c8 EFLAGS: 00000246 RAX: ffffffff81f983ef RBX: ffffea000181afc0 RCX: ffffffff81f98406 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffea000181afc0 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff940003035f9 R12: dffffc0000000000 R13: 1ffffd40003035f9 R14: 0000000000000000 R15: ffffea000181afc8 FS: 00007f2749315880(0000) GS:ffff8881268c5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f27489b7000 CR3: 000000006626e000 CR4: 00000000003526f0 Call Trace: instrument_write include/linux/instrumented.h:40 [inline] ___clear_bit include/asm-generic/bitops/instrumented-non-atomic.h:44 [inline] __folio_clear_lru include/linux/page-flags.h:558 [inline] __folio_clear_lru_flags include/linux/mm_inline.h:70 [inline] __page_cache_release+0x666/0x9d0 mm/swap.c:79 folios_put_refs+0x387/0x670 mm/swap.c:982 free_pages_and_swap_cache+0x4be/0x520 mm/swap_state.c:267 __tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline] tlb_batch_pages_flush mm/mmu_gather.c:149 [inline] tlb_flush_mmu_free mm/mmu_gather.c:397 [inline] tlb_flush_mmu+0x3a0/0x680 mm/mmu_gather.c:404 tlb_finish_mmu+0xc3/0x1d0 mm/mmu_gather.c:497 vms_clear_ptes+0x42c/0x540 mm/vma.c:1235 vms_complete_munmap_vmas+0x206/0x8a0 mm/vma.c:1277 do_vmi_align_munmap+0x369/0x440 mm/vma.c:1536 do_vmi_munmap+0x253/0x2e0 mm/vma.c:1584 __vm_munmap+0x23b/0x3d0 mm/vma.c:3155 __do_sys_munmap mm/mmap.c:1080 [inline] __se_sys_munmap mm/mmap.c:1077 [inline] __x64_sys_munmap+0x60/0x70 mm/mmap.c:1077 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:0x7f274947a097 Code: 73 01 c3 48 8b 0d 61 2d 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0b 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 31 2d 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007fffe0cce208 EFLAGS: 00000246 ORIG_RAX: 000000000000000b RAX: ffffffffffffffda RBX: 00005607e4ad41f0 RCX: 00007f274947a097 RDX: 00005607e4ac5848 RSI: 0000000000000200 RDI: 00007f27489c1000 RBP: 0000000000000009 R08: 00005607e4ad41c0 R09: 0000000000000003 R10: 0000000000000040 R11: 0000000000000246 R12: 00005607e4ac70c0 R13: 00007f2749b5939c R14: 0000000000001200 R15: 0000000000000009