Description
In the Linux kernel, the following vulnerability has been resolved: clk: clocking-wizard: Fix Oops in clk_wzrd_register_divider() Smatch detected this potential error pointer dereference clk_wzrd_register_divider(). If devm_clk_hw_register() fails then it sets "hw" to an error pointer and then dereferences it on the next line. Return the error directly instead.
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
5a853722eb32188647a541802d51d0db423b9baf to < 2f276dd9c0f835242836d9f6823035158ce2585caffected5a853722eb32188647a541802d51d0db423b9baf to < b35cb0c05b8dafe23ae5e8b605a91b88bcf4aba7affected5a853722eb32188647a541802d51d0db423b9baf to < 25dbdfb7b71ef8601d00c6d9a2b1a96de28b30c5affected5a853722eb32188647a541802d51d0db423b9baf to < f078a65ebf930f4305e3c415a8338d22391642c9affected5a853722eb32188647a541802d51d0db423b9baf to < 9c632a6396505a019ea6d12b5ab45e659a542a93affected
Linux Linux
Default version status: affected
5.13affected0 to < 5.13unaffected5.15.121 to ≤ 5.15.*unaffected6.1.39 to ≤ 6.1.*unaffected6.3.13 to ≤ 6.3.*unaffected6.4.4 to ≤ 6.4.*unaffected6.5 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/2f276dd9c0f835242836d9f6823035158ce2585c ↗
- https://git.kernel.org/stable/c/b35cb0c05b8dafe23ae5e8b605a91b88bcf4aba7 ↗
- https://git.kernel.org/stable/c/25dbdfb7b71ef8601d00c6d9a2b1a96de28b30c5 ↗
- https://git.kernel.org/stable/c/f078a65ebf930f4305e3c415a8338d22391642c9 ↗
- https://git.kernel.org/stable/c/9c632a6396505a019ea6d12b5ab45e659a542a93 ↗