Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50548

media: i2c: hi846: Fix memory leak in hi846_parse_dt()

Description

In the Linux kernel, the following vulnerability has been resolved: media: i2c: hi846: Fix memory leak in hi846_parse_dt() If any of the checks related to the supported link frequencies fail, then the V4L2 fwnode resources don't get released before returning, which leads to a memleak. Fix this by properly freeing the V4L2 fwnode data in a designated label.

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 < a05a9ae9ef3fffc9bc7ec2bc432a249a01155f6eaffected
  • e8c0882685f9152f0d729664a12bcbe749cb7736 to < 4368730678412a8fa71960dbda81e122dafa70f7affected
  • e8c0882685f9152f0d729664a12bcbe749cb7736 to < 80113026d415e27483669db7a88b548d1ec3d3d1affected

Linux Linux

Default version status: affected

  • 5.16affected
  • 0 to < 5.16unaffected
  • 6.0.16 to ≤ 6.0.*unaffected
  • 6.1.2 to ≤ 6.1.*unaffected
  • 6.2 to ≤ *unaffected

References