From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796290225; b=onzTFaOe4Xhkir4I2rjahGAPlx1puNbj81a/fKhZNg5cwgB8jA5uVGRfWa2T04W+v2G0 3m+CAiGwoJoQ7Z2LjSZeb/Nd0YF7F+4HvltlKKo2gjS/eOTInprf120iFadP+TxlV3LiZ t9iMQ2X08LeHkqQMHxCjRjwmLWKYD9OtnUP/4WJWQ7j+V2ke7lAv1tpda8T7QS01mW2Rj G2jPOafYlNSQzBqY4Hsjv96rQES53MacukjgdxLqQYdpIuJ3ldDsDdbmZ/gE26VrIuQpE t+gRlsr1sCxGmn+fwY6sajD+gqAWRKMKIHFO/ZcpPUZ7z+MmU5cGP1zawAl8UYqZmuw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796290225; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=qRnhInI//iNVfbcOHZZoG+srYIR12iZgeHb/2TAh9ME=; b=wM9+CFn4NyCUYsfZcJbckMqrEp89FzF8jXyT5k+VUvdrH5RDt7ir5jkN1NJHBFpSx0kA ch6KluimYj+C0cMhw3EBDoq4LWxT5a/0zvKyOUxKaWyEIrd0DBSO/73BYQjO4scfux4QM fYRb6pBU1OE4UpaB3nyfKjpIK/VTT4mr+HoD/bpcS7QIr7sXVS/zdWbo6uO8eqCTTnfju CXC/5WygLbs7Qku/QpzMFgebyBJ9hMAvhKutUSnGbLvH5apvo0Gvi19y517AG7zZxXuBT /BFDkSPI87hZD5juFfDoCNMu0jJhvokslYLjrm2/nx4h4kPJSTtrAv/wx2yYYZWIQqw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=UnjDzaS7; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5ACAF606A32F for ; Thu, 3 Dec 2026 09:30:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=UnjDzaS7 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A60261F00899; Thu, 3 Dec 2026 09:30:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796290225; bh=qRnhInI//iNVfbcOHZZoG+srYIR12iZgeHb/2TAh9ME=; h=From:To:Cc:Subject:Date:Reply-To; b=UnjDzaS7LwnR0x2ZmjZVG1dlVheIGisXz277zw85zgOwNHbijft9di4LRRPNJmFOO kLkzjsRDWkgoAYRLOGC7KeWQH9DOwWDEyYlj/G5G7m2gGBPXk8fVGnmIxDzTnGLVjm jI9SdT0tdHJzAeWpq+GsUIPMbS0PNTDLITIbmbe4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-143183: KEYS: Reject descriptions larger than KEY_MAX_DESC_SIZE Date: Thu, 3 Dec 2026 10:20:19 +0100 Message-ID: <2026120311-CVE-2026-143183-8930@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3249; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5vNzpeYUnF9ayM9meeTK60RHlbKrHuN1z6qClIJACqw=; b=owGbwMvMwCRo6H6F97bub03G02pJDNmCxtP9YnanFjDolq/Rfbhm4VX/hJNC054q/Fmwlmtyv GjE5sWHO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiEl8YFvSxbTjQ2HSM2e+s febWthO/Dkyq0mOYX/PRaU78mdiPWQVJUh7zao2v7ldYCgA= 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: Reject descriptions larger than KEY_MAX_DESC_SIZE KEY_MAX_DESC_SIZE includes the trailing NULL character. Descriptions generated from payloads and in-kernel paths bypass the userspace limit. Reject descriptions at or above KEY_MAX_DESC_SIZE with -EINVAL at the following sites: - key_alloc(): before quota calculation - __key_create_or_update(): before key_set_index_key() - keyring_search(): before match_preparse - request_key_and_link(): before match_preparse - request_key_rcu(): before check_cached_key() The Linux kernel CVE team has assigned CVE-2026-143183 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit f771fde82051976a6fc0fd570f8b86de4a92124b and fixed in 5.10.276 with commit 950d825871a8f593a4ab6cdd58b18c3c2da925e2 Issue introduced in 5.3 with commit f771fde82051976a6fc0fd570f8b86de4a92124b and fixed in 5.15.227 with commit f9623091538bc2f387eb36da5f1604ac635b07fb Issue introduced in 5.3 with commit f771fde82051976a6fc0fd570f8b86de4a92124b and fixed in 6.12.120 with commit 812b5a3e77f86be25d8bc778b37a93e77aa8c20f Issue introduced in 5.3 with commit f771fde82051976a6fc0fd570f8b86de4a92124b and fixed in 6.18.66 with commit e2e9a6f81ec8cc64a4a97c508eb24cd2d4742679 Issue introduced in 5.3 with commit f771fde82051976a6fc0fd570f8b86de4a92124b and fixed in 7.3.7 with commit 08d250b1afb24098824bf815e1c8ee84c58c5593 Issue introduced in 5.3 with commit f771fde82051976a6fc0fd570f8b86de4a92124b and fixed in 7.4-rc3 with commit 094c53d2994975e36d4cab7cf5d9f34c1b0f1916 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-143183 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/linux/key.h security/keys/key.c security/keys/keyctl.c security/keys/keyring.c security/keys/request_key.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/950d825871a8f593a4ab6cdd58b18c3c2da925e2 https://git.kernel.org/stable/c/f9623091538bc2f387eb36da5f1604ac635b07fb https://git.kernel.org/stable/c/812b5a3e77f86be25d8bc778b37a93e77aa8c20f https://git.kernel.org/stable/c/e2e9a6f81ec8cc64a4a97c508eb24cd2d4742679 https://git.kernel.org/stable/c/08d250b1afb24098824bf815e1c8ee84c58c5593 https://git.kernel.org/stable/c/094c53d2994975e36d4cab7cf5d9f34c1b0f1916