Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C4EC8391E77 for ; Sun, 19 Jul 2026 12:03:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784462640; cv=none; b=qMQnXxIGnMXmj+YUTKRk98vUYIPpMWOjquarr6AQicoBtonFb3FZCjyldGwOXMPZux+/vo9cja5BEpI/9sziWxEluAyuZT3XdBKxyZzT7DYoWIYxsh5WN9kRau0kzto6GgT7lJGGO38PyzIU5DW35L7Qg8Qsa2/xebNS8+m+gp0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784462640; c=relaxed/simple; bh=nE/xSaJgutZviXTcgRvtrQodOaeTYL7m2r09kfFLVJw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WIXmCUAh0wGl8MmGVjzfJM25RuvADuIODmcjBYiXzujxVvl6gQtvLJLHtl49F/+khvrTuVr+uZYPYUhMscYV3BLBXSLewm+lqznsezVAunxS7QYdLNihvWn8YXKUVLa+DVM4CprRP9fkHX4kq/R0Vs9lnTixIqQRp9XrZFf+qjc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kPDTxXSL; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="kPDTxXSL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36B081F000E9; Sun, 19 Jul 2026 12:03:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784462639; bh=UIFVOYh18r/sCNYLuxqLmyfcYQ8PBthT4y6ZhiuxojE=; h=From:To:Cc:Subject:Date:Reply-To; b=kPDTxXSLLuqlSMMR3+QxyqFkyz+3xA9KlYEXz+u+pX9T/JHMmDtVSXmF0g/lKa4Z1 iG6RF8v8vXx71IqXxrCfghrNWuJHvlx+fqrQESfGIaJ49VdJGCRFCmBLOIZUOzlkD5 LwrECKP0CBINBUheidf+aMFzQVEmazFlOqwn4No8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63823: keys: Pin request_key_auth payload in instantiate paths Date: Sun, 19 Jul 2026 14:02:40 +0200 Message-ID: <2026071906-CVE-2026-63823-4e1e@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4110; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rhSuVWPbvpS3G7Zeukv9y9eHhtK7uek0GEEY6eTjsmQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxe/ZxH71m8fbClhat+ws39D+9dlKo5tqu9jCJ//tn1 XTZGMpwd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE9oYwLJiw5zNvcIjTIpn8 91VWTPqOq25eWskw3y++41qs1brgHx9FVq3ImlT5j0NtKwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: keys: Pin request_key_auth payload in instantiate paths A: request_key() B: KEYCTL_INSTANTIATE_IOV ================ ========================= create auth key store rka in auth key wait for helper get auth key load rka from auth key copy user payload sleep on #PF helper completed detach and free rka destroy auth key wake up use rka->target_key **USE-AFTER-FREE** Give request_key_auth payloads a refcount. Take a payload reference while authkey->sem stabilizes the payload and revocation state. Hold that reference across the instantiate and reject paths. Drop the auth key owning reference from revoke and destroy. [jarkko: Replaced the first two paragraphs of text with an actual concurrency scenario.] The Linux kernel CVE team has assigned CVE-2026-63823 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.16 with commit b5f545c880a2a47947ba2118b2509644ab7a2969 and fixed in 5.10.260 with commit d8274181b0f28d450b42489723a5ba81042158d7 Issue introduced in 2.6.16 with commit b5f545c880a2a47947ba2118b2509644ab7a2969 and fixed in 5.15.211 with commit 4982bfabce6b33b3c9eddb4fb900fe5568b7cf91 Issue introduced in 2.6.16 with commit b5f545c880a2a47947ba2118b2509644ab7a2969 and fixed in 6.1.177 with commit 708709c65a1832a99b0eef8ae46e343ddaca3d06 Issue introduced in 2.6.16 with commit b5f545c880a2a47947ba2118b2509644ab7a2969 and fixed in 6.6.144 with commit 35ab4db86774d82389e4b9559e26ab7f68d8e395 Issue introduced in 2.6.16 with commit b5f545c880a2a47947ba2118b2509644ab7a2969 and fixed in 6.12.95 with commit f9b68632ac93cc742f2e411021c4dbfe452ea0c2 Issue introduced in 2.6.16 with commit b5f545c880a2a47947ba2118b2509644ab7a2969 and fixed in 6.18.38 with commit 7216ce8cb12fee44e309503955bb83806b106129 Issue introduced in 2.6.16 with commit b5f545c880a2a47947ba2118b2509644ab7a2969 and fixed in 7.1.3 with commit 83c0a1cb296d955d5f4d1f0bd8a769ba8ed8c29f Issue introduced in 2.6.16 with commit b5f545c880a2a47947ba2118b2509644ab7a2969 and fixed in 7.2-rc1 with commit fd15b457a86939c38aa12116adabd8ff686c5e51 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-63823 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: include/keys/request_key_auth-type.h security/keys/internal.h security/keys/keyctl.c security/keys/request_key_auth.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/d8274181b0f28d450b42489723a5ba81042158d7 https://git.kernel.org/stable/c/4982bfabce6b33b3c9eddb4fb900fe5568b7cf91 https://git.kernel.org/stable/c/708709c65a1832a99b0eef8ae46e343ddaca3d06 https://git.kernel.org/stable/c/35ab4db86774d82389e4b9559e26ab7f68d8e395 https://git.kernel.org/stable/c/f9b68632ac93cc742f2e411021c4dbfe452ea0c2 https://git.kernel.org/stable/c/7216ce8cb12fee44e309503955bb83806b106129 https://git.kernel.org/stable/c/83c0a1cb296d955d5f4d1f0bd8a769ba8ed8c29f https://git.kernel.org/stable/c/fd15b457a86939c38aa12116adabd8ff686c5e51