From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.167.200 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792570808; b=weFUH8IqJNuYviy7Fk5NFZjorPLHcV1pq0rvCXItLPN+7UEkn5O+HydIHv9UYSBkTJbT HzqrN7AcOoZbb74aLK3kkobTZz8YHzKVJfH/akGGLE+uNwDynxTQeDLHurlLnYa3MAe3x n82GVO0tikVXBlm7Z7uLo/6SPa7mJY8lTcAbxbEuqIimuT1Rkxd70/AGxyXYwCMcwUu4T MQgVjzYv50pnJUT8xSBjlZwuwOEU3aUEdCjQVWdk1DHTSxBhKkHTTJdJH5+hTUDj9g3Tt NwA55Z6u99m4RzT/q3/+6PQ/0IL7o3E2j1uDa/NDA8vljFSvk7mEB6yYIJBhsOMCszQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792570808; h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:MIME-Version:X-Received:Date:In-Reply-To: X-Google-Appengine-App-Id:X-Google-Appengine-App-Id-Alias:Message-ID: Subject:From:To:Cc:Content-Type; bh=yL8VqZDmmjINC1gZOAnpKGJOnANABO0NARhyENP7IpY=; b=dYIqh6RAwxeCjgtq7N52fGxQYQ4dwF2TtBltKrbu0B+8ZzAN49L0xVNiPOslhEWvNDo8 ibXlEA3MYrvK9jyXPnWejfShHAANSF7VEsJAN7pxW031k/UTkxEJ2IklLvM4luMMJY9oc RyRFh3MFIkQ/YSHA6C4ZSrCMz303778ELzeSfwuiE92NV+Jn3nJOR9IQTJ9tKDvye4QGu FvptbCqcg5daJ3T/DpDDBa6nF9ZcngBXIMJ9R2PosTLDmpAC0keE4VIEAGVJC8KNuU/Kn bM0pl18WhgG08Zw8+vGSfKhEciTBn+kx31PY/4mW3eW5kgu7qfwnSpcoBDAkOnLtUdg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.remote-ip=209.85.167.200 Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.200]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 19D91606A31C for ; Wed, 21 Oct 2026 08:20:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 19D91606A31C 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-oi1-f200.google.com with SMTP id 5614622812f47-4ab8b4887d4so314485b6e.1 for ; Wed, 21 Oct 2026 01:20:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792570807; x=1793175607; h=content-type:cc:to:from:subject:message-id:in-reply-to:date :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=yL8VqZDmmjINC1gZOAnpKGJOnANABO0NARhyENP7IpY=; b=FVeqMIE2YmsRfvo7O50bKZEHYaPn21zK8kTQdBy2sU8e4ZmpDEcVRQX6TArzXS+1F1 MKB11wrXf2/4Y0jhvZML2nrkktmrSrr9LOLt5Y/5Wk7NFFgwE2opppBGqKQfwAQ7mL8x 7hbayTFMSBj+XnMs6sK+biqBmsyRaFE1wKSVUryZTOmmu7S+01wLnO28DsN+LK7YlRHG uHDLe8kxby06Wr8XeQS1pjy5RGPYpF9NVtAcmr8hcvQ6Dph4y9xYncCjdQ4ixgBtmrrx CTXrnKd7SrRY9nRUGrgk5LfKO9/T8W/Cv4nWfNp93ILyAyanJCjaE8NTwCTVUPZe9uK3 E7Yw== X-Forwarded-Encrypted: i=1; AKwUvBzinHKjHdGWJv0BVsw7GdxYMy4p3Q/s9VuKnGU7IkxngHj+IRKtkmVvYKmHDYYAHcKAcFa7j0xWmWpSoIA=@vger.kernel.org X-Gm-Message-State: AFq9FYLSjTDAZkWGFiDo2zG/nCH44h+NE4RacCPy3jcGxW47yYv5tn28 lfyfnm3gSHtXhOKuSF28YCl8WCGOqSrsS4N1Sw/SejFnOPbDcuswR+Rpb5RXOGwOBvscqZc8NDA ZqtviRaMDVVDYVj1E/s3lMffi5HzA/TYlPhI50y5vWuGGuavTHCCmqkS2IiQ= X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Received: by 2002:a05:6808:1818:b0:4d6:90f3:74ae with SMTP id 5614622812f47-5535a773ee7mr837497b6e.46.1792570806989; Wed, 21 Oct 2026 01:20:06 -0700 (PDT) Date: Wed, 21 Oct 2026 01:20:06 -0700 In-Reply-To: <20261019145624.309790-1-jarkko@kernel.org> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6ad875b6.e74039fe.1cb511.0000.GAE@google.com> Subject: [syzbot ci] Re: KEYS: Return user session keyring on lookup From: syzbot ci To: corbet@lwn.net, dhowells@redhat.com, ebiggers@kernel.org, jannh@google.com, jarkko@kernel.org, jmorris@namei.org, keyrings@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, paul@paul-moore.com, rdunlap@infradead.org, serge@hallyn.com, skhan@linuxfoundation.org, stable@vger.kernel.org Cc: syzbot@lists.linux.dev, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" syzbot ci has tested the following series [v2] KEYS: Return user session keyring on lookup https://lore.kernel.org/all/20261019145624.309790-1-jarkko@kernel.org * [PATCH v2 1/2] KEYS: Return user session keyring on lookup * [PATCH v2 2/2] KEYS: Reject keyring creation with overridden credentials and found the following issue: general protection fault in keyctl_session_to_parent Full report is available here: https://ci.syzbot.org/series/7566814a-52ba-4f0b-b506-d7adf67fda29 *** general protection fault in keyctl_session_to_parent tree: linux-next URL: https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next base: 17a7501b9612a52b38bc57e33c7b64636d438bc0 arch: amd64 compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 config: https://ci.syzbot.org/builds/eee373c7-f447-49cf-a350-83830580c7b2/config Oops: general protection fault, probably for non-canonical address 0xdffffc000000001b: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x00000000000000d8-0x00000000000000df] CPU: 0 UID: 0 PID: 5730 Comm: syz.0.6 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:keyctl_session_to_parent+0x825/0xa30 Code: 35 3b fd e9 fe fa ff ff e8 38 35 3b fd e9 f4 fa ff ff e8 2e 35 3b fd 48 8b 54 24 20 48 81 c2 d8 00 00 00 48 89 d0 48 c1 e8 03 <0f> b6 04 18 84 c0 0f 85 b2 01 00 00 8b 2a 89 ef 8b 5c 24 1c 89 de RSP: 0018:ffffc9000621fc70 EFLAGS: 00010006 RAX: 000000000000001b RBX: dffffc0000000000 RCX: ffff88810b603c00 RDX: 00000000000000d8 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52000c43f7c R12: ffff88811a010000 R13: 0000000000000000 R14: ffff88810c2631a8 R15: 0000000000000000 FS: 00007f7f2068b6c0(0000) GS:ffff88818c4bf000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7f2068aff8 CR3: 000000010cae8000 CR4: 00000000000006f0 Call Trace: __se_sys_keyctl+0x780/0x9d0 do_syscall_64+0x166/0x520 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7f1f79f559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7f2068b028 EFLAGS: 00000246 ORIG_RAX: 00000000000000fa RAX: ffffffffffffffda RBX: 00007f7f1fa26270 RCX: 00007f7f1f79f559 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000012 RBP: 00007f7f1f836b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7f1fa26308 R14: 00007f7f1fa26270 R15: 00007ffe789f59b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:keyctl_session_to_parent+0x825/0xa30 Code: 35 3b fd e9 fe fa ff ff e8 38 35 3b fd e9 f4 fa ff ff e8 2e 35 3b fd 48 8b 54 24 20 48 81 c2 d8 00 00 00 48 89 d0 48 c1 e8 03 <0f> b6 04 18 84 c0 0f 85 b2 01 00 00 8b 2a 89 ef 8b 5c 24 1c 89 de RSP: 0018:ffffc9000621fc70 EFLAGS: 00010006 RAX: 000000000000001b RBX: dffffc0000000000 RCX: ffff88810b603c00 RDX: 00000000000000d8 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52000c43f7c R12: ffff88811a010000 R13: 0000000000000000 R14: ffff88810c2631a8 R15: 0000000000000000 FS: 00007f7f2068b6c0(0000) GS:ffff88818c4bf000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7f2068aff8 CR3: 000000010cae8000 CR4: 00000000000006f0 *** If these findings have caused you to resend the series or submit a separate fix, please add the following tag to your commit message: Tested-by: syzbot@syzkaller.appspotmail.com --- This report is generated by a bot. It may contain errors. syzbot ci engineers can be reached at syzkaller@googlegroups.com. To test a fix for this bug, please reply with `#syz test` (on a separate line) and attach the patch to the email. Notes: - The patch will be applied on top of the tested series (as an incremental fix). - To test a new version of the whole series, please send it directly to syzbot@lists.linux.dev. - Arguments like custom git repos and branches are not supported.