Linux
crypto: hisilicon/sec2 - prevent req used-after-free for sec
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= f0ae287c50455f7be0d8dd45a803d403c7aa4d2e, < b375c3c7209cc59e40e97998aa9bc768369cca0e
- >= f0ae287c50455f7be0d8dd45a803d403c7aa4d2e, < ad73563f3a1edbfddf2724136c6a15826b354e18
- >= f0ae287c50455f7be0d8dd45a803d403c7aa4d2e, < 67b53a660e6bf0da2fa8d8872e897a14d8059eaf
Fixed in b375c3c7209cc59e40e97998aa9bc768369cca0e, ad73563f3a1edbfddf2724136c6a15826b354e18, 67b53a660e6bf0da2fa8d8872e897a14d8059eaf
- 6.17
Fixed in 0, 6.18.33, 7.0.10, 7.1
Mitigation
Upgrade Linux to b375c3c7209cc59e40e97998aa9bc768369cca0e or ad73563f3a1edbfddf2724136c6a15826b354e18 or 67b53a660e6bf0da2fa8d8872e897a14d8059eaf or later.
Upgrade Linux to 0 or 6.18.33 or 7.0.10 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.