CVE-2021-47287

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

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 21, 2024

Read the record on cve.org

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()

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7de3697e9cbd4bd3d62bafa249d57990e1b8f294 to before ce5b3de58fc21303722df46551f7eb9a91afb409Affected
  • 7de3697e9cbd4bd3d62bafa249d57990e1b8f294 to before 4afa0c22eed33cfe0c590742387f0d16f32412f3Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.13.6 through 5.13.*Not affected
  • 5.14 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.