CVE-2021-47466

mm, slub: fix potential memoryleak in kmem_cache_open()

MEDIUM
5.5
CVSS Score
Published: May 22, 2024 at 06:23 AM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.8 ≤ v < 5.10.764.8 ≤ v < 5.14.154.8 ≤ v < 5.154.8 ≤ v < 5.4.1565.11 ≤ v < 5.14.155.5 ≤ v < 5.10.76210e7a43fa905bccafa9bb5966fba1d71f33eb8b5.15 rc15.15 rc25.15 rc35.15 rc45.15 rc55.15 rc6
Vendor states this is fixed in 42b81946e3ac9ea0372ba16e05160dc11e02694f (fixed)
Vendor states this is fixed in 4f5d1c29cfab5cb0ab885059818751bdef32e2bb (fixed)
Vendor states this is fixed in 568f906340b43120abd6fcc67c37396482f85930 (fixed)
Vendor states this is fixed in 9037c57681d25e4dcc442d940d6dbe24dd31f461 (fixed)
Vendor states this is fixed in 4.8 (unaffected)
Vendor states this is fixed in 5.10.76 (unaffected)
Vendor states this is fixed in 5.14.15 (unaffected)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.4.156 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/42b81946e3ac9ea0372ba16e05160dc11e02694f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4f5d1c29cfab5cb0ab885059818751bdef32e2bb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/568f906340b43120abd6fcc67c37396482f85930
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9037c57681d25e4dcc442d940d6dbe24dd31f461

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card