CVE-2023-52472

Source
https://cve.org/CVERecord?id=CVE-2023-52472
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52472.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-52472
Downstream
Related
Published
2024-02-25T08:16:34.968Z
Modified
2026-03-14T12:23:11.401300Z
Summary
crypto: rsa - add a check for allocation failure
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52472.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6637e11e4ad22ff03183da0dbd36d65c98b81cf7
Fixed
2831f4d3bfa68e64c5f83e96688be779c87b3511
Fixed
95ad8b6879e2e49d02e3bfc0e1fb46421633fe2a
Fixed
d872ca165cb67112f2841ef9c37d51ef7e63d1e4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52472.json"