crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init
Summary
| CVE | CVE-2023-52616 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-03-18 11:15:08 UTC |
| Updated | 2026-08-04 10:18:34 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: NVD-CWE-noinfo
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f 0c3687822259a7628c85cd21a3445cbe3c367165 git | Not specified |
| CNA | Linux | Linux | affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f 2bb86817b33c9d704e127f92b838035a72c315b6 git | Not specified |
| CNA | Linux | Linux | affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f bb44477d4506e52785693a39f03cdc6a2c5e8598 git | Not specified |
| CNA | Linux | Linux | affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f 7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a git | Not specified |
| CNA | Linux | Linux | affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f 7abdfd45a650c714d5ebab564bb1b988f14d9b49 git | Not specified |
| CNA | Linux | Linux | affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f ba3c5574203034781ac4231acf117da917efcd2a git | Not specified |
| CNA | Linux | Linux | affected 5.10 | Not specified |
| CNA | Linux | Linux | unaffected 5.10 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.210 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.149 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.79 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.15 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.7.3 6.7.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.8 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.debian.org/debian-lts-announce/2024/06/msg00017.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List |
| git.kernel.org/stable/c/7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| git.kernel.org/stable/c/0c3687822259a7628c85cd21a3445cbe3c367165 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| git.kernel.org/stable/c/ba3c5574203034781ac4231acf117da917efcd2a | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| git.kernel.org/stable/c/bb44477d4506e52785693a39f03cdc6a2c5e8598 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| git.kernel.org/stable/c/7abdfd45a650c714d5ebab564bb1b988f14d9b49 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| git.kernel.org/stable/c/2bb86817b33c9d704e127f92b838035a72c315b6 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 6000567 Debian Security Update for linux (DSA 5658-1)