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
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux 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
- NVD record
- CVE.org record
- https://git.kernel.org/stable/c/07f0f15e5db60c5b0722049d3251ef4a46dc3b76
- https://git.kernel.org/stable/c/12a80b1490e398f5ad7157508cf32b73511de5fc
- https://git.kernel.org/stable/c/2649c1a20e8e399ee955d0e22192f9992662c3d2
- https://git.kernel.org/stable/c/fd22e8c8c38fb40f130d3a60e52c59996a5bbae9