CVE-2021-46985
JSON

5.5medium

ACPI: scan: Fix a memory leak in an error handling path

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ACPI: scan: Fix a memory leak in an error handling path If 'acpi_device_set_name()' fails, we must free 'acpi_device_bus_id->bus_id' or there is a (potential) memory leak.

Affected

Product or packageVersionsReported by
Linux Linuxfrom e5cdbe419004e172f642e876a671a9ff1c52f8bb before 6901a4f795e0e8d65ae779cb37fc22e0bf294712, from 717d9d88fbd956ab03fad97266f6ce63a036e7f8 before 5ab9857dde7c3ea3faef6b128d718cf8ba98721b, from 7385e438e1f31af5b86f72fd19b0dcd2738502c9 before 69cc821e89ce572884548ac54c4f80eec7a837a5, from bc0b1a2036dd8072106ec81a8685ecb901f72ed6 before dafd4c0b5e835db020cff11c74b4af9493a58e72, from 4a5891992c680d69d7e490e4d0428d17779d8e85 before e2381174daeae0ca35eddffef02dcc8de8c1ef8a, from 321dbe6c0b551f9f8030becc6900f77cf9bbb9ad before c5c8f6ffc942cf42f990f22e35bcf4cbe9d8c2fb, from eb50aaf960e3bedfef79063411ffd670da94b84b before a7e17a8d421ae23c920240625b4413c7b94d94a4, from eb50aaf960e3bedfef79063411ffd670da94b84b before 0c8bd174f0fc131bc9dfab35cd8784f59045da87 and 7 more
Not affected: before 5.12, from 4.9.269 up to 4.9.*, from 4.14.233 up to 4.14.*, from 4.19.191 up to 4.19.*, from 5.4.120 up to 5.4.*, from 5.10.38 up to 5.10.*
CVE List
linux linux_kernelfrom 4.9.264 before 4.9.269, from 4.14.228 before 4.14.233, from 4.19.184 before 4.19.191, from 5.4.109 before 5.4.120, from 5.10.27 before 5.10.38, from 5.11.11 before 5.11.22, from 5.12 before 5.12.5, 5.13NVD

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: ACPI: scan: Fix a memory leak in an error handling path If 'acpi_device_set_name()' fails, we must free 'acpi_device_bus_id->bus_id' or there is a (potential) memory leak.

NVD (es)

En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: ACPI: scan: Corregir pérdida de memoria en una ruta de manejo de errores Si falla 'acpi_device_set_name()' debemos liberar 'acpi_device_bus_id->bus_id' o hay una (potencial) memoria filtración.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-46985 changed 2026-05-23CVE Terms of Use
NVDCVE-2021-46985 changed 2026-06-17Public domain