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.