CVE-2023-52472

published 25 Feb 2024 · updated 11 May 2026

crypto: rsa - add a check for allocation failure

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2831f4d3bfa68e64c5f83e96688be779c87b3511, Kernel 95ad8b6879e2e49d02e3bfc0e1fb46421633fe2a and Kernel d872ca165cb67112f2841ef9c37d51ef7e63d1e4.

In the Linux kernel, the following vulnerability has been resolved: crypto: rsa - add a check for allocation failure Static checkers insist that the mpi_alloc() allocation can fail so add a check to prevent a NULL dereference. Small allocations like this can't actually fail in current kernels, but adding a check is very simple and makes the static checkers happy.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.5, >=6637e11e4ad22ff03183da0dbd36d65c98b81cf7 <2831f4d3bfa68e64c5f83e96688be779c87b3511, >=6637e11e4ad22ff03183da0dbd36d65c98b81cf7 <95ad8b6879e2e49d02e3bfc0e1fb46421633fe2a, >=6637e11e4ad22ff03183da0dbd36d65c98b81cf7 <d872ca165cb67112f2841ef9c37d51ef7e63d1e42831f4d3bfa68e64c5f83e96688be779c87b3511, 95ad8b6879e2e49d02e3bfc0e1fb46421633fe2a, d872ca165cb67112f2841ef9c37d51ef7e63d1e4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52472 severity on Zeptric[![CVE-2023-52472](https://zeptric.io/badge/cve/CVE-2023-52472.svg)](https://zeptric.io/cve/CVE-2023-52472)