{"id":"CVE-2021-47287","aliases":["CVE-2021-47287"],"related":[],"kind":"vulnerability","state":"published","title":"driver core: auxiliary bus: Fix memory leak when driver_register() fail","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndriver core: auxiliary bus: Fix memory leak when driver_register() fail\n\nIf driver_register() returns with error we need to free the memory\nallocated for auxdrv->driver.name before returning from\n__auxiliary_driver_register()","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndriver core: auxiliary bus: Fix memory leak when driver_register() fail\n\nIf driver_register() returns with error we need to free the memory\nallocated for auxdrv->driver.name before returning from\n__auxiliary_driver_register()","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: núcleo del controlador: bus auxiliar: corrige la pérdida de memoria cuando falla driver_register(). Si driver_register() regresa con error, necesitamos liberar la memoria asignada para auxdrv-&gt;driver.name antes de regresar de __auxiliary_driver_register()","source":"nvd"}],"published":"2024-05-21T14:34:50.937Z","modified":"2026-06-17T04:17:06.570Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"7de3697e9cbd4bd3d62bafa249d57990e1b8f294","fixed":"ce5b3de58fc21303722df46551f7eb9a91afb409","status":"affected"},{"type":"git","introduced":"7de3697e9cbd4bd3d62bafa249d57990e1b8f294","fixed":"4afa0c22eed33cfe0c590742387f0d16f32412f3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.11","status":"unaffected"},{"type":"semver","introduced":"5.13.6","lastAffected":"5.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.11","fixed":"5.13.6"},{"status":"affected","version":"5.14"},{"status":"affected","version":"5.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ce5b3de58fc21303722df46551f7eb9a91afb409","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4afa0c22eed33cfe0c590742387f0d16f32412f3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-17T17:37:45.698Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47287","url":"https://www.cve.org/CVERecord?id=CVE-2021-47287","licence":"CVE Terms of Use","modified":"2026-05-11T13:51:34.337Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47287","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47287","licence":"Public domain","modified":"2026-06-17T04:17:06.570Z"}],"updatedAt":"2026-11-25T22:58:08.777Z","epss":{"score":0.00198,"percentile":0.10012,"date":"2026-12-01T12:00:22.000Z"}}