{"id":"CVE-2023-53817","aliases":["CVE-2023-53817"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()","summary":"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->d to be dereferenced towards the end of mpi_cmp_ui()","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->d to be dereferenced towards the end of mpi_cmp_ui()","source":"cvelist"}],"published":"2025-12-09T00:01:15.411Z","modified":"2026-08-05T09:16:11.527Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5","fixed":"fde791e8a96a64ea7b0ad2440e43586447a209c6","status":"affected"},{"type":"git","introduced":"12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5","fixed":"ae63e84ffda74267bf7277c38415ba38389229a0","status":"affected"},{"type":"git","introduced":"12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5","fixed":"61f5453e9706e99713825594e0c8f9031485fb5f","status":"affected"},{"type":"git","introduced":"12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5","fixed":"0fc7147c694394f8a8cbc19570c6bc918cac0906","status":"affected"},{"type":"git","introduced":"12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5","fixed":"67589d247909043e94d2dd5fb590958e0f99d58d","status":"affected"},{"type":"git","introduced":"12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5","fixed":"d3ad023a39f1127dcfd331c562673355dc078650","status":"affected"},{"type":"git","introduced":"12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5","fixed":"12ac013ad7ff0df066451e825801d805095b3776","status":"affected"},{"type":"git","introduced":"12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5","fixed":"9e47a758b70167c9301d2b44d2569f86c7796f2d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.7","status":"unaffected"},{"type":"semver","introduced":"4.14.326","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.295","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.257","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.197","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.133","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.55","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.5.5","lastAffected":"6.5.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.6","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/fde791e8a96a64ea7b0ad2440e43586447a209c6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae63e84ffda74267bf7277c38415ba38389229a0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/61f5453e9706e99713825594e0c8f9031485fb5f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0fc7147c694394f8a8cbc19570c6bc918cac0906","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/67589d247909043e94d2dd5fb590958e0f99d58d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3ad023a39f1127dcfd331c562673355dc078650","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/12ac013ad7ff0df066451e825801d805095b3776","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9e47a758b70167c9301d2b44d2569f86c7796f2d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53817","url":"https://www.cve.org/CVERecord?id=CVE-2023-53817","licence":"CVE Terms of Use","modified":"2026-08-05T09:16:11.527Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53817","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53817","licence":"Public domain","modified":"2026-08-04T10:19:22.557Z"}],"updatedAt":"2026-11-25T22:58:35.066Z","epss":{"score":0.00545,"percentile":0.47136,"date":"2026-12-01T12:00:22.000Z"}}