mm, slub: fix potential memoryleak in kmem_cache_open() (Linux Linux)

CVE-2021-47466
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: mm, slub: fix potential memoryleak in kmem_cache_open() In error path, the random_seq of slub cache might be leaked. Fix this by using __kmem_cache_release() to release all the relevant resources.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

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 210e7a43fa905bccafa9bb5966fba1d71f33eb8b < 4f5d1c29cfab5cb0ab885059818751bdef32e2bb ; affected 210e7a43fa905bccafa9bb5966fba1d71f33eb8b < 568f906340b43120abd6fcc67c37396482f85930 ; affected 210e7a43fa905bccafa9bb5966fba1d71f33eb8b < 42b81946e3ac9ea0372ba16e05160dc11e02694f ; affected 210e7a43fa905bccafa9bb5966fba1d71f33eb8b < 9037c57681d25e4dcc442d940d6dbe24dd31f461
Linux · Linuxaffected 4.8 ; unaffected 0 < 4.8 ; unaffected 5.4.156 ≤ 5.4.* ; unaffected 5.10.76 ≤ 5.10.* ; unaffected 5.14.15 ≤ 5.14.* ; unaffected 5.15 ≤ *

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