# CVE-2026-139023: crypto: atmel-tdes - zero-initialize device state

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-11-30T13:27:09.429Z
- Modified: 2026-11-30T14:18:06.083Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from c659d07f11a359aa053e35d3ee549289c86fab64 before a19a0149fc4f6b7826892d90bdc8e2f7768f5b11; from c659d07f11a359aa053e35d3ee549289c86fab64 before 88a6d473cd1342cc0571e7e58503fb60d38c787a; from c659d07f11a359aa053e35d3ee549289c86fab64 before 2e1c04986b58ec50df680971320a1cf52438d280; from c659d07f11a359aa053e35d3ee549289c86fab64 before 392771c6180bad7415da65bb1f8072903f7a832c; from c659d07f11a359aa053e35d3ee549289c86fab64 before 0cf18855b2c51ffabfdaeb6f3ee226a7cd67139b; from c659d07f11a359aa053e35d3ee549289c86fab64 before f3e35f116d69875a5d1e6615acb16bad47bf0061; from c659d07f11a359aa053e35d3ee549289c86fab64 before 150c8b52be2af864c39718c3b8e0cc4812024125; from c659d07f11a359aa053e35d3ee549289c86fab64 before dbe70508d507acd677e67eaf029040f5e3a3b2b3; 3.17 (not affected: before 3.17; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/a19a0149fc4f6b7826892d90bdc8e2f7768f5b11>
- <https://git.kernel.org/stable/c/88a6d473cd1342cc0571e7e58503fb60d38c787a>
- <https://git.kernel.org/stable/c/2e1c04986b58ec50df680971320a1cf52438d280>
- <https://git.kernel.org/stable/c/392771c6180bad7415da65bb1f8072903f7a832c>
- <https://git.kernel.org/stable/c/0cf18855b2c51ffabfdaeb6f3ee226a7cd67139b>
- <https://git.kernel.org/stable/c/f3e35f116d69875a5d1e6615acb16bad47bf0061>
- <https://git.kernel.org/stable/c/150c8b52be2af864c39718c3b8e0cc4812024125>
- <https://git.kernel.org/stable/c/dbe70508d507acd677e67eaf029040f5e3a3b2b3>

## Sources

- CVE List: [CVE-2026-139023](https://www.cve.org/CVERecord?id=CVE-2026-139023), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139023](https://nvd.nist.gov/vuln/detail/CVE-2026-139023), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139023 · Whole record: https://cve.day/CVE-2026-139023.json · Rebuilt by cve.day 2026-11-30T14:32:38.461Z
