CVE-2023-52616

published 18 Mar 2024 · updated 5 Aug 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0c3687822259a7628c85cd21a3445cbe3c367165, Kernel 2bb86817b33c9d704e127f92b838035a72c315b6, Kernel 7abdfd45a650c714d5ebab564bb1b988f14d9b49 and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.10, >=d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f <0c3687822259a7628c85cd21a3445cbe3c367165, >=d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f <2bb86817b33c9d704e127f92b838035a72c315b6, >=d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f <7abdfd45a650c714d5ebab564bb1b988f14d9b49, >=d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f <7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a, >=d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f <ba3c5574203034781ac4231acf117da917efcd2a, >=d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f <bb44477d4506e52785693a39f03cdc6a2c5e85980c3687822259a7628c85cd21a3445cbe3c367165, 2bb86817b33c9d704e127f92b838035a72c315b6, 7abdfd45a650c714d5ebab564bb1b988f14d9b49, 7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a, ba3c5574203034781ac4231acf117da917efcd2a, bb44477d4506e52785693a39f03cdc6a2c5e8598

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52616 severity on Zeptric[![CVE-2023-52616](https://zeptric.io/badge/cve/CVE-2023-52616.svg)](https://zeptric.io/cve/CVE-2023-52616)