From mboxrd@z Thu Jan 1 00:00:00 1970 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 087D7471D10 for ; Fri, 4 Sep 2026 15:55:22 +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=1788537324; cv=none; b=MhLawpYN9ovpXg2YRQ4B01/IXcmPFjubNoel8PdCiu5iYEpw4WDc2a/SyuzkGqGO9CQWzz5LOcK67aI/LM9mIOTsztOKyEZdoFNMrzNyYxOSFT0QMLyjbw2m0dIMxLqnLeVtmH0tOMqtvO4VZDZ+keQUL5HkgXDrQGhacXe6hvU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788537324; c=relaxed/simple; bh=GIkjPLYgK0AlwCKLU6L1uvxp+6eYo72CK5JTNDENRcw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rV3s5hTE51cEmk2UgYNLHoUlFozN8OK+vgo7FK91p9gMhQRFB9U4jk2NB30a+PG72OUacmZv5xW6RPRl7aNOKIhjwmICPOkvqv3NgcE+MG1OJj1A27eaXcH5kPRYEfhNnNleHLLocyyJQ/stLmGowZstVWuRgthDFGLIJlcQseA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dNBRaTLR; 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="dNBRaTLR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE9371F00A3D; Fri, 4 Sep 2026 15:55:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788537322; bh=quZYcLr54TEd14UovZbCBcuqhu6ePPuHhkxetCSCwjE=; h=From:To:Cc:Subject:Date:Reply-To; b=dNBRaTLRMVQbxeQRjYrf0jeL0Zp78NKkaC1HSrvXQheMHmnoe/aLqEb1+N9GwkJNg 9kjUCshC5QvoTFgoorIHGBq/IUxl6pTJcZtGpJuyGsBKSaQdQou1eZ3MtjAbE2mjKK tpqmhIWy8x5Vbo8bBLDdFe8zk71fZPvQ78hWI2uM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80834: crypto: sun8i-ce - Remove crypto_rng interface Date: Fri, 4 Sep 2026 17:53:01 +0200 Message-ID: <2026090456-CVE-2026-80834-e881@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=2709; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pjL+iU+p5ikVHhCAMxFb/ANPNt4r5N+tNmfpDJJrCHU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmzXkY4XtjQ+nlHkMsD4aPSMq2fNZIe5cS6/5h+QI7vv WPCrbYfHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARdUuGBSs+dax7v0daSWe7 +/w9n7T+HP1ulcywYPH7hz94ejlbFxxMiv6asEedV3yGBAA= 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: sun8i-ce - Remove crypto_rng interface Since the crypto_rng interface for hardware PRNGs is unused and is redundant with hwrng and the actual Linux RNG, it's being phased out. Most drivers for it were already removed. Go ahead and remove the sun8i-ce support which is one of the only remaining ones. Note that the sun8i-ce support for hwrng remains in place. That is the interface that actually matters. As usual for crypto_rng, this driver was also buggy: its ->generate() function had a use-after-free vulnerability due to using wait_for_completion_interruptible_timeout() without handling shutting down the DMA operation if a signal is sent. There's no point in fixing this separately only to remove the code anyway, so this commit is marked with Fixes and Cc stable. The Linux kernel CVE team has assigned CVE-2026-80834 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 5eb7e946888493959b1c393144934afcbcd0cfc1 and fixed in 7.2.3 with commit 1017f987c5f0841f00408a78f947990c9d84b346 Issue introduced in 5.10 with commit 5eb7e946888493959b1c393144934afcbcd0cfc1 and fixed in 7.3-rc1 with commit 011556f71d094da61379ae3672692cae2795304e 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-80834 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/allwinner/Kconfig drivers/crypto/allwinner/sun8i-ce/Makefile drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng.c drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h 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/1017f987c5f0841f00408a78f947990c9d84b346 https://git.kernel.org/stable/c/011556f71d094da61379ae3672692cae2795304e