CVE-2022-50548

media: i2c: hi846: Fix memory leak in hi846_parse_dt()

State
Published
Severity
Not scored
Published
Oct 7, 2025
Updated
May 11, 2026
Reserved
Oct 7, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e8c0882685f9152f0d729664a12bcbe749cb7736 to before a05a9ae9ef3fffc9bc7ec2bc432a249a01155f6eAffected
  • e8c0882685f9152f0d729664a12bcbe749cb7736 to before 4368730678412a8fa71960dbda81e122dafa70f7Affected
  • e8c0882685f9152f0d729664a12bcbe749cb7736 to before 80113026d415e27483669db7a88b548d1ec3d3d1Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.