Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected e8c0882685f9152f0d729664a12bcbe749cb7736 before fd22e8c8c38fb40f130d3a60e52c59996a5bbae9; affected e8c0882685f9152f0d729664a12bcbe749cb7736 before 12a80b1490e398f5ad7157508cf32b73511de5fc; affected e8c0882685f9152f0d729664a12bcbe749cb7736 before 07f0f15e5db60c5b0722049d3251ef4a46dc3b76; affected e8c0882685f9152f0d729664a12bcbe749cb7736 before 2649c1a20e8e399ee955d0e22192f9992662c3d2 |
| Linux / Linux | affected 5.16; unaffected 0 before 5.16; unaffected 6.1.28 through 6.1.*; unaffected 6.2.15 through 6.2.*; unaffected 6.3.2 through 6.3.*; unaffected 6.4 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/fd22e8c8c38fb40f130d3a60e52c59996a5bbae9
- https://git.kernel.org/stable/c/12a80b1490e398f5ad7157508cf32b73511de5fc
- https://git.kernel.org/stable/c/07f0f15e5db60c5b0722049d3251ef4a46dc3b76
- https://git.kernel.org/stable/c/2649c1a20e8e399ee955d0e22192f9992662c3d2
ADP enrichment
No English description supplied.
No references supplied.