CVE-2023-53817crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()
- 7.5HighCVSS base score
- 0.54%Exploitation in 30 daysEPSS · top 54% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui() During NVMeTCP Authentication a controller can trigger a kernel oops by specifying the 8192 bit Diffie Hellman group and passing a correctly sized, but zeroed Diffie Hellamn value. mpi_cmp_ui() was detecting this if the second parameter was 0, but 1 is passed from dh_is_pubkey_valid(). This causes the null pointer u->d to be dereferenced towards the end of mpi_cmp_ui()
Timeline
ID reserved
By Linux
- 1 day later
· 1 day later
Published
- 8 months later
· 8 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Deferred | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.54% · top 54% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
- affected 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5 – < fde791e8a96a64ea7b0ad2440e43586447a209c6
- affected 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5 – < ae63e84ffda74267bf7277c38415ba38389229a0
- affected 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5 – < 61f5453e9706e99713825594e0c8f9031485fb5f
- affected 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5 – < 0fc7147c694394f8a8cbc19570c6bc918cac0906
- affected 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5 – < 67589d247909043e94d2dd5fb590958e0f99d58d
- affected 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5 – < d3ad023a39f1127dcfd331c562673355dc078650
- affected 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5 – < 12ac013ad7ff0df066451e825801d805095b3776
- affected 12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5 – < 9e47a758b70167c9301d2b44d2569f86c7796f2d
- affected 3.7
- unaffected < 3.7
- unaffected 4.14.326 – ≤ 4.14.*
- unaffected 4.19.295 – ≤ 4.19.*
- unaffected 5.4.257 – ≤ 5.4.*
- unaffected 5.10.197 – ≤ 5.10.*
- unaffected 5.15.133 – ≤ 5.15.*
- unaffected 6.1.55 – ≤ 6.1.*
- unaffected 6.5.5 – ≤ 6.5.*
- unaffected 6.6 – ≤ *
References
References8
- https://git.kernel.org/stable/c/fde791e8a96a64ea7b0ad2440e43586447a209c6 (opens in a new tab)
- https://git.kernel.org/stable/c/ae63e84ffda74267bf7277c38415ba38389229a0 (opens in a new tab)
- https://git.kernel.org/stable/c/61f5453e9706e99713825594e0c8f9031485fb5f (opens in a new tab)
- https://git.kernel.org/stable/c/0fc7147c694394f8a8cbc19570c6bc918cac0906 (opens in a new tab)
- https://git.kernel.org/stable/c/67589d247909043e94d2dd5fb590958e0f99d58d (opens in a new tab)
- https://git.kernel.org/stable/c/d3ad023a39f1127dcfd331c562673355dc078650 (opens in a new tab)
- https://git.kernel.org/stable/c/12ac013ad7ff0df066451e825801d805095b3776 (opens in a new tab)
- https://git.kernel.org/stable/c/9e47a758b70167c9301d2b44d2569f86c7796f2d (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-60089 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-53817)Record last updated .