What’s Vulnerable › Vulnerabilities

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

How to fix

Upgrade to a fixed version: Linux kernel 6.0.16, 6.1.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50548 or the next vulnerability affects your stack