title: ACPI: scan: Fix a memory leak in an error handling path
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: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: e5cdbe419004, lessThan: 6901a4f795e0, status: affected, versionType: git
version: 717d9d88fbd9, lessThan: 5ab9857dde7c, status: affected, versionType: git
version: 7385e438e1f3, lessThan: 69cc821e89ce, status: affected, versionType: git
version: bc0b1a2036dd, lessThan: dafd4c0b5e83, status: affected, versionType: git
version: 4a5891992c68, lessThan: e2381174daea, status: affected, versionType: git
version: 321dbe6c0b55, lessThan: c5c8f6ffc942, status: affected, versionType: git
version: eb50aaf960e3, lessThan: a7e17a8d421a, status: affected, versionType: git
version: eb50aaf960e3, lessThan: 0c8bd174f0fc, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 5.12, status: affected
version: 0, lessThan: 5.12, status: unaffected, versionType: custom
version: 4.9.269, lessThanOrEqual: 4.9.*, status: unaffected, versionType: custom
version: 4.14.233, lessThanOrEqual: 4.14.*, status: unaffected, versionType: custom
version: 4.19.191, lessThanOrEqual: 4.19.*, status: unaffected, versionType: custom
version: 5.4.120, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.38, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.11.22, lessThanOrEqual: 5.11.*, status: unaffected, versionType: custom
version: 5.12.5, lessThanOrEqual: 5.12.*, status: unaffected, versionType: custom
version: 5.13, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
