What’s Vulnerable › Vulnerabilities

CVE-2023-52616: crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init When the mpi_ec_ctx structure is initialized, some fields are not cleared, causing a crash when referencing the field when the structure was released. Initially, this issue was ignored because memory for mpi_ec_ctx is allocated with the __GFP_ZERO flag. For example, this error will be triggered when calculating the Za value for SM2 separately.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.210, 5.15.149, 6.1.79, 6.6.15. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-52616 or the next vulnerability affects your stack