crypto: atmel-ecc - reject hardware ECDH without a public key
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 11105693fa05f499532b330da65c78ff93ed4440 · fixed in 5e33791dfcc6459e402a524669093cd953d5b2df; From 11105693fa05f499532b330da65c78ff93ed4440 · fixed in 33241f198287960bba5fc2251400896762650bfa; From 11105693fa05f499532b330da65c78ff93ed4440 · fixed in 3ea8b780d68f02fe235c5051ce8ac4b4940b9259; From 11105693fa05f499532b330da65c78ff93ed4440 · fixed in 6457162f74f45284ade2da644a4f0c54758ac0a6; From 11105693fa05f499532b330da65c78ff93ed4440 · fixed in 2b40bab362d2b598f34e5ccd4694cedc3c2553d4; From 11105693fa05f499532b330da65c78ff93ed4440 · fixed in e64d6f1aae8c837cb3f0446bf44108226d7370f4; From 11105693fa05f499532b330da65c78ff93ed4440 · fixed in add28e9988902d29ea93f4869280b4a16a049ea5; From 11105693fa05f499532b330da65c78ff93ed4440 · fixed in f240f9b588f4e2de89822adebf560a96b5d263ed
- Linux Linux
4.14
- KernelLinux
From 4.14.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6
References 8
git.kernel.org
- stable/c/5e33791dfcc6459e402a524669093cd953d5b2df
- stable/c/33241f198287960bba5fc2251400896762650bfa
- stable/c/3ea8b780d68f02fe235c5051ce8ac4b4940b9259
- stable/c/6457162f74f45284ade2da644a4f0c54758ac0a6
- stable/c/2b40bab362d2b598f34e5ccd4694cedc3c2553d4
- stable/c/e64d6f1aae8c837cb3f0446bf44108226d7370f4
- stable/c/add28e9988902d29ea93f4869280b4a16a049ea5
- stable/c/f240f9b588f4e2de89822adebf560a96b5d263ed