In the Linux kernel, the following vulnerability has been resolved: media: radio-si476x: Unregister v4l2_device on probe failure si476x_radio_probe() registers radio->v4l2dev before allocating the V4L2 controls and before registering the video device. If any of those later steps fails, probe returns through the exit label after freeing only the control handler. A failed probe does not call si476x_radio_remove(), so the v4l2_device_unregister() there is not reached. This leaves the parent device reference taken by v4l2_device_register() behind on the error path. Unregister the V4L2 device in the probe error path after freeing the controls.
https://git.kernel.org/stable/c/7ef9f1659404544a8dddd68842bafcb4a38197af
https://git.kernel.org/stable/c/730c235d7d2c80a401dac56b0f5066c889aa442d
https://git.kernel.org/stable/c/64cb15878b35e5574ff4f80a0b613a79e47867ba
https://git.kernel.org/stable/c/4ca9c9f12b1bc341a0a3bbbd2090fd182db53771
https://git.kernel.org/stable/c/436a693af04ffb889aaf87cb69ec1f2b21d3569c