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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c659d07f11a359aa053e35d3ee549289c86fab64 to < a19a0149fc4f6b7826892d90bdc8e2f7768f5b11affectedc659d07f11a359aa053e35d3ee549289c86fab64 to < 88a6d473cd1342cc0571e7e58503fb60d38c787aaffectedc659d07f11a359aa053e35d3ee549289c86fab64 to < 2e1c04986b58ec50df680971320a1cf52438d280affectedc659d07f11a359aa053e35d3ee549289c86fab64 to < 392771c6180bad7415da65bb1f8072903f7a832caffectedc659d07f11a359aa053e35d3ee549289c86fab64 to < 0cf18855b2c51ffabfdaeb6f3ee226a7cd67139baffectedc659d07f11a359aa053e35d3ee549289c86fab64 to < f3e35f116d69875a5d1e6615acb16bad47bf0061affectedc659d07f11a359aa053e35d3ee549289c86fab64 to < 150c8b52be2af864c39718c3b8e0cc4812024125affectedc659d07f11a359aa053e35d3ee549289c86fab64 to < dbe70508d507acd677e67eaf029040f5e3a3b2b3affected
Linux Linux
Default version status: affected
3.17affected0 to < 3.17unaffected5.10.275 to ≤ 5.10.*unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.117 to ≤ 6.12.*unaffected6.18.63 to ≤ 6.18.*unaffected7.3.4 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
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 ↗