VDB

CVE-2023-52616

CVE-2023-52616 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published March 18, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-toolsAmazon Linux6.1.79-99.164.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxd58bb7e55a8a65894cc02f27c3e2bf9403e7c40f, d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f, d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f
LinuxLinux5.10, 0, 5.10.210
amazon:2023kernel-tools0
linuxlinux_kernel5.10, 5.10, 5.10
amazon:2023perf0
amazon:2023kernel0
amazon:2023kernel-headers0
amazon:2023kernel-livepatch-6.1.79-99.1640
amazon:2023kernel-libbpf-static0
LinuxLinux6.6.15, *, 5.10
amazon:2023kernel-modules-extra-common0
amazon:2023bpftool0
amazon:2023kernel-devel0
amazon:2023kernel-libbpf0
amazon:2023kernel-modules-extra0
amazon:2023python3-perf0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-tools-devel0

Timeline

  • Mar 18, 2024 CVE Published
  • Mar 19, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (12 in total, the first dated here)
  • Jan 25, 2026 Security Advisory (84 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (74 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-52616
vulnetix vdb fixes CVE-2023-52616

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-52616/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›