crypto: atmel-tdes - zero-initialize device state

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

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

crypto: atmel-tdes - zero-initialize device state

Commit c659d07f11a3 ("crypto: atmel-tdes - Switch to managed version of kzalloc") accidentally replaced kzalloc() with devm_kmalloc(), so the device state is no longer zeroed.

atmel_tdes_hw_init() tests dd->flags during probe: a stale TDES_FLAGS_INIT skips the hardware reset, and a stale TDES_FLAGS_BUSY makes atmel_tdes_handle_queue() treat the engine as permanently busy, leaving every request queued and never dispatched.

Seen on a SAM9X75 Curiosity: the first TDES request after boot never completes and the TDES interrupt count stays at zero, while the AES and SHA engines on the same SoC work normally.

Switch to devm_kzalloc(), matching the Atmel AES and SHA drivers.

ProductVersions
Linux Linuxc659d07f11a359aa053e35d3ee549289c86fab64 to before a19a0149fc4f6b7826892d90bdc8e2f7768f5b11 Affectedc659d07f11a359aa053e35d3ee549289c86fab64 to before 88a6d473cd1342cc0571e7e58503fb60d38c787a Affectedc659d07f11a359aa053e35d3ee549289c86fab64 to before 2e1c04986b58ec50df680971320a1cf52438d280 Affectedc659d07f11a359aa053e35d3ee549289c86fab64 to before 392771c6180bad7415da65bb1f8072903f7a832c Affectedc659d07f11a359aa053e35d3ee549289c86fab64 to before 0cf18855b2c51ffabfdaeb6f3ee226a7cd67139b Affectedc659d07f11a359aa053e35d3ee549289c86fab64 to before f3e35f116d69875a5d1e6615acb16bad47bf0061 Affectedc659d07f11a359aa053e35d3ee549289c86fab64 to before 150c8b52be2af864c39718c3b8e0cc4812024125 Affectedc659d07f11a359aa053e35d3ee549289c86fab64 to before dbe70508d507acd677e67eaf029040f5e3a3b2b3 Affected
Linux Linux3.17 Affectedbefore 3.17 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.