CVE-2026-53055: crypto: hisilicon/sec2 - prevent req used-after-free for sec
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
crypto: hisilicon/sec2 - prevent req used-after-free for sec
During packet transmission, if the system is under heavy load, the hardware might complete processing the packet and free the request memory (req) before the transmission function finishes. If the software subsequently accesses this req, a use-after-free error will occur. The qp_ctx memory exists throughout the packet sending process, so replace the req with the qp_ctx.
The Linux kernel CVE team has assigned CVE-2026-53055 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.17 with commit f0ae287c50455f7be0d8dd45a803d403c7aa4d2e and fixed in 6.18.33 with commit b375c3c7209cc59e40e97998aa9bc768369cca0e Issue introduced in 6.17 with commit f0ae287c50455f7be0d8dd45a803d403c7aa4d2e and fixed in 7.0.10 with commit ad73563f3a1edbfddf2724136c6a15826b354e18 Issue introduced in 6.17 with commit f0ae287c50455f7be0d8dd45a803d403c7aa4d2e and fixed in 7.1 with commit 67b53a660e6bf0da2fa8d8872e897a14d8059eaf
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-53055
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/b375c3c7209cc59e40e97998aa9bc768369cca0e https://git.kernel.org/stable/c/ad73563f3a1edbfddf2724136c6a15826b354e18 https://git.kernel.org/stable/c/67b53a660e6bf0da2fa8d8872e897a14d8059eaf