What’s Vulnerable › Vulnerabilities
CVE-2021-46985: ACPI: scan: Fix a memory leak in an error handling path
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-02-28 · updated 2026-06-17
- Weakness: CWE-401
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 products
- Linux kernel: from 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 — fixed in 4.14.233, 4.19.191, 4.9.269, 5.10.38, 5.11.22, 5.12.5
How to fix
Upgrade to a fixed version: Linux kernel 4.14.233, 4.19.191, 4.9.269, 5.10.38. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0c8bd174f0fc131bc9dfab35cd8784f59045da87
- https://git.kernel.org/stable/c/5ab9857dde7c3ea3faef6b128d718cf8ba98721b
- https://git.kernel.org/stable/c/6901a4f795e0e8d65ae779cb37fc22e0bf294712
- https://git.kernel.org/stable/c/69cc821e89ce572884548ac54c4f80eec7a837a5
- https://git.kernel.org/stable/c/a7e17a8d421ae23c920240625b4413c7b94d94a4
- https://git.kernel.org/stable/c/c5c8f6ffc942cf42f990f22e35bcf4cbe9d8c2fb
- https://git.kernel.org/stable/c/dafd4c0b5e835db020cff11c74b4af9493a58e72
- https://git.kernel.org/stable/c/e2381174daeae0ca35eddffef02dcc8de8c1ef8a
- https://git.kernel.org/stable/c/0c8bd174f0fc131bc9dfab35cd8784f59045da87
- https://git.kernel.org/stable/c/5ab9857dde7c3ea3faef6b128d718cf8ba98721b
- https://git.kernel.org/stable/c/6901a4f795e0e8d65ae779cb37fc22e0bf294712
- https://git.kernel.org/stable/c/69cc821e89ce572884548ac54c4f80eec7a837a5
Get alerted when CVE-2021-46985 or the next vulnerability affects your stack