CVE-2021-47287

published 21 May 2024 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4afa0c22eed33cfe0c590742387f0d16f32412f3 and Kernel ce5b3de58fc21303722df46551f7eb9a91afb409.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.11, >=7de3697e9cbd4bd3d62bafa249d57990e1b8f294 <4afa0c22eed33cfe0c590742387f0d16f32412f3, >=7de3697e9cbd4bd3d62bafa249d57990e1b8f294 <ce5b3de58fc21303722df46551f7eb9a91afb4094afa0c22eed33cfe0c590742387f0d16f32412f3, ce5b3de58fc21303722df46551f7eb9a91afb409

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47287 severity on Zeptric[![CVE-2021-47287](https://zeptric.io/badge/cve/CVE-2021-47287.svg)](https://zeptric.io/cve/CVE-2021-47287)