CVE-2023-52472

crypto: rsa - add a check for allocation failure

State
Published
Severity
Not scored
Published
Feb 25, 2024
Updated
May 11, 2026
Reserved
Feb 20, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6637e11e4ad22ff03183da0dbd36d65c98b81cf7 to before 2831f4d3bfa68e64c5f83e96688be779c87b3511Affected
  • 6637e11e4ad22ff03183da0dbd36d65c98b81cf7 to before 95ad8b6879e2e49d02e3bfc0e1fb46421633fe2aAffected
  • 6637e11e4ad22ff03183da0dbd36d65c98b81cf7 to before d872ca165cb67112f2841ef9c37d51ef7e63d1e4Affected
LinuxLinux
  • 6.5Affected
  • before 6.5Not affected
  • 6.6.14 through 6.6.*Not affected
  • 6.7.2 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.