{"id":"CVE-2023-52616","aliases":["CVE-2023-52616"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init\n\nWhen the mpi_ec_ctx structure is initialized, some fields are not\ncleared, causing a crash when referencing the field when the\nstructure was released. Initially, this issue was ignored because\nmemory for mpi_ec_ctx is allocated with the __GFP_ZERO flag.\nFor example, this error will be triggered when calculating the\nZa value for SM2 separately.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init\n\nWhen the mpi_ec_ctx structure is initialized, some fields are not\ncleared, causing a crash when referencing the field when the\nstructure was released. Initially, this issue was ignored because\nmemory for mpi_ec_ctx is allocated with the __GFP_ZERO flag.\nFor example, this error will be triggered when calculating the\nZa value for SM2 separately.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: crypto: lib/mpi: corrige el acceso inesperado al puntero en mpi_ec_init Cuando se inicializa la estructura mpi_ec_ctx, algunos campos no se borran, lo que provoca un bloqueo al hacer referencia al campo cuando se lanzó la estructura. Inicialmente, este problema se ignoró porque la memoria para mpi_ec_ctx se asigna con el indicador __GFP_ZERO. Por ejemplo, este error se activará al calcular el valor Za para SM2 por separado.","source":"nvd"}],"published":"2024-03-18T10:14:46.066Z","modified":"2026-08-05T09:10:44.363Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f","fixed":"0c3687822259a7628c85cd21a3445cbe3c367165","status":"affected"},{"type":"git","introduced":"d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f","fixed":"2bb86817b33c9d704e127f92b838035a72c315b6","status":"affected"},{"type":"git","introduced":"d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f","fixed":"bb44477d4506e52785693a39f03cdc6a2c5e8598","status":"affected"},{"type":"git","introduced":"d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f","fixed":"7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a","status":"affected"},{"type":"git","introduced":"d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f","fixed":"7abdfd45a650c714d5ebab564bb1b988f14d9b49","status":"affected"},{"type":"git","introduced":"d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f","fixed":"ba3c5574203034781ac4231acf117da917efcd2a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.10.210","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.149","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.79","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.15","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.3","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.10","fixed":"5.10.210"},{"status":"affected","introduced":"5.11","fixed":"5.15.149"},{"status":"affected","introduced":"5.16","fixed":"6.1.79"},{"status":"affected","introduced":"6.2","fixed":"6.6.15"},{"status":"affected","introduced":"6.7","fixed":"6.7.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0c3687822259a7628c85cd21a3445cbe3c367165","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2bb86817b33c9d704e127f92b838035a72c315b6","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb44477d4506e52785693a39f03cdc6a2c5e8598","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7abdfd45a650c714d5ebab564bb1b988f14d9b49","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba3c5574203034781ac4231acf117da917efcd2a","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:55:16.184Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52616","url":"https://www.cve.org/CVERecord?id=CVE-2023-52616","licence":"CVE Terms of Use","modified":"2026-08-05T09:10:44.363Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52616","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52616","licence":"Public domain","modified":"2026-08-04T10:18:34.990Z"}],"updatedAt":"2026-11-25T22:58:33.358Z","epss":{"score":0.00242,"percentile":0.16437,"date":"2026-12-01T12:00:22.000Z"}}