CVE-2026-89943: ASoC: loongson: Fix error handling in ACPI property parsing
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ASoC: loongson: Fix error handling in ACPI property parsing
In loongson_card_parse_acpi(), the return value of device_property_read_string() for the codec-dai-name property was ignored. If the property is missing or invalid, an uninitialized pointer would be used later, potentially leading to undefined behavior.
Fix this by checking the return value and propagating the error appropriately.
The Linux kernel CVE team has assigned CVE-2026-89943 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.12 with commit ddb538a3004b10a04a14a0d275c5f52a8d161e80 and fixed in 6.12.110 with commit 682c123cef455545f48ecbe74b3872fa303bf58f Issue introduced in 6.12 with commit ddb538a3004b10a04a14a0d275c5f52a8d161e80 and fixed in 6.18.51 with commit 4e580d84a638f007b5b68d50d7633de502f325e7 Issue introduced in 6.12 with commit ddb538a3004b10a04a14a0d275c5f52a8d161e80 and fixed in 7.2.5 with commit bb1602908c67db7197ab001638573262bccc6ca2 Issue introduced in 6.12 with commit ddb538a3004b10a04a14a0d275c5f52a8d161e80 and fixed in 7.3-rc1 with commit 0eb0e3c623ac1da8b85d518043fef7660af7805d
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-89943
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
sound/soc/loongson/loongson_card.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/682c123cef455545f48ecbe74b3872fa303bf58f https://git.kernel.org/stable/c/4e580d84a638f007b5b68d50d7633de502f325e7 https://git.kernel.org/stable/c/bb1602908c67db7197ab001638573262bccc6ca2 https://git.kernel.org/stable/c/0eb0e3c623ac1da8b85d518043fef7660af7805d