CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's handling of ACPI property parsing in the loongson sound card driver, specifically in the `loongson_card_parse_acpi()` function. An uninitialized pointer could be used if the `codec-dai-name` property is missing or invalid, potentially resulting in undefined behavior and system instability. Organizations using Linux systems with loongson hardware should prioritize addressing this issue to mitigate risks associated with system crashes or unpredictable behavior.
Original NVD 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.