CVE-2022-50830

auxdisplay: hd44780: Fix potential memory leak in hd44780_remove()

State
Published
Severity
Not scored
Published
Dec 30, 2025
Updated
May 11, 2026
Reserved
Dec 30, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

auxdisplay: hd44780: Fix potential memory leak in hd44780_remove()

hd44780_probe() allocates a memory chunk for hd with kzalloc() and makes "lcd->drvdata->hd44780" point to it. When we call hd44780_remove(), we should release all relevant memory and resource. But "lcd->drvdata ->hd44780" is not released, which will lead to a memory leak.

We should release the "lcd->drvdata->hd44780" in hd44780_remove() to fix the memory leak bug.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 718e05ed92ecac0d9d3954bcc8064527c3ce7565 to before 8311961a1724bfc64390c539dedc31e067a80315Affected
  • 718e05ed92ecac0d9d3954bcc8064527c3ce7565 to before 6cd37f8232f5e169a723e1d5fbe3b2139c2ef763Affected
  • 718e05ed92ecac0d9d3954bcc8064527c3ce7565 to before 5d407911e605702ffcc0e97a6db546592ab27dd0Affected
  • 718e05ed92ecac0d9d3954bcc8064527c3ce7565 to before ddf75a86aba2cfb7ec4497e8692b60c8c8fe0ee7Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.100 through 5.15.*Not affected
  • 6.1.18 through 6.1.*Not affected
  • 6.2.5 through 6.2.*Not affected
  • 6.3 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.