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 BD2874CB8A8 for ; Fri, 4 Sep 2026 15:55:42 +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=1788537344; cv=none; b=qV/q7B+FFvVqQPtcK0IRWXt7L7aIvSSEfIb8TnkxrY3+Qk7fEBX4r0r4s5+vNva0KVD/ZcW8MdfuzbPJp+prTSIET+3/LKMrAC2b3fmmwm1/LRnLQNXaNIZNy4XUeogisrpLTR0sriahag76vEyqXCguA9AxqUGTb9LNz8xkM/A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788537344; c=relaxed/simple; bh=caXMNAnwxJWktay2NzIvuZOnT7VEJ6j3iMAMnLHgVGw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cd1S4u7TaeuRFVXg1CVEyI2Q86wHwRqsekVg2qZOGUaZrJB0ND8gnGeDwYu2X3i90L+PvPdHZ3rOj+ePrZ2Cjgg1uacK3PKyTjVvglfWUiodwoQqRsE5zRzMznIn5UTrd36XFpbDIWtGVtgfjzEDNevEC4k95Qwq4uc6f0KVYFc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jGRw7B7b; 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="jGRw7B7b" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 082E31F00A3D; Fri, 4 Sep 2026 15:55:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788537342; bh=xGcuwjVa/G3CFyfhzDq3mhoa2SRWeBn4lu26Nvr1cyg=; h=From:To:Cc:Subject:Date:Reply-To; b=jGRw7B7bEZmKLsKLLtNh33CCxeaQpoV1b6TQ2olIbpP9yI3FzHf9PmR+9+xIkQJwO 0pJYFPFD5DRwVrgcj+3xqude48p5JRh/GhaWpKcrC3+76yTSvu7Lz5S8I0ZP3Z11fw Asl2JCaC0eMH8QIdAgKoZZVOHtqxpK+a5QGSSx/w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80835: crypto: qcom-rng - Remove crypto_rng interface Date: Fri, 4 Sep 2026 17:53:02 +0200 Message-ID: <2026090456-CVE-2026-80835-3dd6@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=3407; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ghTaI+tAYvfOYGSSbY4xdL9B1i28vLR9yOsvfEJUiPE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmzXkY8lf/Cu+7FjLlLu5rjPytrCs2xtVRm+xv5+57Bh 8iTHhcnd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEZJcwLJgSqNpwTPryorW/ Pe29Jn349o7TgY1hweyIlz85VqxJn3QmQHvqy6omqc7yiwA= 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: qcom-rng - Remove crypto_rng interface qcom-rng.c exposes the same hardware through two completely separate interfaces, crypto_rng and hwrng. However, the implementation of this is buggy because it permits generation operations from these interfaces to run concurrently with each other, accessing the same registers. That is, qcom_rng_generate() synchronizes with itself but not with qcom_hwrng_read(). This results in potential repetition of output from the RNG, output of non-random values, etc. Fortunately, there's actually no point in hardware RNG drivers implementing the crypto_rng interface. It's not actually used by anything besides the "rng" algorithm type of AF_ALG, which in turn is not actually used in practice. Other crypto_rng hardware drivers are likewise being phased out, leaving just the hwrng support. Thus, remove it to simplify the code and avoid conflict (and confusion) with the hwrng interface which is the one that actually matters. The Linux kernel CVE team has assigned CVE-2026-80835 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit f29cd5bb64c258f29b4c49452532481f50eb43ca and fixed in 6.12.108 with commit bb474dcd9d0224264a27a60891f00872b879835f Issue introduced in 6.7 with commit f29cd5bb64c258f29b4c49452532481f50eb43ca and fixed in 6.18.49 with commit 14d9ee8286460a7b82f3b8610b5c7ebf4550b06b Issue introduced in 6.7 with commit f29cd5bb64c258f29b4c49452532481f50eb43ca and fixed in 7.1.13 with commit 843e2bdaf8deb8bc341203094dfe582e38ea4af2 Issue introduced in 6.7 with commit f29cd5bb64c258f29b4c49452532481f50eb43ca and fixed in 7.2.3 with commit 669d940351eda316b82e24986e2e0e057653ce7d Issue introduced in 6.7 with commit f29cd5bb64c258f29b4c49452532481f50eb43ca and fixed in 7.3-rc1 with commit 2ecdf5c9910e20f73639bc322f0518a3439d17c0 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-80835 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/Kconfig drivers/crypto/qcom-rng.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/bb474dcd9d0224264a27a60891f00872b879835f https://git.kernel.org/stable/c/14d9ee8286460a7b82f3b8610b5c7ebf4550b06b https://git.kernel.org/stable/c/843e2bdaf8deb8bc341203094dfe582e38ea4af2 https://git.kernel.org/stable/c/669d940351eda316b82e24986e2e0e057653ce7d https://git.kernel.org/stable/c/2ecdf5c9910e20f73639bc322f0518a3439d17c0