Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: acp3x-rt5682-max9836: Add missing error check for clock acquisition The acp3x_5682_init() function did not check the return value of clk_get(), which could lead to dereferencing error pointers in rt5682_clk_enable(). Fix this by: 1. Changing clk_get() to the device-managed devm_clk_get(). 2. Adding proper IS_ERR() checks for both clock acquisitions.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 6b8e4e7db3cd236a2cbb720360fb135087a2ac1d before 2dc43ac8da7b2bebc5a51a3d86a6275d78f27cff; affected 6b8e4e7db3cd236a2cbb720360fb135087a2ac1d before 4d802f23fcbfec05134653fd001f6c7c3fd55196; affected 6b8e4e7db3cd236a2cbb720360fb135087a2ac1d before 2b0c4a399c8d27f20ecf17dda76751141d6dbb59; affected 6b8e4e7db3cd236a2cbb720360fb135087a2ac1d before 35c7624d30cb45ec336cd16ce072acc32ae351cb; affected 6b8e4e7db3cd236a2cbb720360fb135087a2ac1d before 33de168afdd57265a0e0c20dbd3648a2d8f7cdc4; affected 6b8e4e7db3cd236a2cbb720360fb135087a2ac1d before 790851ecc983c719fa2e6adb17b02f3acc1d217d; affected 6b8e4e7db3cd236a2cbb720360fb135087a2ac1d before 092522621901b5e6af61db04a53f5b313903c6d0; affected 6b8e4e7db3cd236a2cbb720360fb135087a2ac1d before 53f3a900e9a383d47af7253076e19f510c5708d0 |
| Linux / Linux | affected 5.7; unaffected 0 before 5.7; unaffected 5.10.253 through 5.10.*; unaffected 5.15.203 through 5.15.*; unaffected 6.1.167 through 6.1.*; unaffected 6.6.130 through 6.6.*; unaffected 6.12.78 through 6.12.*; unaffected 6.18.19 through 6.18.*; unaffected 6.19.9 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/2dc43ac8da7b2bebc5a51a3d86a6275d78f27cff
- https://git.kernel.org/stable/c/4d802f23fcbfec05134653fd001f6c7c3fd55196
- https://git.kernel.org/stable/c/2b0c4a399c8d27f20ecf17dda76751141d6dbb59
- https://git.kernel.org/stable/c/35c7624d30cb45ec336cd16ce072acc32ae351cb
- https://git.kernel.org/stable/c/33de168afdd57265a0e0c20dbd3648a2d8f7cdc4
- https://git.kernel.org/stable/c/790851ecc983c719fa2e6adb17b02f3acc1d217d
- https://git.kernel.org/stable/c/092522621901b5e6af61db04a53f5b313903c6d0
- https://git.kernel.org/stable/c/53f3a900e9a383d47af7253076e19f510c5708d0