From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f207.google.com (mail-il1-f207.google.com [209.85.166.207]) (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 371851991CB for ; Mon, 17 Nov 2025 11:17:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.207 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763378255; cv=none; b=nT0D39CzGmdYoBZFWoGZFIIJHrFHP95x4dVyXmtpktBQAmbZ2acE/XUlk4w6OvtkpAqykZo+awgGo1S7V3ROXIJDAfDJf3gVBAVbpGty8NFyP0YxzF33CFUsMMJrWLeXXqfA0D5wX6cwV1NboeQXxjF+iG4kpL9rKphJqB3BIVQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763378255; c=relaxed/simple; bh=h4aROHkCdtHH8SUvoClDs/QwHp15sKGgcRqRoZXsu7U=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=BI0ytAXq8kmsMBhbkb9p9rGlnV6UeEYI7wl+Omc467oC/DTVF30ZGwvd+vgmHTVEkHOO21s68NDHjPZfo2f1Xvfca8fvAqob1yatdwuiZtkyWByuI9MJ86xxrOhCOhYZ4linGj4nwmsB2fTvem8ijm8LOVl2+WagVkJWq5VUtGY= 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.207 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-il1-f207.google.com with SMTP id e9e14a558f8ab-43377f5ae6fso115870015ab.1 for ; Mon, 17 Nov 2025 03:17:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763378251; x=1763983051; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eK9OJSmw5fVGvzXDpVUYYuBi7kPPhz4Gp6u7ym5TPy0=; b=SIoTwr/K4bLeLYS2qpHehfdkmI3IEiw2oVFGPdtnEZ3a+O6e0oD8BW/v7kCc4jp4/+ 48/T8AJy2nFJRqYAvIEIUoK1eE06CF8WLGQgxUtol5XKfPM19TgSY/SLac7vSzHPSllj 0+0J1+sk4rGjJsTrKwBoFcswYEwSeo8PrEkYS1BXVJyW0ZryTgXyJU3pCLR+8XjqP9Pz gaosKxZHnjCqC5SD6u4xclM+Nb/P2JEEOLKd0J5v19/UuswA32uCIaBxfmEkIf+av0ar UqqgW4Sq9lCZdPNnAJR1oxAimmx0huIjJ6cCegWx9nOr+e+jKCzJ7xdRv2U482hczT4u /mgA== X-Gm-Message-State: AOJu0YytLBbwE3Z77hRz/FDCMuc1PKSCXmWZZzGGqDNUopyroM5oTtvO PcqMVOVshes6L/leZ1tMGrPuib713cRaQzcIovmeuFA/xU+mWqFeMWd+JZmUgZBuDrxaDibmOaV NbhRlt8EJE/Ci9fAE69HqPblHc62NK1UvGNSOz3yLZWsiYFGrAMHlPSWVjLjS2g== X-Google-Smtp-Source: AGHT+IHbftE8ib7x0GR4S/Sc82n4fWnv9/H4vHGHoBFxaRBjnw2Qfs+4Tm13Fp0m1bjCc8nZN5QXUodkDRQ7z4hWEVmJns6uAkuW Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a92:c6c2:0:b0:434:8ec2:9a69 with SMTP id e9e14a558f8ab-4348ec29f04mr91572005ab.19.1763378251371; Mon, 17 Nov 2025 03:17:31 -0800 (PST) Date: Mon, 17 Nov 2025 03:17:31 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <691b044b.a70a0220.3124cb.009d.GAE@google.com> Subject: [syzbot] [kernel?] general protection fault in put_ipc_ns 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=15e4c914580000 kernel config: https://syzkaller.appspot.com/x/.config?x=8a6b17620801a7cb dashboard link: https://syzkaller.appspot.com/bug?extid=b4c65e7d749285a82467 compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=154ec658580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=162aeb42580000 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+b4c65e7d749285a82467@syzkaller.appspotmail.com RSP: 002b:00007fff968e5608 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007fe58a3e5fa0 RCX: 00007fe58a18f6c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000006a040000 RBP: 00007fff968e5660 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fe58a3e5fa0 R14: 00007fe58a3e5fa0 R15: 0000000000000001 Oops: general protection fault, probably for non-canonical address 0xdffffc000000012f: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000978-0x000000000000097f] CPU: 1 UID: 0 PID: 6021 Comm: syz.0.17 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_dec_and_lock include/linux/ns_common.h:108 [inline] RIP: 0010:put_ipc_ns+0x7f/0x3d0 ipc/namespace.c:204 Code: b8 f1 f1 f1 f1 00 f3 f3 f3 4b 89 44 3d 00 e8 08 6b 85 fd 48 85 db 0f 84 ea 00 00 00 4c 8d a3 88 09 00 00 4d 89 e6 49 c1 ee 03 <43> 80 3c 3e 00 74 08 4c 89 e7 e8 02 c4 eb fd 4d 8b 3c 24 31 ff 4c RSP: 0018:ffffc900034a7c60 EFLAGS: 00010203 RAX: ffffffff843c7548 RBX: fffffffffffffff4 RCX: ffff88805c080000 RDX: 0000000000000000 RSI: 0000000000000002 RDI: fffffffffffffff4 RBP: ffffc900034a7cf8 R08: ffff8880325cd59f R09: 1ffff110064b9ab3 R10: dffffc0000000000 R11: ffffed10064b9ab4 R12: 000000000000097c R13: 1ffff92000694f8c R14: 000000000000012f R15: dffffc0000000000 FS: 0000555582176500(0000) GS:ffff888125b78000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555582176808 CR3: 00000000751d2000 CR4: 00000000003526f0 Call Trace: nsproxy_free+0x1ef/0x7c0 kernel/nsproxy.c:67 __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:0x7fe58a18f6c9 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:00007fff968e5608 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007fe58a3e5fa0 RCX: 00007fe58a18f6c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000006a040000 RBP: 00007fff968e5660 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fe58a3e5fa0 R14: 00007fe58a3e5fa0 R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:is_ns_init_id include/linux/ns_common.h:25 [inline] RIP: 0010:__ns_ref_dec_and_lock include/linux/ns_common.h:108 [inline] RIP: 0010:put_ipc_ns+0x7f/0x3d0 ipc/namespace.c:204 Code: b8 f1 f1 f1 f1 00 f3 f3 f3 4b 89 44 3d 00 e8 08 6b 85 fd 48 85 db 0f 84 ea 00 00 00 4c 8d a3 88 09 00 00 4d 89 e6 49 c1 ee 03 <43> 80 3c 3e 00 74 08 4c 89 e7 e8 02 c4 eb fd 4d 8b 3c 24 31 ff 4c RSP: 0018:ffffc900034a7c60 EFLAGS: 00010203 RAX: ffffffff843c7548 RBX: fffffffffffffff4 RCX: ffff88805c080000 RDX: 0000000000000000 RSI: 0000000000000002 RDI: fffffffffffffff4 RBP: ffffc900034a7cf8 R08: ffff8880325cd59f R09: 1ffff110064b9ab3 R10: dffffc0000000000 R11: ffffed10064b9ab4 R12: 000000000000097c R13: 1ffff92000694f8c R14: 000000000000012f R15: dffffc0000000000 FS: 0000555582176500(0000) GS:ffff888125b78000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555582176808 CR3: 00000000751d2000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: b8 f1 f1 f1 f1 mov $0xf1f1f1f1,%eax 5: 00 f3 add %dh,%bl 7: f3 f3 4b 89 44 3d 00 repz xrelease mov %rax,0x0(%r13,%r15,1) e: e8 08 6b 85 fd call 0xfd856b1b 13: 48 85 db test %rbx,%rbx 16: 0f 84 ea 00 00 00 je 0x106 1c: 4c 8d a3 88 09 00 00 lea 0x988(%rbx),%r12 23: 4d 89 e6 mov %r12,%r14 26: 49 c1 ee 03 shr $0x3,%r14 * 2a: 43 80 3c 3e 00 cmpb $0x0,(%r14,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 e7 mov %r12,%rdi 34: e8 02 c4 eb fd call 0xfdebc43b 39: 4d 8b 3c 24 mov (%r12),%r15 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 syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. 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