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 8DCD03C0A02 for ; Wed, 27 May 2026 13:02:28 +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=1779886950; cv=none; b=elg6mggbbubakDKruEjJ9/uAyUmLv5wjd3Lo8zTSW7w8W8suSMDPF3jgfm/UqCNHkaQBe1Z8wQVKL0J2Fgb2XapWgDcDRDeSzBW1cmiUOgpaBD1CE8xF71rDYg5S+K5PfnTZRhuwoy5/utZ8xwfc+7yhYBlFXOIYnyhlArOjs3o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779886950; c=relaxed/simple; bh=esmgC7yNbc5mo3/pqYrS5p4nupUAJ5M8aVBcXzR9TP0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Qh7p9UkyBnhfzRDbM3u09maWBhgFyaloBV06TYVzGNJeRuhRXpktCtFZhGJvkjPHcuZ7VcTWwC3Ri3/bRjwOMrXdc8i4Wyt8Px9/zLYKovSu0oE1H29zxMmQ0t2/ydVryLca+qfqCGKQHZ7HIDQc+iu6v9QXjcKbCbiOrzy3Q/Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vOUDxt0P; 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="vOUDxt0P" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 137EA1F000E9; Wed, 27 May 2026 13:02:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779886947; bh=/EjEVhSy1cLt/j6U5LWSRW8hb9tK4xQy5Ww5uvIKadg=; h=From:To:Cc:Subject:Date:Reply-To; b=vOUDxt0P4mwdE6EGauqL9C34JgY3v5eTo3T8n0xJj5uZ6epwxSrXyKB8E5yuKWa7A f1TTgW5RHkivlUlyi/xbyQradokQmwFlKoJaGd1Ob4yXShJvxkQhQtQlIlBHsFCTZi ERPEKmbX60M0qEimSlMi0RpvD3OG5sKCUW+gL7u0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46033: crypto: authencesn - reject short ahash digests during instance creation Date: Wed, 27 May 2026 14:59:24 +0200 Message-ID: <2026052749-CVE-2026-46033-dcad@gregkh> X-Mailer: git-send-email 2.54.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=3442; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dcbTjOr/TInnNCk7xBKBIRO4ZZ+JpwsicTCih7UqEDk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlirzpX+65a12z6/y7/jE9ThM88LVE1T9Lm2/UipmKS4 gtns/NyHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR9V4M88yn71GK3Mh/5pRm RqvSgaJAgw3Gmxnm5xvNa5r+yNuEx3mR9+mW2JylNvuOAgA= 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: crypto: authencesn - reject short ahash digests during instance creation authencesn requires either a zero authsize or an authsize of at least 4 bytes because the ESN encrypt/decrypt paths always move 4 bytes of high-order sequence number data at the end of the authenticated data. While crypto_authenc_esn_setauthsize() already rejects explicit non-zero authsizes in the range 1..3, crypto_authenc_esn_create() still copied auth->digestsize into inst->alg.maxauthsize without validating it. The AEAD core then initialized the tfm's default authsize from that value. As a result, selecting an ahash with digest size 1..3, such as cbcmac(cipher_null), exposed authencesn instances whose default authsize was invalid even though setauthsize() would have rejected the same value. AF_ALG could then trigger the ESN tail handling with a too-short tag and hit an out-of-bounds access. Reject authencesn instances whose ahash digest size is in the invalid non-zero range 1..3 so that no tfm can inherit an unsupported default authsize. The Linux kernel CVE team has assigned CVE-2026-46033 to this issue. Affected and fixed versions =========================== Issue introduced in 4.11 with commit f15f05b0a5de667c821a9727c33bce9d1d9b26dd and fixed in 6.6.140 with commit b69933e97efea238ebbfcf70c2b1be1cd03f13e3 Issue introduced in 4.11 with commit f15f05b0a5de667c821a9727c33bce9d1d9b26dd and fixed in 6.12.86 with commit 67f1f0933cc3d78dde222842bcad2778ec7a0b88 Issue introduced in 4.11 with commit f15f05b0a5de667c821a9727c33bce9d1d9b26dd and fixed in 6.18.27 with commit b42821c15445f93daea3e76ada682b2b7181c476 Issue introduced in 4.11 with commit f15f05b0a5de667c821a9727c33bce9d1d9b26dd and fixed in 7.0.4 with commit 9aff81e8217e9de2929084b03b3c7f81988c112b Issue introduced in 4.11 with commit f15f05b0a5de667c821a9727c33bce9d1d9b26dd and fixed in 7.1-rc2 with commit 5db6ef9847717329f12c5ea8aba7e9f588a980c0 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-46033 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: crypto/authencesn.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/b69933e97efea238ebbfcf70c2b1be1cd03f13e3 https://git.kernel.org/stable/c/67f1f0933cc3d78dde222842bcad2778ec7a0b88 https://git.kernel.org/stable/c/b42821c15445f93daea3e76ada682b2b7181c476 https://git.kernel.org/stable/c/9aff81e8217e9de2929084b03b3c7f81988c112b https://git.kernel.org/stable/c/5db6ef9847717329f12c5ea8aba7e9f588a980c0