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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
d4c750f2c7d44b5b39e197308bc3f510205bba4b to < f9cdfe3f94e93b606ff5d6e8e6dc405e07acce84affectedd4c750f2c7d44b5b39e197308bc3f510205bba4b to < a71ce398347fed9422dbd5c6458f7f8348012c64affectedd4c750f2c7d44b5b39e197308bc3f510205bba4b to < 53682a55cac6f159311c63d04f3d7ba64a8a455aaffectedd4c750f2c7d44b5b39e197308bc3f510205bba4b to < e0e31a7ed1191c12a28763bb70c4c7f5adadc79daffectedd4c750f2c7d44b5b39e197308bc3f510205bba4b to < 0cee68fb7f4cf1562e067c5a82d25062a973b0d0affectedd4c750f2c7d44b5b39e197308bc3f510205bba4b to < 30c64fb9839949f085c8eb55b979cbd8a4c51f00affected
Linux Linux
Default version status: affected
5.16affected0 to < 5.16unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.114 to ≤ 6.12.*unaffected6.18.57 to ≤ 6.18.*unaffected6.19.9 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/f9cdfe3f94e93b606ff5d6e8e6dc405e07acce84 ↗
- https://git.kernel.org/stable/c/a71ce398347fed9422dbd5c6458f7f8348012c64 ↗
- https://git.kernel.org/stable/c/53682a55cac6f159311c63d04f3d7ba64a8a455a ↗
- https://git.kernel.org/stable/c/e0e31a7ed1191c12a28763bb70c4c7f5adadc79d ↗
- https://git.kernel.org/stable/c/0cee68fb7f4cf1562e067c5a82d25062a973b0d0 ↗
- https://git.kernel.org/stable/c/30c64fb9839949f085c8eb55b979cbd8a4c51f00 ↗