CVE-2023-52616

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.

Date published : 2024-03-18

https://git.kernel.org/stable/c/0c3687822259a7628c85cd21a3445cbe3c367165

https://git.kernel.org/stable/c/2bb86817b33c9d704e127f92b838035a72c315b6