From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f78.google.com (mail-io1-f78.google.com [209.85.166.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77DD1239E7D for ; Sun, 16 Nov 2025 06:34:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.78 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763274876; cv=none; b=BKU0n63+40sHaOm3xw82DpaodwQOklj0nWcPHV8QMtWEOP6SJBAzYLmz4O2ScqMB2r8MVN3Nl+A7Jk9lM4BT1kAWE9UXgPhum+GtppRTOvqErAnwSTiB6S+07dSJY2Ma48GVBvIUWbAcNQ0Nqndo+YqiaMzXsEI5AGdwqn5WNRE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763274876; c=relaxed/simple; bh=k4tKFjQY5Kv0yjeWVR/vduau5M4sWAev/czaMysWxw0=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=joZQLFCb0p1u2FJTTtGm4NImcR1DI4TJnfAMlYzBtfbQH2KMKW7pqny82i328wSgeyF2f/TXGRPXNE17rjYQCwL6s7olvOIa0Luo6JlTq+4OMLLapNYD9iussogZ9qYODwyas/wvBa3sW00m1YYnfE3O3g4U3lenoM8M2H1fO0k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-io1-f78.google.com with SMTP id ca18e2360f4ac-948610ae935so257405939f.2 for ; Sat, 15 Nov 2025 22:34:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763274873; x=1763879673; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fUF3KgGe0B+0ONQCX7Q9hYu1AiFBCetzKiirmyX+L1Q=; b=q9D5/jy04NbnD+F6zgMv9elVYOAC2uT9VaB7CDaMBJSwz8L0c7bbDe0UaYPNh/HsBn 5+QxDwtkxqv1fS1vb2Ctnr7s4/TRcWZEceeFuEtS3/9TxP+hVX/kIiathyf+8kKgXw2n xP/5VaGZowU0TFnpmZTUsTRAhLXEyCoRmV1PLCO+0VpxoMWsh5+M8NbbNjAireWPzHso T0pKwxTpazNokLVt5t+Wr5oj8Z6ab8Df+cpr3GBRxDEx/R0pgHTXHACG1/9dUbYxYvoS VWQ5ruK1oBZaclrIYHzK5nKN+qfvGrfJEd/K9ro+75dRgZSYzbpzE7u2E02L0NSk9F5p FnnA== X-Gm-Message-State: AOJu0YwC8bOzGWBI5GnfLtXpnQqrI/UyJmnRBiF8OSaJaWuCqXY19OQ0 Cv5a2ymS7i/15+n2aAUtKiUtHKdXWcZzVEeetGSU8Tn5RWzlw2DnfGADs+mhx5aGsH1IM30mseT LrOT1CCnZ0JSj2bNnhJPyGnyL4oiC9Cm/EhpZAgsiNOXKdaGQZXZuOw7UX0fjbA== X-Google-Smtp-Source: AGHT+IHKLlGufVv+wmlXRALzMNLr1BOZYAbwwJ9lG/+EFl4h9q7VUtVV1YFB3T2qBXwcJKKFrkH5Xrqh361ZoheO6Kwt+PAUS4aS Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:12e9:b0:433:31ff:f885 with SMTP id e9e14a558f8ab-4348c8be049mr122943455ab.9.1763274873455; Sat, 15 Nov 2025 22:34:33 -0800 (PST) Date: Sat, 15 Nov 2025 22:34:33 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69197079.a70a0220.3124cb.0071.GAE@google.com> Subject: [syzbot] [kernel?] stack segment fault in nsproxy_free From: syzbot To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 6d7e7251d03f Add linux-next specific files for 20251113 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=14b86658580000 kernel config: https://syzkaller.appspot.com/x/.config?x=8a6b17620801a7cb dashboard link: https://syzkaller.appspot.com/bug?extid=504479f733b2b0cbf617 compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/ab5308631192/disk-6d7e7251.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/53e266b1dfe2/vmlinux-6d7e7251.xz kernel image: https://storage.googleapis.com/syzbot-assets/a24e6bca1ac0/bzImage-6d7e7251.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+504479f733b2b0cbf617@syzkaller.appspotmail.com Oops: stack segment: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 16550 Comm: syz.2.4585 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:is_ns_init_id include/linux/ns_common.h:25 [inline] RIP: 0010:__ns_ref_put include/linux/ns_common.h:70 [inline] RIP: 0010:put_net include/net/net_namespace.h:292 [inline] RIP: 0010:nsproxy_free+0x40a/0x7c0 kernel/nsproxy.c:72 Code: 03 42 80 3c 28 00 74 08 4c 89 f7 e8 90 c2 99 00 4d 8b 36 4d 85 f6 0f 84 df 00 00 00 4d 8d be 78 01 00 00 4c 89 fd 48 c1 ed 03 <42> 80 7c 2d 00 00 74 08 4c 89 ff e8 66 c2 99 00 4d 8b 27 31 ff 4c RSP: 0018:ffffc90004c67d08 EFLAGS: 00010207 RAX: 1ffff1100c3dc94a RBX: ffff888061ee4a28 RCX: 0000000000080000 RDX: ffffc9001b253000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: 000000000000002e R08: ffff88807d5b6e1f R09: 1ffff1100fab6dc3 R10: dffffc0000000000 R11: ffffed100fab6dc4 R12: 000000000000029c R13: dffffc0000000000 R14: fffffffffffffffc R15: 0000000000000174 FS: 00007feaebb846c0(0000) GS:ffff888125a78000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000032a030 CR3: 0000000029c20000 CR4: 00000000003526f0 Call Trace: __free_nsproxy_free kernel/nsproxy.c:76 [inline] create_new_namespaces+0x47a/0x540 kernel/nsproxy.c:132 unshare_nsproxy_namespaces+0x11c/0x170 kernel/nsproxy.c:197 ksys_unshare+0x4c8/0x8c0 kernel/fork.c:3129 __do_sys_unshare kernel/fork.c:3200 [inline] __se_sys_unshare kernel/fork.c:3198 [inline] __x64_sys_unshare+0x38/0x50 kernel/fork.c:3198 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:0x7feaead8f6c9 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:00007feaebb84038 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007feaeafe5fa0 RCX: 00007feaead8f6c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000060000600 RBP: 00007feaeae11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007feaeafe6038 R14: 00007feaeafe5fa0 R15: 00007fff573f8438 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:is_ns_init_id include/linux/ns_common.h:25 [inline] RIP: 0010:__ns_ref_put include/linux/ns_common.h:70 [inline] RIP: 0010:put_net include/net/net_namespace.h:292 [inline] RIP: 0010:nsproxy_free+0x40a/0x7c0 kernel/nsproxy.c:72 Code: 03 42 80 3c 28 00 74 08 4c 89 f7 e8 90 c2 99 00 4d 8b 36 4d 85 f6 0f 84 df 00 00 00 4d 8d be 78 01 00 00 4c 89 fd 48 c1 ed 03 <42> 80 7c 2d 00 00 74 08 4c 89 ff e8 66 c2 99 00 4d 8b 27 31 ff 4c RSP: 0018:ffffc90004c67d08 EFLAGS: 00010207 RAX: 1ffff1100c3dc94a RBX: ffff888061ee4a28 RCX: 0000000000080000 RDX: ffffc9001b253000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: 000000000000002e R08: ffff88807d5b6e1f R09: 1ffff1100fab6dc3 R10: dffffc0000000000 R11: ffffed100fab6dc4 R12: 000000000000029c R13: dffffc0000000000 R14: fffffffffffffffc R15: 0000000000000174 FS: 00007feaebb846c0(0000) GS:ffff888125a78000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000404030 CR3: 0000000029c20000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 03 42 80 add -0x80(%rdx),%eax 3: 3c 28 cmp $0x28,%al 5: 00 74 08 4c add %dh,0x4c(%rax,%rcx,1) 9: 89 f7 mov %esi,%edi b: e8 90 c2 99 00 call 0x99c2a0 10: 4d 8b 36 mov (%r14),%r14 13: 4d 85 f6 test %r14,%r14 16: 0f 84 df 00 00 00 je 0xfb 1c: 4d 8d be 78 01 00 00 lea 0x178(%r14),%r15 23: 4c 89 fd mov %r15,%rbp 26: 48 c1 ed 03 shr $0x3,%rbp * 2a: 42 80 7c 2d 00 00 cmpb $0x0,0x0(%rbp,%r13,1) <-- trapping instruction 30: 74 08 je 0x3a 32: 4c 89 ff mov %r15,%rdi 35: e8 66 c2 99 00 call 0x99c2a0 3a: 4d 8b 27 mov (%r15),%r12 3d: 31 ff xor %edi,%edi 3f: 4c rex.WR --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup