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

CVE-2023-52616
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f < 0c3687822259a7628c85cd21a3445cbe3c367165 ; affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f < 2bb86817b33c9d704e127f92b838035a72c315b6 ; affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f < bb44477d4506e52785693a39f03cdc6a2c5e8598 ; affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f < 7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a ; affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f < 7abdfd45a650c714d5ebab564bb1b988f14d9b49 ; affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f < ba3c5574203034781ac4231acf117da917efcd2a
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.10.210 ≤ 5.10.* ; unaffected 5.15.149 ≤ 5.15.* ; unaffected 6.1.79 ≤ 6.1.* ; unaffected 6.6.15 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD