CVE Catalog

CVE-2023-53817

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.47%

38th percentile - higher than 38% of all known CVEs

Summary

In the Linux kernel, the lib/mpi library's mpi_cmp_ui() function can dereference a null pointer when 1 is passed as the second parameter. An attacker can exploit this during NVMeTCP authentication by specifying the 8192-bit Diffie-Hellman group and a zeroed value.

Risk Assessment

This can lead to a kernel oops, causing system or service disruption.

Recommendation

Apply the Linux kernel patch that adds a null check before dereferencing in mpi_cmp_ui().

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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()

Vulnerability data from NVD (NIST) · CISA KEV · EPSS