← CVE Intelligence

CVE-2023-53300

media: hi846: Fix memleak in hi846_init_controls() PUBLISHED

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 / productVersions
Linux / Linuxaffected e8c0882685f9152f0d729664a12bcbe749cb7736 before fd22e8c8c38fb40f130d3a60e52c59996a5bbae9; affected e8c0882685f9152f0d729664a12bcbe749cb7736 before 12a80b1490e398f5ad7157508cf32b73511de5fc; affected e8c0882685f9152f0d729664a12bcbe749cb7736 before 07f0f15e5db60c5b0722049d3251ef4a46dc3b76; affected e8c0882685f9152f0d729664a12bcbe749cb7736 before 2649c1a20e8e399ee955d0e22192f9992662c3d2
Linux / Linuxaffected 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

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.