# CVE-2022-50548: media: i2c: hi846: Fix memory leak in hi846_parse_dt()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-10-07T15:21:11.318Z
- Modified: 2026-06-17T05:23:46.157Z
- Weaknesses: CWE-401
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 5.16 before 6.0.16; from 6.1 before 6.1.2

## References

- <https://git.kernel.org/stable/c/a05a9ae9ef3fffc9bc7ec2bc432a249a01155f6e> (patch)
- <https://git.kernel.org/stable/c/4368730678412a8fa71960dbda81e122dafa70f7> (patch)
- <https://git.kernel.org/stable/c/80113026d415e27483669db7a88b548d1ec3d3d1> (patch)

## Sources

- CVE List: [CVE-2022-50548](https://www.cve.org/CVERecord?id=CVE-2022-50548), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50548](https://nvd.nist.gov/vuln/detail/CVE-2022-50548), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50548 · Whole record: https://cve.day/CVE-2022-50548.json · Rebuilt by cve.day 2026-11-25T22:58:21.267Z
