CVE-2022-50548

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxe8c0882685f9152f0d729664a12bcbe749cb7736 < a05a9ae9ef3fffc9bc7ec2bc432a249a01155f6eaffected
LinuxLinuxe8c0882685f9152f0d729664a12bcbe749cb7736 < 4368730678412a8fa71960dbda81e122dafa70f7affected
LinuxLinuxe8c0882685f9152f0d729664a12bcbe749cb7736 < 80113026d415e27483669db7a88b548d1ec3d3d1affected
LinuxLinux5.16affected
LinuxLinux0 < 5.16unaffected
LinuxLinux6.0.16 <= 6.0.*unaffected
LinuxLinux6.1.2 <= 6.1.*unaffected
LinuxLinux6.2 <= *unaffected

Weaknesses

References