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 C3DA13F88A6 for ; Sat, 15 Aug 2026 12:33:27 +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=1786797208; cv=none; b=V8bbnO6i+DZD8VF+iXdSBFV2qMFcBbeL7qsk7VLnWmIePFGTl0GYYs5LVc5qblOR5DGpmLAnfUHvlO+4KU8kAGri5edXsJQXkbwN0bfkRpgat89kci0sTAoCX6CtoZBznHKm/c1BdX+MCCiSCv8jDtw+Wg6YIT7AgQcoRW+7r5U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786797208; c=relaxed/simple; bh=K0QKjLazqj3XQZxe+QxHBI1sfJyYCDbXcgOb9ZuL8LQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kg28cd7U+bocc3VHQOSBd1B2VgXxLOcvW0bvZ8C6VlP5D4WhbsDwqq3ctjJMZopr3j/QwHm4e/prG000YLexMfLlR/8DcIPGqWXilKZcLTjSkGKFYjfeYWMg6YlXRB2JmTeNR37DLa/zi5uCqNseoMoBiyFrjz1VV0mZuWd5h6U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=s1WsgBSf; 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="s1WsgBSf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 296EE1F000E9; Sat, 15 Aug 2026 12:33:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786797207; bh=Dkuhj1j9ajICrSF3IhjUwIBb3efr6PA7iyM1L9+2wwA=; h=From:To:Cc:Subject:Date:Reply-To; b=s1WsgBSfQCPuJXtDZXJLoO52yjrfvJ8nHJOGfrrR0KyfntkfsOKtNJi4Jyfpjix/3 4dBWJYCyGqSOBtu6bHViqZy1KSM9maTIY+hYHEzg5gU2pBKkEQLUFE4aTvdFYUeZEa 3qgoSMcE8wF/3r+ZYMVM8ACJ/+HU1z+YOz+LryTI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74567: keys: fix out-of-bounds read in keyring_get_key_chunk() Date: Sat, 15 Aug 2026 21:27:28 +0900 Message-ID: <2026081553-CVE-2026-74567-3050@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=3074; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vfgkoopu62KkvRB9BADzR+5okZ2O2BOrzIYbWT6BsQA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNURe728zf3Yhwc5m6siCs2Z7p1sx/D4S6tqukNhnkb yvgOpDTEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPpesEwv4SDaWJydynz5eMX r79+WSZ5zK8nn2F+FOMcq71P4956rFylsXYd95Q7tinBAA== 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 out-of-bounds read in keyring_get_key_chunk() For description-level chunks keyring_get_key_chunk() advances the read pointer by level * sizeof(long) past the inline prefix but only bounds-checks the prefix, so a long enough key description is read past its kmemdup(desc, desc_len + 1) allocation. Compute the full byte offset and bounds-check the description against it before reading. The walk only reaches a description-level chunk when two keys collide through the hash, x, type and domain_tag chunks, so this is reached from an unprivileged add_key(2) with a crafted pair of same-type keys whose index hashes collide; KASAN reports a slab-out-of-bounds read. The Linux kernel CVE team has assigned CVE-2026-74567 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit f771fde82051976a6fc0fd570f8b86de4a92124b and fixed in 6.6.151 with commit d1933e03e8c74a018550c31a393b79c4d95bff40 Issue introduced in 5.3 with commit f771fde82051976a6fc0fd570f8b86de4a92124b and fixed in 6.12.103 with commit 3a744838453fb9309ce5a5526d3252e211d60152 Issue introduced in 5.3 with commit f771fde82051976a6fc0fd570f8b86de4a92124b and fixed in 6.18.44 with commit e9417d21a22ad2ec398e78fcf084b717ce92cf2f Issue introduced in 5.3 with commit f771fde82051976a6fc0fd570f8b86de4a92124b and fixed in 7.1.8 with commit 8dba33c1e779d0fb9a2acb31e354cf0fc0229111 Issue introduced in 5.3 with commit f771fde82051976a6fc0fd570f8b86de4a92124b and fixed in 7.2-rc6 with commit 63918731f9ae25b5deb022f118e941e6dddfcef4 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-74567 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/keyring.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/d1933e03e8c74a018550c31a393b79c4d95bff40 https://git.kernel.org/stable/c/3a744838453fb9309ce5a5526d3252e211d60152 https://git.kernel.org/stable/c/e9417d21a22ad2ec398e78fcf084b717ce92cf2f https://git.kernel.org/stable/c/8dba33c1e779d0fb9a2acb31e354cf0fc0229111 https://git.kernel.org/stable/c/63918731f9ae25b5deb022f118e941e6dddfcef4