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 568C840913B for ; Wed, 27 May 2026 13:05: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=1779887146; cv=none; b=swmE9Ju2IUS5I+WGYL/L5nfs2QUM0rTQK8oaGgSN6kSLb2pgXB69SW5sV61SQGa/mcixq6wytJlgH8UbPNTj3lT0u7HJCH/2TPPSUA6qqCbkX0Y7h5eFZUhguNf6bDC6qDtt9Gww+s641w5aUf6ID72v4rim+LvUMUmwts0VVOg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887146; c=relaxed/simple; bh=iq3D9MDRuwQWDxHugH9Kq91i3c37aq4qoV9wigw2s7s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=c1nGHi1r9u4llRfyxx79C89uccJbQ/279VUNG/IY4hCuBZMwINrQ9jrdJGbj9y2Da8VzINmnZz1oujQZucClPjc49ZPBvcT5UFZX3l92i+WIycZQtBTViXEBArBM92/df1wFzt3UruAL4prkd2Ti8J+arcpxqHKd+E5BDhHcJSc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WTMzxcER; 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="WTMzxcER" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A99101F000E9; Wed, 27 May 2026 13:05:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779887145; bh=uwJjbDcn7czYhpap375MS03G5Gou4Rt5Q8Y2cyTQ46Y=; h=From:To:Cc:Subject:Date:Reply-To; b=WTMzxcERR6lpUTpryP1wr5dG6N8U2N4pFhaXH94Gd4q+4geKoynxTQOELGhmxCyn5 +F+Y5eR44PU9BBcyUhiFoimtiG++7URBnwbVpd/WyG1vZXZVdeOheTU9gOQ/LNUz/v z9SFvt2F5oZCGv93LQ9Fq5d5IOGoEh7b7NULHV14= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46075: crypto: atmel-sha204a - Fix potential UAF and memory leak in remove path Date: Wed, 27 May 2026 15:00:06 +0200 Message-ID: <2026052759-CVE-2026-46075-8a6c@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=2775; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TrZ7IUZv/a+A4gADSSBm2iMlwASv7YIoppea9qfteX0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliryZn22189tLx8vavbq3H1NjS/R1d3p092Mp+I6lp8 3atzoWfO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi50wYFrTzXl8ktLOiLkUx WelP4Z53mQzLTjDMs2eJ5TRc/fCGp8FUG1aVomdGe/zvAAA= 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: atmel-sha204a - Fix potential UAF and memory leak in remove path Unregister the hwrng to prevent new ->read() calls and flush the Atmel I2C workqueue before teardown to prevent a potential UAF if a queued callback runs while the device is being removed. Drop the early return to ensure sysfs entries are removed and ->hwrng.priv is freed, preventing a memory leak. The Linux kernel CVE team has assigned CVE-2026-46075 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit da001fb651b00e1deeaf24767dd691ae8152a4f5 and fixed in 6.6.140 with commit c5a45d14234bf26e28a89e3a5dcc08336595cf11 Issue introduced in 5.3 with commit da001fb651b00e1deeaf24767dd691ae8152a4f5 and fixed in 6.12.86 with commit 775c00d87c385b758da9504cf053acea00e2ed40 Issue introduced in 5.3 with commit da001fb651b00e1deeaf24767dd691ae8152a4f5 and fixed in 6.18.27 with commit 1193c12126d39bf986a5a9214827b73707b193ab Issue introduced in 5.3 with commit da001fb651b00e1deeaf24767dd691ae8152a4f5 and fixed in 7.0.4 with commit 31901371ccd16b42d2f167b1018ba9ae8bd5a6c7 Issue introduced in 5.3 with commit da001fb651b00e1deeaf24767dd691ae8152a4f5 and fixed in 7.1-rc1 with commit bab1adf3b87e4bfac92c4f5963c63db434d561c1 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-46075 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/atmel-sha204a.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/c5a45d14234bf26e28a89e3a5dcc08336595cf11 https://git.kernel.org/stable/c/775c00d87c385b758da9504cf053acea00e2ed40 https://git.kernel.org/stable/c/1193c12126d39bf986a5a9214827b73707b193ab https://git.kernel.org/stable/c/31901371ccd16b42d2f167b1018ba9ae8bd5a6c7 https://git.kernel.org/stable/c/bab1adf3b87e4bfac92c4f5963c63db434d561c1