CVE-2021-47287

driver core: auxiliary bus: Fix memory leak when driver_register() fail

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 02:34 PM 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: driver core: auxiliary bus: Fix memory leak when driver_register() fail If driver_register() returns with error we need to free the memory allocated for auxdrv->driver.name before returning from __auxiliary_driver_register()

Affected

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

5.11 ≤ v < 5.13.65.11 ≤ v < 5.145.14 rc15.14 rc27de3697e9cbd4bd3d62bafa249d57990e1b8f294
Vendor states this is fixed in 4afa0c22eed33cfe0c590742387f0d16f32412f3 (fixed)
Vendor states this is fixed in ce5b3de58fc21303722df46551f7eb9a91afb409 (fixed)
Vendor states this is fixed in 5.11 (unaffected)
Vendor states this is fixed in 5.13.6 (unaffected)
Vendor states this is fixed in 5.14 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4afa0c22eed33cfe0c590742387f0d16f32412f3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ce5b3de58fc21303722df46551f7eb9a91afb409

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