crypto: rsa - add a check for allocation failure (Linux Linux)

CVE-2023-52472
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.27 % · percentile 20 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 6637e11e4ad22ff03183da0dbd36d65c98b81cf7 < 2831f4d3bfa68e64c5f83e96688be779c87b3511 ; affected 6637e11e4ad22ff03183da0dbd36d65c98b81cf7 < 95ad8b6879e2e49d02e3bfc0e1fb46421633fe2a ; affected 6637e11e4ad22ff03183da0dbd36d65c98b81cf7 < d872ca165cb67112f2841ef9c37d51ef7e63d1e4
Linux · Linuxaffected 6.5 ; unaffected 0 < 6.5 ; unaffected 6.6.14 ≤ 6.6.* ; unaffected 6.7.2 ≤ 6.7.* ; unaffected 6.8 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD