Linux
ASoC: loongson: Fix error handling in ACPI property parsing
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= ddb538a3004b10a04a14a0d275c5f52a8d161e80, < 682c123cef455545f48ecbe74b3872fa303bf58f
- >= ddb538a3004b10a04a14a0d275c5f52a8d161e80, < 4e580d84a638f007b5b68d50d7633de502f325e7
- >= ddb538a3004b10a04a14a0d275c5f52a8d161e80, < bb1602908c67db7197ab001638573262bccc6ca2
- >= ddb538a3004b10a04a14a0d275c5f52a8d161e80, < 0eb0e3c623ac1da8b85d518043fef7660af7805d
Fixed in 682c123cef455545f48ecbe74b3872fa303bf58f, 4e580d84a638f007b5b68d50d7633de502f325e7, bb1602908c67db7197ab001638573262bccc6ca2, 0eb0e3c623ac1da8b85d518043fef7660af7805d
- 6.12
Fixed in 0, 6.12.110, 6.18.51, 7.2.5, 7.3
Mitigation
Upgrade Linux to 682c123cef455545f48ecbe74b3872fa303bf58f or 4e580d84a638f007b5b68d50d7633de502f325e7 or bb1602908c67db7197ab001638573262bccc6ca2 or 0eb0e3c623ac1da8b85d518043fef7660af7805d or later.
Upgrade Linux to 0 or 6.12.110 or 6.18.51 or 7.2.5 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.