CVE-2023-52616

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

MEDIUM
5.5
CVSS Score
Published: March 18, 2024 at 10:14 AM UTC
Updated: August 5, 2026 at 10:24 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10 ≤ v < 5.10.2105.10 ≤ v < 5.15.1495.10 ≤ v < 6.1.795.10 ≤ v < 6.6.155.10 ≤ v < 6.7.35.10 ≤ v < 6.85.11 ≤ v < 5.15.1495.16 ≤ v < 6.1.796.2 ≤ v < 6.6.156.7 ≤ v < 6.7.35.10d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f
Vendor states this is fixed in 0c3687822259a7628c85cd21a3445cbe3c367165 (fixed)
Vendor states this is fixed in 2bb86817b33c9d704e127f92b838035a72c315b6 (fixed)
Vendor states this is fixed in 7abdfd45a650c714d5ebab564bb1b988f14d9b49 (fixed)
Vendor states this is fixed in 7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a (fixed)
Vendor states this is fixed in ba3c5574203034781ac4231acf117da917efcd2a (fixed)
Vendor states this is fixed in bb44477d4506e52785693a39f03cdc6a2c5e8598 (fixed)
Vendor states this is fixed in 5.10 (unaffected)
Vendor states this is fixed in 5.10.210 (unaffected)
Vendor states this is fixed in 5.15.149 (unaffected)
Vendor states this is fixed in 6.1.79 (unaffected)
Vendor states this is fixed in 6.6.15 (unaffected)
Vendor states this is fixed in 6.7.3 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (7)

Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0c3687822259a7628c85cd21a3445cbe3c367165
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2bb86817b33c9d704e127f92b838035a72c315b6
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7abdfd45a650c714d5ebab564bb1b988f14d9b49
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ba3c5574203034781ac4231acf117da917efcd2a
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bb44477d4506e52785693a39f03cdc6a2c5e8598
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card