CVE-2022-50548
publishedmedia: i2c: hi846: Fix memory leak in hi846_parse_dt()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe8c0882685f9152f0d729664a12bcbe749cb7736 to < a05a9ae9ef3fffc9bc7ec2bc432a249a01155f6e · e8c0882685f9152f0d729664a12bcbe749cb7736 to < 4368730678412a8fa71960dbda81e122dafa70f7 · e8c0882685f9152f0d729664a12bcbe749cb7736 to < 80113026d415e27483669db7a88b548d1ec3d3d1 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.16 (affected) · 0 to < 5.16 (unaffected · semver) · 6.0.16 through 6.0.* (unaffected · semver) · 6.1.2 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e8c0882685f9152f0d729664a12bcbe749cb7736 to < a05a9ae9ef3fffc9bc7ec2bc432a249a01155f6e (affected · git)e8c0882685f9152f0d729664a12bcbe749cb7736 to < 4368730678412a8fa71960dbda81e122dafa70f7 (affected · git)e8c0882685f9152f0d729664a12bcbe749cb7736 to < 80113026d415e27483669db7a88b548d1ec3d3d1 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.16 (affected)0 to < 5.16 (unaffected · semver)6.0.16 through 6.0.* (unaffected · semver)6.1.2 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
media: i2c: hi846: Fix memory leak in hi846_parse_dt()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a1d9da8e74c750185b7bf95aad173fe31c11936bad755076ae6f0237e9c20227
- Ingested
- 23 Sep 2026, 08:04:48 UTC
- Source record
- Official CVE record