Skip to contentSkip to conversation

CVE-2022-49260: crypto: hisilicon/sec - fix the aead software fallback for engine

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Feb 26, 2025

lore
Share & tools
lore
#0 lore raw

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

crypto: hisilicon/sec - fix the aead software fallback for engine

Due to the subreq pointer misuse the private context memory. The aead soft crypto occasionally casues the OS panic as setting the 64K page. Here is fix it.

The Linux kernel CVE team has assigned CVE-2022-49260 to this issue.

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

	Issue introduced in 5.14 with commit 6c46a3297beae4ae2d22b26da5e091f058381c7c and fixed in 5.15.33 with commit 40dba7c26e897c637e91312b35f664f1d4d0073c
	Issue introduced in 5.14 with commit 6c46a3297beae4ae2d22b26da5e091f058381c7c and fixed in 5.16.19 with commit ef7b10f3cac7810ddcfd976304fd125aca33d144
	Issue introduced in 5.14 with commit 6c46a3297beae4ae2d22b26da5e091f058381c7c and fixed in 5.17.2 with commit 5c1149e2abe0b7489300736b8277b45b113de67f
	Issue introduced in 5.14 with commit 6c46a3297beae4ae2d22b26da5e091f058381c7c and fixed in 5.18 with commit 0a2a464f863187f97e96ebc6384c052cafd4a54c

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-2022-49260

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/hisilicon/sec2/sec_crypto.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/40dba7c26e897c637e91312b35f664f1d4d0073c
	https://git.kernel.org/stable/c/ef7b10f3cac7810ddcfd976304fd125aca33d144
	https://git.kernel.org/stable/c/5c1149e2abe0b7489300736b8277b45b113de67f
	https://git.kernel.org/stable/c/0a2a464f863187f97e96ebc6384c052cafd4a54c