CVE-2023-52616
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 6.1.79-99.164.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f, d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f, d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f |
| Linux | Linux | 5.10, 0, 5.10.210 |
| amazon:2023 | kernel-tools | 0 |
| linux | linux_kernel | 5.10, 5.10, 5.10 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-livepatch-6.1.79-99.164 | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| Linux | Linux | 6.6.15, *, 5.10 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
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