CVE-2026-142945: ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device()
In the Linux kernel, the following vulnerability has been resolved:
ASoC: amd: acp3x-es83xx: Switch to use acpibusgetprimarydevice()
Replace acpigetfirstphysicalnode() that is slated for removal with acpibusgetprimarydevice() that takes a reference to the device it is about to return.
This addresses a potential use-after-free that may occur if the device returned by acpigetfirstphysicalnode() is removed right after dropping its ACPI companion's physicalnodelock in that function.
It also fixes a device reference counting issue that may lead to a premature device release if devmkzalloc() fails in acp3xes83xxprobe().