CVE-2023-53300

media: hi846: Fix memleak in hi846_init_controls()

State
Published
Severity
5.5 Medium
Published
Sep 16, 2025
Updated
May 11, 2026
Reserved
Sep 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
LinuxLinux
  • e8c0882685f9152f0d729664a12bcbe749cb7736 to before fd22e8c8c38fb40f130d3a60e52c59996a5bbae9Affected
  • e8c0882685f9152f0d729664a12bcbe749cb7736 to before 12a80b1490e398f5ad7157508cf32b73511de5fcAffected
  • e8c0882685f9152f0d729664a12bcbe749cb7736 to before 07f0f15e5db60c5b0722049d3251ef4a46dc3b76Affected
  • e8c0882685f9152f0d729664a12bcbe749cb7736 to before 2649c1a20e8e399ee955d0e22192f9992662c3d2Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 6.1.28 through 6.1.*Not affected
  • 6.2.15 through 6.2.*Not affected
  • 6.3.2 through 6.3.*Not affected
  • 6.4 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.