Skip to contentSkip to conversation

CVE-2026-74279: crypto: cavium/cpt - fix DMA cleanup using wrong loop index

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 15

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: cavium/cpt - fix DMA cleanup using wrong loop index

The sg_cleanup error path used list[i] instead of list[j] when unmapping DMA buffers, leaking successfully mapped entries and repeatedly unmapping the failed one.

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

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

	Issue introduced in 4.11 with commit c694b233295b99c33dd5ac28aede9f171f5a6862 and fixed in 5.10.261 with commit 23c6174e48f66fc10b998b0acdb406cb0caf5c80
	Issue introduced in 4.11 with commit c694b233295b99c33dd5ac28aede9f171f5a6862 and fixed in 5.15.212 with commit 23d3a7e896a1fe2d7a6bcb42f093948b79f8a198
	Issue introduced in 4.11 with commit c694b233295b99c33dd5ac28aede9f171f5a6862 and fixed in 6.1.178 with commit 28141f95ae93b18f9bfde953cb787fcb151fb9da
	Issue introduced in 4.11 with commit c694b233295b99c33dd5ac28aede9f171f5a6862 and fixed in 6.6.145 with commit 8afd1007ef79898a6e010eaade97097e49405fce
	Issue introduced in 4.11 with commit c694b233295b99c33dd5ac28aede9f171f5a6862 and fixed in 6.12.97 with commit 3b8a1e1f4e4071a62b20374028744e8cc8310d48
	Issue introduced in 4.11 with commit c694b233295b99c33dd5ac28aede9f171f5a6862 and fixed in 6.18.40 with commit fb4d57b83356d4bd411b45ede3024e0ff42c9b5e
	Issue introduced in 4.11 with commit c694b233295b99c33dd5ac28aede9f171f5a6862 and fixed in 7.1.5 with commit d319b83b97b3585550d9ae592dfa78c755b6129e
	Issue introduced in 4.11 with commit c694b233295b99c33dd5ac28aede9f171f5a6862 and fixed in 7.2-rc1 with commit 9dbf173bd32d5f81b005008b682bfb50aa093455

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

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/cavium/cpt/cptvf_reqmanager.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/23c6174e48f66fc10b998b0acdb406cb0caf5c80
	https://git.kernel.org/stable/c/23d3a7e896a1fe2d7a6bcb42f093948b79f8a198
	https://git.kernel.org/stable/c/28141f95ae93b18f9bfde953cb787fcb151fb9da
	https://git.kernel.org/stable/c/8afd1007ef79898a6e010eaade97097e49405fce
	https://git.kernel.org/stable/c/3b8a1e1f4e4071a62b20374028744e8cc8310d48
	https://git.kernel.org/stable/c/fb4d57b83356d4bd411b45ede3024e0ff42c9b5e
	https://git.kernel.org/stable/c/d319b83b97b3585550d9ae592dfa78c755b6129e
	https://git.kernel.org/stable/c/9dbf173bd32d5f81b005008b682bfb50aa093455