{"id":"CVE-2023-53817","summary":"crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()\n\nDuring NVMeTCP Authentication a controller can trigger a kernel\noops by specifying the 8192 bit Diffie Hellman group and passing\na correctly sized, but zeroed Diffie Hellamn value.\nmpi_cmp_ui() was detecting this if the second parameter was 0,\nbut 1 is passed from dh_is_pubkey_valid(). This causes the null\npointer u-\u003ed to be dereferenced towards the end of mpi_cmp_ui()","modified":"2026-03-31T17:29:45.174861Z","published":"2025-12-09T00:01:15.411Z","related":["SUSE-SU-2026:0962-1","SUSE-SU-2026:1041-1","SUSE-SU-2026:1078-1","SUSE-SU-2026:1081-1","SUSE-SU-2026:20667-1","SUSE-SU-2026:20720-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53817.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0fc7147c694394f8a8cbc19570c6bc918cac0906"},{"type":"WEB","url":"https://git.kernel.org/stable/c/12ac013ad7ff0df066451e825801d805095b3776"},{"type":"WEB","url":"https://git.kernel.org/stable/c/61f5453e9706e99713825594e0c8f9031485fb5f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/67589d247909043e94d2dd5fb590958e0f99d58d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9e47a758b70167c9301d2b44d2569f86c7796f2d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ae63e84ffda74267bf7277c38415ba38389229a0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3ad023a39f1127dcfd331c562673355dc078650"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fde791e8a96a64ea7b0ad2440e43586447a209c6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53817.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53817"},{"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":"12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5"},{"fixed":"fde791e8a96a64ea7b0ad2440e43586447a209c6"},{"fixed":"ae63e84ffda74267bf7277c38415ba38389229a0"},{"fixed":"61f5453e9706e99713825594e0c8f9031485fb5f"},{"fixed":"0fc7147c694394f8a8cbc19570c6bc918cac0906"},{"fixed":"67589d247909043e94d2dd5fb590958e0f99d58d"},{"fixed":"d3ad023a39f1127dcfd331c562673355dc078650"},{"fixed":"12ac013ad7ff0df066451e825801d805095b3776"},{"fixed":"9e47a758b70167c9301d2b44d2569f86c7796f2d"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53817.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.7.0"},{"fixed":"4.14.326"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.295"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.257"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.197"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.133"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.55"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.5.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53817.json"}}],"schema_version":"1.7.5"}