Skip to contentSkip to conversation

CVE-2026-43078: crypto: af_alg - Fix page reassignment overflow in af_alg_pull_tsgl

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

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: af_alg - Fix page reassignment overflow in af_alg_pull_tsgl

When page reassignment was added to af_alg_pull_tsgl the original loop wasn't updated so it may try to reassign one more page than necessary.

Add the check to the reassignment so that this does not happen.

Also update the comment which still refers to the obsolete offset argument.

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

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

	Issue introduced in 4.14 with commit e870456d8e7c8d57c059ea479b5aadbb55ff4c3a and fixed in 5.10.254 with commit fa48d3ea9cdbfb28c1fd6756c6c5cd01351aa51e
	Issue introduced in 4.14 with commit e870456d8e7c8d57c059ea479b5aadbb55ff4c3a and fixed in 5.15.204 with commit 2b781d1d4f933990318bcc5c68fb75a717379e42
	Issue introduced in 4.14 with commit e870456d8e7c8d57c059ea479b5aadbb55ff4c3a and fixed in 6.1.170 with commit f7826bc0b39928a4a22f6b815dd9940b22a63503
	Issue introduced in 4.14 with commit e870456d8e7c8d57c059ea479b5aadbb55ff4c3a and fixed in 6.6.137 with commit 710a4ce5d7afd9fe082c75dec282ab4a11c0fe71
	Issue introduced in 4.14 with commit e870456d8e7c8d57c059ea479b5aadbb55ff4c3a and fixed in 6.12.85 with commit c8369a6d62f5abde9cbd4b62c45bf4b996be2468
	Issue introduced in 4.14 with commit e870456d8e7c8d57c059ea479b5aadbb55ff4c3a and fixed in 6.18.24 with commit dea5fcf085f977b6c2de1b2d4ec4767b6c840d1f
	Issue introduced in 4.14 with commit e870456d8e7c8d57c059ea479b5aadbb55ff4c3a and fixed in 6.19.14 with commit 9532501e0f1b200ea80baa0e33e0b06da10bb271
	Issue introduced in 4.14 with commit e870456d8e7c8d57c059ea479b5aadbb55ff4c3a and fixed in 7.0 with commit 31d00156e50ecad37f2cb6cbf04aaa9a260505ef

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

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:
crypto/af_alg.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/fa48d3ea9cdbfb28c1fd6756c6c5cd01351aa51e
	https://git.kernel.org/stable/c/2b781d1d4f933990318bcc5c68fb75a717379e42
	https://git.kernel.org/stable/c/f7826bc0b39928a4a22f6b815dd9940b22a63503
	https://git.kernel.org/stable/c/710a4ce5d7afd9fe082c75dec282ab4a11c0fe71
	https://git.kernel.org/stable/c/c8369a6d62f5abde9cbd4b62c45bf4b996be2468
	https://git.kernel.org/stable/c/dea5fcf085f977b6c2de1b2d4ec4767b6c840d1f
	https://git.kernel.org/stable/c/9532501e0f1b200ea80baa0e33e0b06da10bb271
	https://git.kernel.org/stable/c/31d00156e50ecad37f2cb6cbf04aaa9a260505ef