CVE-2022-50548: media: i2c: hi846: Fix memory leak in hi846_parse_dt()
In the Linux kernel, the following vulnerability has been resolved:
media: i2c: hi846: Fix memory leak in hi846parsedt()
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
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-50548?
CVE-2022-50548 has been classified as a medium severity vulnerability due to its potential impact on memory management.
How do I fix CVE-2022-50548?
To fix CVE-2022-50548, update the Linux kernel to the latest version where the vulnerability has been patched.
What systems are affected by CVE-2022-50548?
CVE-2022-50548 affects various versions of the Linux kernel that implement the hi846 camera driver.
What are the risks associated with CVE-2022-50548?
The risks associated with CVE-2022-50548 include potential memory leaks that could lead to application instability or crashes.
Is there a workaround for CVE-2022-50548?
Currently, the recommended solution for CVE-2022-50548 is to apply the available kernel updates, as no effective workaround exists.