INFO: task syz.4.77:6437 blocked for more than 143 seconds. Not tainted 6.15.0-rc5-syzkaller-00136-g9c69f8884904 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.77 state:D stack:28344 pid:6437 tgid:6389 ppid:5816 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x168f/0x4c70 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x165/0x360 kernel/sched/core.c:6860 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917 rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:867 [inline] vfs_fileattr_set+0x14f/0xb00 fs/ioctl.c:681 ioctl_setflags fs/ioctl.c:728 [inline] do_vfs_ioctl+0x1584/0x1eb0 fs/ioctl.c:869 __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl+0x82/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f32d798e969 RSP: 002b:00007f32d8751038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f32d7bb6160 RCX: 00007f32d798e969 RDX: 00002000000002c0 RSI: 0000000040086602 RDI: 0000000000000007 RBP: 00007f32d7a10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f32d7bb6160 R15: 00007fff93c2cdf8 INFO: task syz.4.77:6438 blocked for more than 144 seconds. Not tainted 6.15.0-rc5-syzkaller-00136-g9c69f8884904 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.77 state:D stack:28952 pid:6438 tgid:6389 ppid:5816 task_flags:0x400040 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x168f/0x4c70 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x165/0x360 kernel/sched/core.c:6860 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917 rwsem_down_read_slowpath+0x552/0x880 kernel/locking/rwsem.c:1084 __down_read_common kernel/locking/rwsem.c:1248 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0x98/0x2e0 kernel/locking/rwsem.c:1526 inode_lock_shared include/linux/fs.h:877 [inline] lookup_slow+0x46/0x70 fs/namei.c:1833 walk_component fs/namei.c:2138 [inline] link_path_walk+0x925/0xe50 fs/namei.c:2503 path_lookupat+0x97/0x430 fs/namei.c:2659 filename_lookup+0x212/0x570 fs/namei.c:2689 user_path_at+0x3a/0x60 fs/namei.c:3120 __do_sys_name_to_handle_at fs/fhandle.c:161 [inline] __se_sys_name_to_handle_at+0x180/0x790 fs/fhandle.c:129 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f32d798e969 RSP: 002b:00007f32d8730038 EFLAGS: 00000246 ORIG_RAX: 000000000000012f RAX: ffffffffffffffda RBX: 00007f32d7bb6240 RCX: 00007f32d798e969 RDX: 0000200000000300 RSI: 0000200000000000 RDI: ffffffffffffff9c RBP: 00007f32d7a10ab1 R08: 0000000000000200 R09: 0000000000000000 R10: 0000200000000280 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f32d7bb6240 R15: 00007fff93c2cdf8 INFO: task syz.4.77:6439 blocked for more than 145 seconds. Not tainted 6.15.0-rc5-syzkaller-00136-g9c69f8884904 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.77 state:D stack:28952 pid:6439 tgid:6389 ppid:5816 task_flags:0x400040 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x168f/0x4c70 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x165/0x360 kernel/sched/core.c:6860 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917 rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write_nested+0x1b5/0x200 kernel/locking/rwsem.c:1694 inode_lock_nested include/linux/fs.h:902 [inline] filename_create+0x1f9/0x470 fs/namei.c:4132 do_mkdirat+0xa0/0x590 fs/namei.c:4384 __do_sys_mkdirat fs/namei.c:4409 [inline] __se_sys_mkdirat fs/namei.c:4407 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4407 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f32d798d1d7 RSP: 002b:00007f32d870ee68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f32d870eef0 RCX: 00007f32d798d1d7 RDX: 00000000000001ff RSI: 0000200000000100 RDI: 00000000ffffff9c RBP: 0000200000000000 R08: 0000200000000000 R09: 0000000000000000 R10: 0000200000000000 R11: 0000000000000246 R12: 0000200000000100 R13: 00007f32d870eeb0 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 2 locks held by ksoftirqd/1/23: 1 lock held by khungtaskd/31: #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6764 4 locks held by kworker/u8:4/63: 2 locks held by getty/5581: #0: ffff888034fea0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000333b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 2 locks held by kworker/0:5/5868: #0: ffff8880b88399d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605 #1: ffff8880b8823b08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x39e/0x6d0 kernel/sched/psi.c:987 5 locks held by syz.4.77/6390: #0: ffff888023d5e420 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:556 #1: ffff888057a61078 (&sb->s_type->i_mutex_key#20/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:902 [inline] #1: ffff888057a61078 (&sb->s_type->i_mutex_key#20/1){+.+.}-{4:4}, at: filename_create+0x1f9/0x470 fs/namei.c:4132 #2: ffff888057a61460 (&inode->ei_update_lock){+.+.}-{4:4}, at: __bch2_create+0x2f2/0xb90 fs/bcachefs/fs.c:569 #3: ffff88806ff84228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline] #3: ffff88806ff84228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline] #3: ffff88806ff84228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0xaf/0x220 fs/bcachefs/btree_iter.c:3202 #4: ffff88806ffa6590 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x68f/0x14c0 fs/bcachefs/btree_update_interior.c:1179 2 locks held by syz.4.77/6437: #0: ffff888023d5e420 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write_file+0x60/0x200 fs/namespace.c:600 #1: ffff888057a61078 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #1: ffff888057a61078 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: vfs_fileattr_set+0x14f/0xb00 fs/ioctl.c:681 1 lock held by syz.4.77/6438: #0: ffff888057a61078 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:877 [inline] #0: ffff888057a61078 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: lookup_slow+0x46/0x70 fs/namei.c:1833 2 locks held by syz.4.77/6439: #0: ffff888023d5e420 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:556 #1: ffff888057a61078 (&sb->s_type->i_mutex_key#20/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:902 [inline] #1: ffff888057a61078 (&sb->s_type->i_mutex_key#20/1){+.+.}-{4:4}, at: filename_create+0x1f9/0x470 fs/namei.c:4132 2 locks held by bch-copygc/loop/6432: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc5-syzkaller-00136-g9c69f8884904 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/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:274 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:437 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 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: 9045 Comm: rm Not tainted 6.15.0-rc5-syzkaller-00136-g9c69f8884904 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 RIP: 0010:ma_dead_node lib/maple_tree.c:575 [inline] RIP: 0010:mte_dead_node lib/maple_tree.c:590 [inline] RIP: 0010:mt_validate+0x1ca/0x4380 lib/maple_tree.c:7552 Code: 8b 9c 24 28 01 00 00 48 c7 c0 00 ff ff ff 48 21 c3 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 99 e8 d7 f6 4c 8b 33 <48> c7 c0 00 ff ff ff 49 21 c6 48 89 df 4c 89 f6 e8 f1 1b 78 f6 48 RSP: 0018:ffffc9000b62f180 EFLAGS: 00000246 RAX: 1ffff1100d307340 RBX: ffff888069839a00 RCX: ffff888027108000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffffc9000b62f350 R08: ffff888027108000 R09: 0000000000000003 R10: 0000000000000003 R11: 0000000000000000 R12: 00005605edc2a000 R13: dffffc0000000000 R14: ffff88806983940e R15: ffff8880516a480c FS: 0000000000000000(0000) GS:ffff888126200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdf5295bfe8 CR3: 0000000063aac000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: validate_mm+0xb6/0x4b0 mm/vma.c:595 __split_vma+0x867/0x9b0 mm/vma.c:524 vms_gather_munmap_vmas+0x2de/0x12b0 mm/vma.c:1315 __mmap_prepare mm/vma.c:2303 [inline] __mmap_region mm/vma.c:2506 [inline] mmap_region+0x5f5/0x1e50 mm/vma.c:2597 do_mmap+0xc68/0x1100 mm/mmap.c:561 vm_mmap_pgoff+0x31b/0x4c0 mm/util.c:579 ksys_mmap_pgoff+0x51f/0x760 mm/mmap.c:607 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdf52c2d242 Code: 08 00 04 00 00 eb e2 90 41 f7 c1 ff 0f 00 00 75 27 55 89 cd 53 48 89 fb 48 85 ff 74 33 41 89 ea 48 89 df b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5e 5b 5d c3 0f 1f 00 c7 05 46 40 01 00 16 00 RSP: 002b:00007fffe71c4598 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fdf5294c000 RCX: 00007fdf52c2d242 RDX: 0000000000000003 RSI: 0000000000002000 RDI: 00007fdf5294c000 RBP: 0000000000000812 R08: 0000000000000003 R09: 0000000000004000 R10: 0000000000000812 R11: 0000000000000206 R12: 00007fffe71c4658 R13: 00007fdf52c02050 R14: 00007fffe71c49d0 R15: 00000ffffce388b6