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 2890A4F0525 for ; Fri, 4 Sep 2026 15:56:54 +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=1788537415; cv=none; b=eBDAUHHT3m6qySUlwulyaLXVpuP5K2hCS03lBSAULypQI7lBf0ahqto+if8nytXD5UoFJ620cMmYb8+b3Raw8NQaOweyj96JITkKfAJSRPtUHyGyJqzMPbLz0LjfgJIrEuPMlx6lbX0IHgoGnQT7Fy4I/jYWaBC5utT+9P4U42Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788537415; c=relaxed/simple; bh=ISMm44ZRw0PX7hfTgD/aeccMMW9FleuWaGIAFOYJkP4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BDQgrEuJXU4zv9VKRSGWBrDeC6JJqa3NlVHxeBE556Jb35MLGxMJOUNKWAZPB5CyCctZgHtotp66lEPdD42/cDzUnK8kMYwBYo2a9Ff05ojcf/TBmWhKiSsjEXIWUNqOTHM6yjKWfMFSdI4XWyJxx9wUlwB360E2tM/52Gnqhko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1mILNKwH; 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="1mILNKwH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2844B1F00A3D; Fri, 4 Sep 2026 15:56:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788537414; bh=gafmOSIqV9nZgIuiLkScAJEWJYjIJtaTXVBdu4WREJg=; h=From:To:Cc:Subject:Date:Reply-To; b=1mILNKwHVdM0wvfXuKlFO65utth3bQdW/44lgtFT0V30CuLIm25EccVHlaxBxbnPR DIEt7GPGcPFze7+G9RicjJcfD9it7B0oMYZ62heqW4OYoNUFbjrfRmVL6sX2Ol7pjI R5PurC18q4HG/YUVrLkIgWcAnWHwBduE4MSulO8Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80833: crypto: sun8i-ss - Remove crypto_rng interface Date: Fri, 4 Sep 2026 17:53:00 +0200 Message-ID: <2026090456-CVE-2026-80833-6996@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=2697; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hEbbtlTfl7PagIAbShqJaT7CIJNZ/iKXg9rDK795FmA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmzXkZoVeeaTC3apr5hd53syyscPWnX9W4oiLz8MV3y9 P8q/vyHHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRc0wM87Mfy+bdld8Z/Mfu +6ld2tkLxOzZTzHMM8/PTZj5y9GGWWuyUtbMs1VffdPCAA== 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-ss - 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-ss support which is one of the only remaining ones. 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. Also, it had a buffer overread bug in the line 'memcpy(ctx->seed, d + dlen, ctx->slen);'. There's no point in fixing these bugs 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-80833 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit ac2614d721dea2ff273af19c6c5d508d58a2bb3e and fixed in 7.2.3 with commit 8ab58786b4c63b8f1b6c522f33bb67a3c8c2791f Issue introduced in 5.10 with commit ac2614d721dea2ff273af19c6c5d508d58a2bb3e and fixed in 7.3-rc1 with commit a78446ee6fae86ac8733f120e3ffce2e5d9384f5 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-80833 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-ss/Makefile drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c drivers/crypto/allwinner/sun8i-ss/sun8i-ss.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/8ab58786b4c63b8f1b6c522f33bb67a3c8c2791f https://git.kernel.org/stable/c/a78446ee6fae86ac8733f120e3ffce2e5d9384f5