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.
https://git.kernel.org/stable/c/f078a65ebf930f4305e3c415a8338d22391642c9
https://git.kernel.org/stable/c/b35cb0c05b8dafe23ae5e8b605a91b88bcf4aba7
https://git.kernel.org/stable/c/9c632a6396505a019ea6d12b5ab45e659a542a93
https://git.kernel.org/stable/c/2f276dd9c0f835242836d9f6823035158ce2585c
https://git.kernel.org/stable/c/25dbdfb7b71ef8601d00c6d9a2b1a96de28b30c5