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 3087D408025 for ; Wed, 27 May 2026 13:04:25 +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=1779887066; cv=none; b=PPMCwx5wCpiOStt5eAjCx8M+9jG0Oc5tgEBPdUyhPF866jkiSJtjvh/UxDD2ZnLSJLp8RvraTyDcK7LLSA1BGYMciKBNSIUHe/sTVMnTSEne0b5rwZ/XFA/br/wAQnQDwJFuqKmjLYod+TvitXUBbjSc/QxeYVyKYg/cxkNBk0k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887066; c=relaxed/simple; bh=LZ7M1t0BmdqKNFV39mQu4n5AAvdVhRTJ0uYsFmEyoFM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eofTNc9EFoDZpof9cQkl6JTwpHIejlQIA/O3rbjVE0osqHSdtH05RuWFY89yYGdnODepBP2qz7NCJ3ZUkGHlY6wUHnok+i8idgu7NDNUiOUezBCi7v2gMjJghv1/jJWlx/2507rscFEsht4SvFJQ9nAueEhAM6SilTeoPbcIvu8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=w66+IZME; 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="w66+IZME" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8270F1F000E9; Wed, 27 May 2026 13:04:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779887065; bh=uhg2XYsKrkBxrODav3ADxl/zNjtEMGUP/qzx+xeb8V0=; h=From:To:Cc:Subject:Date:Reply-To; b=w66+IZMEJFxpmtNN+ptZ951jwXNRgnXxoqCpykTm6Rb47Kv5wkflnxvSMC4zh2lvO 2W7yfrumHkpBkkLOUcGjKWWa9PMV5QGvGGcz9FR95wmS5jPNmMQJbnnzM1sW/MbLjC rt0ufPdtPlGFZE+nwkj7p2tt6YTXREGM4y0/qAIk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46068: crypto: nx - fix bounce buffer leaks in nx842_crypto_{alloc,free}_ctx Date: Wed, 27 May 2026 14:59:59 +0200 Message-ID: <2026052757-CVE-2026-46068-1fce@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=2720; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nz4V70GJvHh6mMr8TLla5Q4zJLrO4iPeYcCbWvjsJjc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliryZ+77f/KlYzlddicfd2sXLRW7LZyzg+F/2X8bvlX 5LNq1PVEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNJ+M+wYEfp3k9M8Vz3ria6 7vBbxPg+3EdnK8M8rRermjPmOKZsymMwfpGqNtk0aIMIAA== 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: nx - fix bounce buffer leaks in nx842_crypto_{alloc,free}_ctx The bounce buffers are allocated with __get_free_pages() using BOUNCE_BUFFER_ORDER (order 2 = 4 pages), but both the allocation error path and nx842_crypto_free_ctx() release the buffers with free_page(). Use free_pages() with the matching order instead. The Linux kernel CVE team has assigned CVE-2026-46068 to this issue. Affected and fixed versions =========================== Issue introduced in 4.2 with commit ed70b479c2c0b6e1319f0cb2de19f1051be219a4 and fixed in 6.6.141 with commit f17a4850d1ce7c11cba8b1830b9bfedfede878bb Issue introduced in 4.2 with commit ed70b479c2c0b6e1319f0cb2de19f1051be219a4 and fixed in 6.12.88 with commit 910bb34b801d39794e656f7d48414844b2bd354e Issue introduced in 4.2 with commit ed70b479c2c0b6e1319f0cb2de19f1051be219a4 and fixed in 6.18.27 with commit 5c07962fed66e1238fad7635fa150570bd38b4c5 Issue introduced in 4.2 with commit ed70b479c2c0b6e1319f0cb2de19f1051be219a4 and fixed in 7.0.4 with commit 80fd99d7c30ea889662d21f1b44d8fea4c83138d Issue introduced in 4.2 with commit ed70b479c2c0b6e1319f0cb2de19f1051be219a4 and fixed in 7.1-rc1 with commit adb3faf2db1a66d0f015b44ac909a32dfc7f2f9c 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-46068 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: drivers/crypto/nx/nx-842.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/f17a4850d1ce7c11cba8b1830b9bfedfede878bb https://git.kernel.org/stable/c/910bb34b801d39794e656f7d48414844b2bd354e https://git.kernel.org/stable/c/5c07962fed66e1238fad7635fa150570bd38b4c5 https://git.kernel.org/stable/c/80fd99d7c30ea889662d21f1b44d8fea4c83138d https://git.kernel.org/stable/c/adb3faf2db1a66d0f015b44ac909a32dfc7f2f9c