CVE-2022-50548
5.5medium
media: i2c: hi846: Fix memory leak in hi846_parse_dt()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e8c0882685f9152f0d729664a12bcbe749cb7736 before a05a9ae9ef3fffc9bc7ec2bc432a249a01155f6e, from e8c0882685f9152f0d729664a12bcbe749cb7736 before 4368730678412a8fa71960dbda81e122dafa70f7, from e8c0882685f9152f0d729664a12bcbe749cb7736 before 80113026d415e27483669db7a88b548d1ec3d3d1, 5.16 Not affected: before 5.16, from 6.0.16 up to 6.0.*, from 6.1.2 up to 6.1.*, from 6.2 up to * | CVE List |
| linux linux_kernel | from 5.16 before 6.0.16, from 6.1 before 6.1.2 | NVD |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-50548 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-50548 changed 2026-06-17 | Public domain |