CVE-2022-50548

Source
https://cve.org/CVERecord?id=CVE-2022-50548
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50548.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50548
Downstream
Published
2025-10-07T15:21:11.318Z
Modified
2026-04-02T08:28:36.661605Z
Summary
media: i2c: hi846: Fix memory leak in hi846_parse_dt()
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50548.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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"