Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2023-53300

media: hi846: Fix memleak in hi846_init_controls()

Description

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e8c0882685f9152f0d729664a12bcbe749cb7736 to < fd22e8c8c38fb40f130d3a60e52c59996a5bbae9affected
  • e8c0882685f9152f0d729664a12bcbe749cb7736 to < 12a80b1490e398f5ad7157508cf32b73511de5fcaffected
  • e8c0882685f9152f0d729664a12bcbe749cb7736 to < 07f0f15e5db60c5b0722049d3251ef4a46dc3b76affected
  • e8c0882685f9152f0d729664a12bcbe749cb7736 to < 2649c1a20e8e399ee955d0e22192f9992662c3d2affected

Linux Linux

Default version status: affected

  • 5.16affected
  • 0 to < 5.16unaffected
  • 6.1.28 to ≤ 6.1.*unaffected
  • 6.2.15 to ≤ 6.2.*unaffected
  • 6.3.2 to ≤ 6.3.*unaffected
  • 6.4 to ≤ *unaffected

References