NetSight
medium5.5

CVE-2023-53300

In the Linux kernel, the following vulnerability has been resolved: media: hi846: Fix memleak in hi846_init_controls() hi846_init_controls doesn't clean the al…

Impact

In the Linux kernel, the following vulnerability has been resolved: media: hi846: Fix memleak in hi846_init_controls() hi846_init_controls doesn't clean the allocated ctrl_hdlr in case there is a failure, which causes memleak. Add v4l2_ctrl_handler_free to free the resource properly.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.16 before 6.1.28
from 6.2 before 6.2.15
from 6.3 before 6.3.2

Weakness classification

References