Skip to contentSkip to conversation

CVE-2026-93160: crypto: atmel-ecc - reject hardware ECDH without a public key

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

crypto: atmel-ecc - reject hardware ECDH without a public key

The hardware ECDH path in atmel_ecdh_compute_shared_secret() uses the private key stored in the device. However, the public key is cached only after atmel_ecdh_set_secret() successfully generated that private key for the current tfm.

atmel_ecdh_generate_public_key() already rejects requests when no public key is cached. Add the same check to atmel_ecdh_compute_shared_secret() to prevent the device from using a private key that was not generated for the current tfm.

The Linux kernel CVE team has assigned CVE-2026-93160 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.14 with commit 11105693fa05f499532b330da65c78ff93ed4440 and fixed in 5.10.270 with commit 5e33791dfcc6459e402a524669093cd953d5b2df
	Issue introduced in 4.14 with commit 11105693fa05f499532b330da65c78ff93ed4440 and fixed in 5.15.221 with commit 33241f198287960bba5fc2251400896762650bfa
	Issue introduced in 4.14 with commit 11105693fa05f499532b330da65c78ff93ed4440 and fixed in 6.1.188 with commit 3ea8b780d68f02fe235c5051ce8ac4b4940b9259
	Issue introduced in 4.14 with commit 11105693fa05f499532b330da65c78ff93ed4440 and fixed in 6.6.157 with commit 6457162f74f45284ade2da644a4f0c54758ac0a6
	Issue introduced in 4.14 with commit 11105693fa05f499532b330da65c78ff93ed4440 and fixed in 6.12.110 with commit 2b40bab362d2b598f34e5ccd4694cedc3c2553d4
	Issue introduced in 4.14 with commit 11105693fa05f499532b330da65c78ff93ed4440 and fixed in 6.18.52 with commit e64d6f1aae8c837cb3f0446bf44108226d7370f4
	Issue introduced in 4.14 with commit 11105693fa05f499532b330da65c78ff93ed4440 and fixed in 7.2.6 with commit add28e9988902d29ea93f4869280b4a16a049ea5
	Issue introduced in 4.14 with commit 11105693fa05f499532b330da65c78ff93ed4440 and fixed in 7.3-rc1 with commit f240f9b588f4e2de89822adebf560a96b5d263ed

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-93160

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-ecc.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/5e33791dfcc6459e402a524669093cd953d5b2df
	https://git.kernel.org/stable/c/33241f198287960bba5fc2251400896762650bfa
	https://git.kernel.org/stable/c/3ea8b780d68f02fe235c5051ce8ac4b4940b9259
	https://git.kernel.org/stable/c/6457162f74f45284ade2da644a4f0c54758ac0a6
	https://git.kernel.org/stable/c/2b40bab362d2b598f34e5ccd4694cedc3c2553d4
	https://git.kernel.org/stable/c/e64d6f1aae8c837cb3f0446bf44108226d7370f4
	https://git.kernel.org/stable/c/add28e9988902d29ea93f4869280b4a16a049ea5
	https://git.kernel.org/stable/c/f240f9b588f4e2de89822adebf560a96b5d263ed