Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6488731A556 for ; Wed, 24 Jun 2026 16:37:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782319056; cv=none; b=M/unpVb7v6kvkwx7hG0KeFjFykqv+GBZ5scinqD/igNminRfBY3Lidsfjr0XDc3w4ctJgT4oWOdE9KW6yIxOMMCLasnirlSVFc+sd65sjlDs9Z5tqbBtyctDC5eHvNAU5UINpPvVQyFx+DFS0YwUK9SdKl21FcLQJAmglsL3JAM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782319056; c=relaxed/simple; bh=mGjD2ASiAsrHD63dLAOUxKbKhrPqgB5kY7NWthZQ6Tw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dxafMe7zVAQNUylGw2+L5hYwySDxN33EJXytR6MgwBL35/+fWddeqnx8xG3KuPQ3iqml9oaqm5wdoofpaDHMREBGBH2Ksp744xhcY7KfOExwJfvMAcBosBZa5PFvG2iMESrwNbKPsdinnE4Zt9uU/yMaYdPoAbfEm6JWyBwvBJs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZcL+glSD; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ZcL+glSD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 720691F00A3A; Wed, 24 Jun 2026 16:37:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782319055; bh=FAh8ko4X9WFmKKdCtrsHYFI3ibTpkRzB96eS6ifUBYA=; h=From:To:Cc:Subject:Date:Reply-To; b=ZcL+glSD8yDtB10QgKzqew0r9PABuwKPXcZ52FhPvURdhaU0Q8ac3m7PScCwkLztB e92iazSqo3T/H5nzLFDNgH5EhaBBW/G32Qt9RYEHLgb1Guz36Mc+H2lTqeusOv3fg8 yz76FSzpkCd42qQjKvkj6BITuTB4uIfMWRTBQvj0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53055: crypto: hisilicon/sec2 - prevent req used-after-free for sec Date: Wed, 24 Jun 2026 17:31:19 +0100 Message-ID: <2026062400-CVE-2026-53055-6f65@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2391; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6ZbPnoo7y2OTQX388ySui0Ykc/dlXElI9OvXHIq2iXg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2bBzPzObKXw6Yteht1zWz5Klh+34/Xt5cWzo7btfp1 MY221c7OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiXXMZFky9Eir2+96JxXMN ykJ9xdU8V5W+WsOw4Jq1wdnlu43qixYF9kenXGB9P13kGwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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