Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2023-52616

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f to < 0c3687822259a7628c85cd21a3445cbe3c367165affected
  • d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f to < 2bb86817b33c9d704e127f92b838035a72c315b6affected
  • d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f to < bb44477d4506e52785693a39f03cdc6a2c5e8598affected
  • d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f to < 7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0aaffected
  • d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f to < 7abdfd45a650c714d5ebab564bb1b988f14d9b49affected
  • d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f to < ba3c5574203034781ac4231acf117da917efcd2aaffected

Linux Linux

Default version status: affected

  • 5.10affected
  • 0 to < 5.10unaffected
  • 5.10.210 to ≤ 5.10.*unaffected
  • 5.15.149 to ≤ 5.15.*unaffected
  • 6.1.79 to ≤ 6.1.*unaffected
  • 6.6.15 to ≤ 6.6.*unaffected
  • 6.7.3 to ≤ 6.7.*unaffected
  • 6.8 to ≤ *unaffected

References