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

Summary

CVECVE-2023-52616
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-03-18 11:15:08 UTC
Updated2026-08-04 10:18:34 UTC
DescriptionIn 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


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS: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)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

Legacy QID Mappings

  • 6000567 Debian Security Update for linux (DSA 5658-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report