In the Linux kernel, the following vulnerability has been resolved: media: pci: hws: only init channels the device actually has hws_probe() initializes max_channels (always 4) control handlers, but register/unregister only walk cur_max_video_ch (1 or 2 on smaller chips). The extra handlers are never freed. Initialize the same number of channels that cleanup uses.
https://git.kernel.org/stable/c/ad5390c35ccf98cec66ef1009351305f25b5a757
https://git.kernel.org/stable/c/079615bb524a3f118b1c82fdf49c2596eae6f340