In the Linux kernel, the following vulnerability has been resolved: drm/hisilicon/hibmc: fix the hibmc loaded failed bug When hibmc loaded failed, the driver use hibmc_unload to free the resource, but the mutexes in mode.config are not init, which will access an NULL pointer. Just change goto statement to return, because hibnc_hw_init() doesn't need to free anything.
https://git.kernel.org/stable/c/f93032e5d68f459601c701f6ab087b5feb3382e8
https://git.kernel.org/stable/c/ddf1691f25345699296e642f0f59f2d464722fa3
https://git.kernel.org/stable/c/d3e774266c28aefab3e9db334fdf568f936cae04
https://git.kernel.org/stable/c/c950e1be3a24d021475b56efdb49daa7fbba63a9
https://git.kernel.org/stable/c/a4f1b9c57092c48bdc7958abd23403ccaed437b2
https://git.kernel.org/stable/c/93a08f856fcc5aaeeecad01f71bef3088588216a