Skip to contentSkip to conversation

CVE-2025-38173: crypto: marvell/cesa - Handle zero-length skcipher requests

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 3, 2025

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: marvell/cesa - Handle zero-length skcipher requests

Do not access random memory for zero-length skcipher requests. Just return 0.

The Linux kernel CVE team has assigned CVE-2025-38173 to this issue.

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

	Issue introduced in 4.2 with commit f63601fd616ab370774fa00ea10bcaaa9e48e84c and fixed in 5.4.295 with commit 32d3e8049a8b60f18c5c39f5931bfb1130ac11c9
	Issue introduced in 4.2 with commit f63601fd616ab370774fa00ea10bcaaa9e48e84c and fixed in 5.10.239 with commit c064ae2881d839709bd72d484d5f2af157f46024
	Issue introduced in 4.2 with commit f63601fd616ab370774fa00ea10bcaaa9e48e84c and fixed in 5.15.186 with commit e1cc69da619588b1488689fe3535a0ba75a2b0e7
	Issue introduced in 4.2 with commit f63601fd616ab370774fa00ea10bcaaa9e48e84c and fixed in 6.1.142 with commit 78ea1ff6cb413a03ff6f7af4e28e24b4461a0965
	Issue introduced in 4.2 with commit f63601fd616ab370774fa00ea10bcaaa9e48e84c and fixed in 6.6.94 with commit 5e9666ac8b94c978690f937d59170c5237bd2c45
	Issue introduced in 4.2 with commit f63601fd616ab370774fa00ea10bcaaa9e48e84c and fixed in 6.12.34 with commit 7894694b5d5b2ecfd7fb081d6f60b9e169ab4d13
	Issue introduced in 4.2 with commit f63601fd616ab370774fa00ea10bcaaa9e48e84c and fixed in 6.15.3 with commit c9610dda42bd382a96f97e68825cb5f66cd9e1dc
	Issue introduced in 4.2 with commit f63601fd616ab370774fa00ea10bcaaa9e48e84c and fixed in 6.16-rc1 with commit 8a4e047c6cc07676f637608a9dd675349b5de0a7

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-2025-38173

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/marvell/cesa/cipher.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/32d3e8049a8b60f18c5c39f5931bfb1130ac11c9
	https://git.kernel.org/stable/c/c064ae2881d839709bd72d484d5f2af157f46024
	https://git.kernel.org/stable/c/e1cc69da619588b1488689fe3535a0ba75a2b0e7
	https://git.kernel.org/stable/c/78ea1ff6cb413a03ff6f7af4e28e24b4461a0965
	https://git.kernel.org/stable/c/5e9666ac8b94c978690f937d59170c5237bd2c45
	https://git.kernel.org/stable/c/7894694b5d5b2ecfd7fb081d6f60b9e169ab4d13
	https://git.kernel.org/stable/c/c9610dda42bd382a96f97e68825cb5f66cd9e1dc
	https://git.kernel.org/stable/c/8a4e047c6cc07676f637608a9dd675349b5de0a7