{"id":"CVE-2022-50548","summary":"media: i2c: hi846: Fix memory leak in hi846_parse_dt()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: i2c: hi846: Fix memory leak in hi846_parse_dt()\n\nIf any of the checks related to the supported link frequencies fail, then\nthe V4L2 fwnode resources don't get released before returning, which leads\nto a memleak. Fix this by properly freeing the V4L2 fwnode data in a\ndesignated label.","modified":"2026-04-02T08:28:36.661605Z","published":"2025-10-07T15:21:11.318Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50548.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4368730678412a8fa71960dbda81e122dafa70f7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/80113026d415e27483669db7a88b548d1ec3d3d1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a05a9ae9ef3fffc9bc7ec2bc432a249a01155f6e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50548.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50548"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e8c0882685f9152f0d729664a12bcbe749cb7736"},{"fixed":"a05a9ae9ef3fffc9bc7ec2bc432a249a01155f6e"},{"fixed":"4368730678412a8fa71960dbda81e122dafa70f7"},{"fixed":"80113026d415e27483669db7a88b548d1ec3d3d1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50548.json"}}],"schema_version":"1.7.5"}