syzbot


INFO: task hung in put_mnt_ns

Status: premoderation: reported on 2025/07/23 11:26
Reported-by: syzbot+df344ced8cc81835c7d3@syzkaller.appspotmail.com
First crash: 37d, last: 37d

Sample crash report:
INFO: task syz.7.31924:30736 blocked for more than 125 seconds.
      Not tainted 6.12.30-syzkaller-gfc2476d0896a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.7.31924     state:D stack:0     pid:30736 tgid:30728 ppid:24590  flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5945 [inline]
 __schedule+0x132b/0x1e00 kernel/sched/core.c:7789
 __schedule_loop kernel/sched/core.c:7870 [inline]
 schedule+0xc6/0x240 kernel/sched/core.c:7885
 schedule_preempt_disabled+0x14/0x30 kernel/sched/core.c:7942
 rwsem_down_write_slowpath+0x9e8/0x1b90 kernel/locking/rwsem.c:1229
 __down_write_common kernel/locking/rwsem.c:1373 [inline]
 __down_write kernel/locking/rwsem.c:1382 [inline]
 down_write+0x152/0x2a0 kernel/locking/rwsem.c:1649
 namespace_lock fs/namespace.c:1714 [inline]
 drop_collected_mounts fs/namespace.c:2228 [inline]
 put_mnt_ns+0x7a/0xf0 fs/namespace.c:5578
 free_nsproxy+0x52/0x290 kernel/nsproxy.c:193
 put_nsproxy include/linux/nsproxy.h:118 [inline]
 switch_task_namespaces kernel/nsproxy.c:251 [inline]
 exit_task_namespaces+0x99/0xe0 kernel/nsproxy.c:256
 copy_process+0x20b1/0x3220 kernel/fork.c:2663
 kernel_clone+0x23f/0x830 kernel/fork.c:2818
 __do_sys_clone kernel/fork.c:2963 [inline]
 __se_sys_clone kernel/fork.c:2947 [inline]
 __x64_sys_clone+0x18c/0x1f0 kernel/fork.c:2947
 x64_sys_call+0x2b3c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:57
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fe3c578e9a9
RSP: 002b:00007fe3c65fdfe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fe3c59b6160 RCX: 00007fe3c578e9a9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000b21e0000
RBP: 00007fe3c5810d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fe3c59b6160 R15: 00007fff4da172b8
 </TASK>
INFO: task syz.7.31924:30738 blocked for more than 126 seconds.
      Not tainted 6.12.30-syzkaller-gfc2476d0896a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.7.31924     state:D stack:0     pid:30738 tgid:30728 ppid:24590  flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5945 [inline]
 __schedule+0x132b/0x1e00 kernel/sched/core.c:7789
 __schedule_loop kernel/sched/core.c:7870 [inline]
 schedule+0xc6/0x240 kernel/sched/core.c:7885
 schedule_preempt_disabled+0x14/0x30 kernel/sched/core.c:7942
 rwsem_down_write_slowpath+0x9e8/0x1b90 kernel/locking/rwsem.c:1229
 __down_write_common kernel/locking/rwsem.c:1373 [inline]
 __down_write kernel/locking/rwsem.c:1382 [inline]
 down_write+0x152/0x2a0 kernel/locking/rwsem.c:1649
 namespace_lock fs/namespace.c:1714 [inline]
 open_detached_copy fs/namespace.c:2821 [inline]
 __do_sys_open_tree fs/namespace.c:2887 [inline]
 __se_sys_open_tree+0x34a/0x8e0 fs/namespace.c:2849
 __x64_sys_open_tree+0x7f/0xa0 fs/namespace.c:2849
 x64_sys_call+0x2d58/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:429
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fe3c578e9a9
RSP: 002b:00007fe3c65bc038 EFLAGS: 00000246 ORIG_RAX: 00000000000001ac
RAX: ffffffffffffffda RBX: 00007fe3c59b6320 RCX: 00007fe3c578e9a9
RDX: 0000000000001001 RSI: 0000200000000080 RDI: ffffffffffffff9c
RBP: 00007fe3c5810d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe3c59b6320 R15: 00007fff4da172b8
 </TASK>
INFO: task syz.1.31927:30741 blocked for more than 127 seconds.
      Not tainted 6.12.30-syzkaller-gfc2476d0896a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.31927     state:D stack:0     pid:30741 tgid:30740 ppid:29517  flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5945 [inline]
 __schedule+0x132b/0x1e00 kernel/sched/core.c:7789
 __schedule_loop kernel/sched/core.c:7870 [inline]
 schedule+0xc6/0x240 kernel/sched/core.c:7885
 schedule_preempt_disabled+0x14/0x30 kernel/sched/core.c:7942
 rwsem_down_write_slowpath+0x9e8/0x1b90 kernel/locking/rwsem.c:1229
 __down_write_common kernel/locking/rwsem.c:1373 [inline]
 __down_write kernel/locking/rwsem.c:1382 [inline]
 down_write+0x152/0x2a0 kernel/locking/rwsem.c:1649
 namespace_lock fs/namespace.c:1714 [inline]
 do_lock_mount+0x20d/0x520 fs/namespace.c:2618

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/23 11:26 android16-6.12 fc2476d0896a e1dd4f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in put_mnt_ns
* Struck through repros no longer work on HEAD.