What’s Vulnerable › Vulnerabilities
CVE-2022-50548: media: i2c: hi846: Fix memory leak in hi846_parse_dt()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-07 · updated 2026-06-17
- Weakness: CWE-401
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
- Linux kernel: from 5.16 before 6.0.16; from 6.1 before 6.1.2 — fixed in 6.0.16, 6.1.2
How to fix
Upgrade to a fixed version: Linux kernel 6.0.16, 6.1.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/4368730678412a8fa71960dbda81e122dafa70f7
- https://git.kernel.org/stable/c/80113026d415e27483669db7a88b548d1ec3d3d1
- https://git.kernel.org/stable/c/a05a9ae9ef3fffc9bc7ec2bc432a249a01155f6e
Get alerted when CVE-2022-50548 or the next vulnerability affects your stack