{"id":"CVE-2023-52616","summary":"crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init","details":"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.","modified":"2026-04-02T09:43:07.855448Z","published":"2024-03-18T10:14:46.066Z","related":["SUSE-SU-2024:1641-1","SUSE-SU-2024:1644-1","SUSE-SU-2024:1647-1","SUSE-SU-2024:1659-1","SUSE-SU-2024:1663-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","USN-6818-2","USN-6819-2"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52616.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0c3687822259a7628c85cd21a3445cbe3c367165"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2bb86817b33c9d704e127f92b838035a72c315b6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7abdfd45a650c714d5ebab564bb1b988f14d9b49"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ba3c5574203034781ac4231acf117da917efcd2a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb44477d4506e52785693a39f03cdc6a2c5e8598"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52616.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52616"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f"},{"fixed":"0c3687822259a7628c85cd21a3445cbe3c367165"},{"fixed":"2bb86817b33c9d704e127f92b838035a72c315b6"},{"fixed":"bb44477d4506e52785693a39f03cdc6a2c5e8598"},{"fixed":"7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a"},{"fixed":"7abdfd45a650c714d5ebab564bb1b988f14d9b49"},{"fixed":"ba3c5574203034781ac4231acf117da917efcd2a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52616.json"}}],"schema_version":"1.7.5"}