In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: acp-mach-common: Add missing error check for clock acquisition The acp_card_rt5682_init() and acp_card_rt5682s_init() functions did not check the return values of clk_get(). This could lead to a kernel crash when the invalid pointers are later dereferenced by clock core functions. Fix this by: 1. Changing clk_get() to the device-managed devm_clk_get(). 2. Adding IS_ERR() checks immediately after each clock acquisition.
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | 2.4 |
| Linux | Linux | 2.3.0.1 |
| Linux | Linux | < 1.1.0 |
| Linux | Linux | < 68.0.3440.75 |