Description
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 status
d4c750f2c7d44b5b39e197308bc3f510205bba4b (git) before 0cee68fb7f4cf1562e067c5a82d25062a973b0d0
d4c750f2c7d44b5b39e197308bc3f510205bba4b (git) before 30c64fb9839949f085c8eb55b979cbd8a4c51f00
5.16
Any version before 5.16
6.19.9 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/0cee68fb7f4cf1562e067c5a82d25062a973b0d0
git.kernel.org/...c/30c64fb9839949f085c8eb55b979cbd8a4c51f00