ASoC: amd: acp-mach-common: Add missing error check for clock acquisition
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.19.9, Kernel 30c64fb9839949f085c8eb55b979cbd8a4c51f00, Kernel 53682a55cac6f159311c63d04f3d7ba64a8a455a and 8 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.16 <6.19.9, =7.0, >=d4c750f2c7d44b5b39e197308bc3f510205bba4b <30c64fb9839949f085c8eb55b979cbd8a4c51f00, >=d4c750f2c7d44b5b39e197308bc3f510205bba4b <53682a55cac6f159311c63d04f3d7ba64a8a455a, >=d4c750f2c7d44b5b39e197308bc3f510205bba4b <a71ce398347fed9422dbd5c6458f7f8348012c64, >=d4c750f2c7d44b5b39e197308bc3f510205bba4b <e0e31a7ed1191c12a28763bb70c4c7f5adadc79d, >=d4c750f2c7d44b5b39e197308bc3f510205bba4b <f9cdfe3f94e93b606ff5d6e8e6dc405e07acce84, =5.16, >=d4c750f2c7d44b5b39e197308bc3f510205bba4b <0cee68fb7f4cf1562e067c5a82d25062a973b0d0 | 6.19.9, 30c64fb9839949f085c8eb55b979cbd8a4c51f00, 53682a55cac6f159311c63d04f3d7ba64a8a455a, a71ce398347fed9422dbd5c6458f7f8348012c64, e0e31a7ed1191c12a28763bb70c4c7f5adadc79d, f9cdfe3f94e93b606ff5d6e8e6dc405e07acce84, 0cee68fb7f4cf1562e067c5a82d25062a973b0d0 |
| linux-kernel: Kernel | >=5.16.0 <6.1.191, >=6.13.0 <6.18.57, >=6.19.0 <6.19.9, >=6.2.0 <6.6.160, >=6.7.0 <6.12.114 | 6.1.191, 6.18.57, 6.19.9, 6.6.160, 6.12.114 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket