CVE-2023-52616

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

State
Published
Severity
7.8 High
Published
Mar 18, 2024
Updated
Aug 5, 2026
Reserved
Mar 6, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f to before 0c3687822259a7628c85cd21a3445cbe3c367165Affected
  • d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f to before 2bb86817b33c9d704e127f92b838035a72c315b6Affected
  • d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f to before bb44477d4506e52785693a39f03cdc6a2c5e8598Affected
  • d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f to before 7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0aAffected
  • d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f to before 7abdfd45a650c714d5ebab564bb1b988f14d9b49Affected
  • d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f to before ba3c5574203034781ac4231acf117da917efcd2aAffected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.210 through 5.10.*Not affected
  • 5.15.149 through 5.15.*Not affected
  • 6.1.79 through 6.1.*Not affected
  • 6.6.15 through 6.6.*Not affected
  • 6.7.3 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.