{"id":"CVE-2023-53817","published":"2025-12-09T00:01:15Z","modified":"2026-08-05T09:16:11Z","title":"crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()","vendor":"Linux","product":"Linux","tier":"tail","description":{"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()","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01072,"percentile":0.64364,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/fde791e8a96a64ea7b0ad2440e43586447a209c6","tags":[]},{"url":"https://git.kernel.org/stable/c/ae63e84ffda74267bf7277c38415ba38389229a0","tags":[]},{"url":"https://git.kernel.org/stable/c/61f5453e9706e99713825594e0c8f9031485fb5f","tags":[]},{"url":"https://git.kernel.org/stable/c/0fc7147c694394f8a8cbc19570c6bc918cac0906","tags":[]},{"url":"https://git.kernel.org/stable/c/67589d247909043e94d2dd5fb590958e0f99d58d","tags":[]},{"url":"https://git.kernel.org/stable/c/d3ad023a39f1127dcfd331c562673355dc078650","tags":[]},{"url":"https://git.kernel.org/stable/c/12ac013ad7ff0df066451e825801d805095b3776","tags":[]},{"url":"https://git.kernel.org/stable/c/9e47a758b70167c9301d2b44d2569f86c7796f2d","tags":[]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":12.87},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5, < fde791e8a96a64ea7b0ad2440e43586447a209c6",">= 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5, < ae63e84ffda74267bf7277c38415ba38389229a0",">= 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5, < 61f5453e9706e99713825594e0c8f9031485fb5f",">= 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5, < 0fc7147c694394f8a8cbc19570c6bc918cac0906",">= 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5, < 67589d247909043e94d2dd5fb590958e0f99d58d",">= 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5, < d3ad023a39f1127dcfd331c562673355dc078650",">= 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5, < 12ac013ad7ff0df066451e825801d805095b3776",">= 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5, < 9e47a758b70167c9301d2b44d2569f86c7796f2d"]},{"vendor":"Linux","product":"Linux","versions":["3.7"]}],"euvd":{"id":"EUVD-2023-60089","exploited":false,"provenance":"source"}}