syzbot


WARNING in nsproxy_ns_active_get

Status: upstream: reported C repro on 2025/11/06 01:35
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+0a8655a80e189278487e@syzkaller.appspotmail.com
Fix commit: cefd55bd2159 nsproxy: fix free_nsproxy() and simplify create_new_namespaces()
Patched on: [ci-qemu-gce-upstream-auto ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-snapshot-upstream-root ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-badwrites-root ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci-upstream-rust-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu-native-arm64-kvm]
First crash: 48d, last: 40d
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] nsproxy: fix free_nsproxy() and simplify create_new_namespaces() 3 (3) 2025/11/13 13:05
[syzbot] [fs?] WARNING in nsproxy_ns_active_get 2 (6) 2025/11/12 10:18
Last patch testing requests (3)
Created Duration User Patch Repo Result
2025/11/12 09:44 33m brauner@kernel.org https://github.com/brauner/linux.git namespace-6.19 OK log
2025/11/11 12:04 51m brauner@kernel.org https://github.com/brauner/linux.git namespace-6.19 report log
2025/11/07 11:44 32m kartikey406@gmail.com patch linux-next error

Sample crash report:
------------[ cut here ]------------
WARNING: ./include/linux/ns_common.h:288 at __ns_ref_active_get include/linux/ns_common.h:288 [inline], CPU#0: syz.0.20/6007
WARNING: ./include/linux/ns_common.h:288 at nsproxy_ns_active_get+0x8ab/0xcb0 fs/nsfs.c:690, CPU#0: syz.0.20/6007
Modules linked in:
CPU: 0 UID: 0 PID: 6007 Comm: syz.0.20 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:__ns_ref_active_get include/linux/ns_common.h:288 [inline]
RIP: 0010:nsproxy_ns_active_get+0x8ab/0xcb0 fs/nsfs.c:690
Code: 5f 5d e9 c8 c8 1d 09 cc e8 d2 fa 76 ff 90 0f 0b 90 e9 ee f7 ff ff e8 c4 fa 76 ff 90 0f 0b 90 e9 12 f8 ff ff e8 b6 fa 76 ff 90 <0f> 0b 90 e9 dc f8 ff ff e8 a8 fa 76 ff 90 0f 0b 90 e9 03 f9 ff ff
RSP: 0018:ffffc900037afd40 EFLAGS: 00010293
RAX: ffffffff824ad57a RBX: ffff88803389d410 RCX: ffff888031e68000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: 00000000f0000301 R08: ffff8880323c908b R09: 1ffff11006479211
R10: dffffc0000000000 R11: ffffed1006479212 R12: dffffc0000000000
R13: 1ffff11004e06f83 R14: ffff8880323c9088 R15: ffff8880323c8e38
FS:  00007f5dc22cf6c0(0000) GS:ffff888125a79000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fb63fff CR3: 0000000075870000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 switch_task_namespaces+0x3e/0x110 kernel/nsproxy.c:240
 commit_nsset kernel/nsproxy.c:555 [inline]
 __do_sys_setns kernel/nsproxy.c:591 [inline]
 __se_sys_setns+0x784/0x17d0 kernel/nsproxy.c:559
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5dc138f6c9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5dc22cf038 EFLAGS: 00000246 ORIG_RAX: 0000000000000134
RAX: ffffffffffffffda RBX: 00007f5dc15e5fa0 RCX: 00007f5dc138f6c9
RDX: 0000000000000000 RSI: 0000000024020000 RDI: 0000000000000003
RBP: 00007f5dc1411f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5dc15e6038 R14: 00007f5dc15e5fa0 R15: 00007fffb0d28f18
 </TASK>

Crashes (377):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/10 03:25 linux-next 9c0826a5d9aa 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 02:18 linux-next 9c0826a5d9aa 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 01:12 linux-next 9c0826a5d9aa 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 00:05 linux-next 9c0826a5d9aa 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/05 02:45 linux-next 17490bd0527f a6c9c731 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/12 05:23 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/12 03:39 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/12 02:22 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/12 01:20 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/12 00:17 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/11 23:10 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in nsproxy_ns_active_get
2025/11/11 23:05 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in nsproxy_ns_active_get
2025/11/11 21:28 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/11 20:05 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/11 18:58 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/11 17:41 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/11 16:00 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in nsproxy_ns_active_get
2025/11/11 14:59 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/11 13:49 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in nsproxy_ns_active_get
2025/11/11 13:07 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/11 11:23 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/11 10:06 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/11 08:49 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/11 07:36 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/11 05:27 linux-next 2666975a8905 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/11 03:56 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/11 02:35 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/11 01:28 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/11 00:12 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 23:07 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 21:43 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 19:49 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 17:31 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 16:53 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 15:52 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 14:45 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 13:15 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 11:49 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 10:38 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 09:29 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 07:41 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 05:41 linux-next ab40c92c74c6 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 04:41 linux-next 9c0826a5d9aa 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 03:20 linux-next 9c0826a5d9aa 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/10 01:14 linux-next 9c0826a5d9aa 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/09 23:16 linux-next 9c0826a5d9aa 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/09 21:22 linux-next 9c0826a5d9aa 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
2025/11/09 20:18 linux-next 9c0826a5d9aa 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in nsproxy_ns_active_get
* Struck through repros no longer work on HEAD.