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 73EEF391E77 for ; Sun, 19 Jul 2026 12:04:02 +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=1784462643; cv=none; b=H5GavCrCtJlOxmDfWWTzBWu9wrLUu0EQFixi4EIToLti5eNElCLMUx4y6bOnPLcDP3G8eJMKAhRkiaFpjFV6twbF9bNwk/P1rE3piVc2BZ/WU8ifms2Djm5lwoylK3Kou9LmM/zLFGG4VLIl2QJdh/NtaZJOiNxUgNqwvIOX+eI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784462643; c=relaxed/simple; bh=7vFHpW6HmAlOS0Hn22R9QSJ9rfH2q93EyohEoA9lUqk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=f9bbPc69SAR+nqWh/ZA3OfbxP3HxjjfnBjtunt6wKWOdPKuLs7zjdYJ8MD+tzJvE2BYWeZ/V1lGjQrdnvvw7+z68L5sU6hHl+zzNraiGQFX2JQf5uLuXqenH90JvUAoOdgPLfZkC47xzAKnUvzZ6PNYaJr+HYth0WLwW56t5glA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tGo9a/8J; 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="tGo9a/8J" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D76D61F000E9; Sun, 19 Jul 2026 12:04:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784462642; bh=1QeEhbW1m5uxgXZQWDSJPk7dUQ0nJV9hcqr9DVifbbA=; h=From:To:Cc:Subject:Date:Reply-To; b=tGo9a/8JqH3jRjRJSWW6L7t471PRPFSPEw03LaSv038yh3o0Jv2Ajorl88Xdrm6vD r04lexOinaxnwYSaDwcN/Wi3NtMaPrT+s+V7aubZTfsb0kdzcDne3E9no3b4vqkd3Y XisiUpJI+7yqi2EuCoCBkatQF6kstlg0NetPUY+4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63824: KEYS: fix overflow in keyctl_pkey_params_get_2() Date: Sun, 19 Jul 2026 14:02:41 +0200 Message-ID: <2026071906-CVE-2026-63824-6a2f@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=3415; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YzIHmHGDI4P5NnSL9VUVkDJLOJ7umUwmw/2jK+bZmd0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxe/blH1FY+fb/2/l7T5ZsE1h/787mR+93hcgw8m8PX 7+oJ5jhakcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMJKWDYcEiN4t1pz2qyzc9 NP74MiEvJsfmYSbDgq3Pjf322v7PvdPU+vDGusVeWZ1SWQA= 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: fix overflow in keyctl_pkey_params_get_2() The length for the internal output buffer is calculated incorrectly, which can result overflow when a too small buffer is provided. Fix the bug by allocating internal output with the size of the maximum length of the cryptographic primitive instead of caller provided size. The Linux kernel CVE team has assigned CVE-2026-63824 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit 00d60fd3b93219ea854220f0fd264b86398cbc53 and fixed in 5.10.260 with commit 622ec2dcd59f21623f2a7ab773c80ceb7d555e3a Issue introduced in 4.20 with commit 00d60fd3b93219ea854220f0fd264b86398cbc53 and fixed in 5.15.211 with commit b1e247338bc71826a2d2def3e0874c34749df69a Issue introduced in 4.20 with commit 00d60fd3b93219ea854220f0fd264b86398cbc53 and fixed in 6.1.177 with commit 0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3 Issue introduced in 4.20 with commit 00d60fd3b93219ea854220f0fd264b86398cbc53 and fixed in 6.6.144 with commit 5966e4e2ba213ab7ad559166152eb4f1f170dd2c Issue introduced in 4.20 with commit 00d60fd3b93219ea854220f0fd264b86398cbc53 and fixed in 6.12.95 with commit 5165f1cc727f1322456735df212d8e26ec237a8d Issue introduced in 4.20 with commit 00d60fd3b93219ea854220f0fd264b86398cbc53 and fixed in 6.18.38 with commit b11c1fa32667692a2c0566e10163758e786e430c Issue introduced in 4.20 with commit 00d60fd3b93219ea854220f0fd264b86398cbc53 and fixed in 7.1.3 with commit 670fc6a311ed321522b7fff92cf0fc376b4f6e78 Issue introduced in 4.20 with commit 00d60fd3b93219ea854220f0fd264b86398cbc53 and fixed in 7.2-rc1 with commit cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b 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-63824 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: security/keys/keyctl_pkey.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/622ec2dcd59f21623f2a7ab773c80ceb7d555e3a https://git.kernel.org/stable/c/b1e247338bc71826a2d2def3e0874c34749df69a https://git.kernel.org/stable/c/0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3 https://git.kernel.org/stable/c/5966e4e2ba213ab7ad559166152eb4f1f170dd2c https://git.kernel.org/stable/c/5165f1cc727f1322456735df212d8e26ec237a8d https://git.kernel.org/stable/c/b11c1fa32667692a2c0566e10163758e786e430c https://git.kernel.org/stable/c/670fc6a311ed321522b7fff92cf0fc376b4f6e78 https://git.kernel.org/stable/c/cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b