5.5medium
crypto: rsa - add a check for allocation failure
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 6637e11e4ad22ff03183da0dbd36d65c98b81cf7 before 2831f4d3bfa68e64c5f83e96688be779c87b3511, from 6637e11e4ad22ff03183da0dbd36d65c98b81cf7 before 95ad8b6879e2e49d02e3bfc0e1fb46421633fe2a, from 6637e11e4ad22ff03183da0dbd36d65c98b81cf7 before d872ca165cb67112f2841ef9c37d51ef7e63d1e4, 6.5 Not affected: before 6.5, from 6.6.14 up to 6.6.*, from 6.7.2 up to 6.7.*, from 6.8 up to * | CVE List |
| linux linux_kernel | from 6.5.0 before 6.6.14, from 6.7.0 before 6.7.2 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: crypto: rsa: agregue una verificación para fallas en la asignación. Los verificadores estáticos insisten en que la asignación mpi_alloc() puede fallar, así que agregue una verificación para evitar una desreferencia NULL. Pequeñas asignaciones como esta en realidad no pueden fallar en los kernels actuales, pero agregar una verificación es muy simple y hace felices a los verificadores estáticos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-52472 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-52472 changed 2026-06-17 | Public domain |