ASoC: amd: Adjust error handling in case of absent codec device
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1ba9856cf7f6492b47c1edf853137f320d583db5, Kernel 5080808c3339de2220c602ab7c7fa23dc6c1a5a3, Kernel 99b642dac24f6d09ba3ebf1d690be8aefff86164 and 1 more.
In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: Adjust error handling in case of absent codec device acpi_get_first_physical_node() can return NULL in several cases (no such device, ACPI table error, reference count drop to 0, etc). Existing check just emit error message, but doesn't perform return. Then this NULL pointer is passed to devm_acpi_dev_add_driver_gpios() where it is dereferenced. Adjust this error handling by adding error code return. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.0, >=02527c3f2300100a25524c8c020d98c7957e485e <1ba9856cf7f6492b47c1edf853137f320d583db5, >=02527c3f2300100a25524c8c020d98c7957e485e <5080808c3339de2220c602ab7c7fa23dc6c1a5a3, >=02527c3f2300100a25524c8c020d98c7957e485e <99b642dac24f6d09ba3ebf1d690be8aefff86164, >=02527c3f2300100a25524c8c020d98c7957e485e <b1173d64edd276c957b6d09e1f971c85b38f1519 | 1ba9856cf7f6492b47c1edf853137f320d583db5, 5080808c3339de2220c602ab7c7fa23dc6c1a5a3, 99b642dac24f6d09ba3ebf1d690be8aefff86164, b1173d64edd276c957b6d09e1f971c85b38f1519 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket