What’s Vulnerable › Vulnerabilities
CVE-2023-52472: crypto: rsa - add a check for allocation failure
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-02-26 · updated 2026-06-17
- Weakness: CWE-476
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 products
- Linux kernel: from 6.5.0 before 6.6.14; from 6.7.0 before 6.7.2 — fixed in 6.6.14, 6.7.2
How to fix
Upgrade to a fixed version: Linux kernel 6.6.14, 6.7.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2831f4d3bfa68e64c5f83e96688be779c87b3511
- https://git.kernel.org/stable/c/95ad8b6879e2e49d02e3bfc0e1fb46421633fe2a
- https://git.kernel.org/stable/c/d872ca165cb67112f2841ef9c37d51ef7e63d1e4
- https://git.kernel.org/stable/c/2831f4d3bfa68e64c5f83e96688be779c87b3511
- https://git.kernel.org/stable/c/95ad8b6879e2e49d02e3bfc0e1fb46421633fe2a
- https://git.kernel.org/stable/c/d872ca165cb67112f2841ef9c37d51ef7e63d1e4
Get alerted when CVE-2023-52472 or the next vulnerability affects your stack