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 8842F38D416 for ; Wed, 24 Jun 2026 07:15:45 +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=1782285346; cv=none; b=jn0o5jg3K/jeFLriopj6xUHO0KdaqQDGi0n2SrnHQ9v2iZXPo9DSG+NjB0bFwnguoOCiDlBHuJB4VYEjDrZeIT/5HxrzX2Ui1xfE5XEpYSMXkt3AwAM6Xgltuwr/PGuHKlvEjs43gjmpe39ZJCfiGVAT7su5Q90J7UuQXoxhOUA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782285346; c=relaxed/simple; bh=YJ7WPf/oxhRU+S+pGhioEZUH/h6KgblZjXM+smDyR/I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=L5mermCLPNM6g6cm/orYEKfPelPIOPz99vi3rC35jPnb53bQfnmMnb4Mdw4zdO0pqA1PJjDRuwwY0C5EqAu2sqEOTBnrBpm8RfLNs+F/fFPbT1Mwlvxu7CzcOjrhznNB34Zy+adhxTWFWFigEtasvM9cedJmuhPgwFrhxfM8/Vc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=J5DR3U61; 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="J5DR3U61" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7E691F000E9; Wed, 24 Jun 2026 07:15:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782285345; bh=uoY8/geA2QJuMHxnh+M4OIltl39rZqdajVdNJM5pLiQ=; h=From:To:Cc:Subject:Date:Reply-To; b=J5DR3U61q9tT94ZaGbK69lz/UZYMaIY1dkvrxX3wnKC7OqVDuvrbfjZTWXznQYcVT g4DL9N27XVBKl0QpxmGLbJhkFSkNuDiC4iaWvsLSBCGr8mQ/hC4G/Ux8GW1xusxwmV cuAVl1Hxmn4rYjHCE4MV7ieMbw/WT04dlurG/TEg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-52936: crypto: jitterentropy - replace long-held spinlock with mutex Date: Wed, 24 Jun 2026 09:13:51 +0200 Message-ID: <2026062434-CVE-2026-52936-345e@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=2931; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kWNqHDwTPjLMIOyx/2aJuVBGTTgekWKjBiUBqEfWjVc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnWzfOsJ0Xvll41fWPLpEN6GpXT51+NsbQrkC8wPqX2U lSWTT+uI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYir8MwP++r4maD12ebjMQO tN3es2aT8Mt3dgyz2Q7/XXLm0u7t20sfXZp3kXHtD1e7awA= 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: jitterentropy - replace long-held spinlock with mutex jent_kcapi_random() serializes the shared jitterentropy state, but it currently holds a spinlock across the jent_read_entropy() call. That path performs expensive jitter collection and SHA3 conditioning, so parallel readers can trigger stalls as contending waiters spin for the same lock. To prevent non-preemptible lock hold, replace rng->jent_lock with a mutex so contended readers sleep instead of spinning on a shared lock held across expensive entropy generation. The Linux kernel CVE team has assigned CVE-2026-52936 to this issue. Affected and fixed versions =========================== Issue introduced in 4.2 with commit bb5530e4082446aac3a3d69780cd4dbfa4520013 and fixed in 6.6.141 with commit 18216b8ab6904753eaf31baf453cb02ecd202ba4 Issue introduced in 4.2 with commit bb5530e4082446aac3a3d69780cd4dbfa4520013 and fixed in 6.12.91 with commit 4c03e6eb98443dc4d6d422a9780034a5b75376b4 Issue introduced in 4.2 with commit bb5530e4082446aac3a3d69780cd4dbfa4520013 and fixed in 6.18.33 with commit ff734dbd9e2432601a6dcd167cfb0bf8a36d1880 Issue introduced in 4.2 with commit bb5530e4082446aac3a3d69780cd4dbfa4520013 and fixed in 7.0.10 with commit ec427dc5286da1ed08f2d510e2147a7581b0cb02 Issue introduced in 4.2 with commit bb5530e4082446aac3a3d69780cd4dbfa4520013 and fixed in 7.1 with commit 01d798e9feb30212952d4e992801ba6bd6a82351 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-52936 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/jitterentropy-kcapi.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/18216b8ab6904753eaf31baf453cb02ecd202ba4 https://git.kernel.org/stable/c/4c03e6eb98443dc4d6d422a9780034a5b75376b4 https://git.kernel.org/stable/c/ff734dbd9e2432601a6dcd167cfb0bf8a36d1880 https://git.kernel.org/stable/c/ec427dc5286da1ed08f2d510e2147a7581b0cb02 https://git.kernel.org/stable/c/01d798e9feb30212952d4e992801ba6bd6a82351