Skip to contentSkip to conversation

CVE-2026-46077: crypto: atmel-tdes - fix DMA sync direction

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 27

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-tdes - fix DMA sync direction

Before DMA output is consumed by the CPU, ->dma_addr_out must be synced with dma_sync_single_for_cpu() instead of dma_sync_single_for_device(). Using the wrong direction can return stale cache data on non-coherent platforms.

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

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

	Issue introduced in 3.6 with commit 13802005d8f2db244ec1f5d7f6923de8f7a463db and fixed in 6.6.140 with commit 5281e6e2302362f6b75b70cbfe4098d2a25dafd9
	Issue introduced in 3.6 with commit 13802005d8f2db244ec1f5d7f6923de8f7a463db and fixed in 6.12.86 with commit 12a0adfe498cd5d87e6365d7ca5f6b3eed79e523
	Issue introduced in 3.6 with commit 13802005d8f2db244ec1f5d7f6923de8f7a463db and fixed in 6.18.27 with commit 863d11b3927703ad95077c81a8a6489c5c7872f7
	Issue introduced in 3.6 with commit 13802005d8f2db244ec1f5d7f6923de8f7a463db and fixed in 7.0.4 with commit b5f5df801d161ba244f391519cbff2f4e5c6edc2
	Issue introduced in 3.6 with commit 13802005d8f2db244ec1f5d7f6923de8f7a463db and fixed in 7.1-rc1 with commit c8a9a647532f5c2a04180352693215e24e9dba03

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

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-tdes.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/5281e6e2302362f6b75b70cbfe4098d2a25dafd9
	https://git.kernel.org/stable/c/12a0adfe498cd5d87e6365d7ca5f6b3eed79e523
	https://git.kernel.org/stable/c/863d11b3927703ad95077c81a8a6489c5c7872f7
	https://git.kernel.org/stable/c/b5f5df801d161ba244f391519cbff2f4e5c6edc2
	https://git.kernel.org/stable/c/c8a9a647532f5c2a04180352693215e24e9dba03