Bugzilla – Bug 1220620
VUL-0: CVE-2021-46985: kernel: ACPI: scan: memory leak on acpi_device_set_name() failure
Last modified: 2024-02-29 08:55:51 UTC
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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-46985 https://www.cve.org/CVERecord?id=CVE-2021-46985 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
Already fixed in affected branches (cve/linux-5.14, SLE15-SP6, stable and master). Closing.