CVE-2022-48907

auxdisplay: lcd2s: Fix memory leak in ->remove()

State
Published
Severity
Not scored
Published
Aug 22, 2024
Updated
May 11, 2026
Reserved
Aug 21, 2024

Read the record on cve.org

Description

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

auxdisplay: lcd2s: Fix memory leak in ->remove()

Once allocated the struct lcd2s_data is never freed. Fix the memory leak by switching to devm_kzalloc().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8c9108d014c5bd0f0da2e3544eb45dc56a6da92b to before 5d53cd33f4253aa4cf02bf7e670b3c6a99674351Affected
  • 8c9108d014c5bd0f0da2e3544eb45dc56a6da92b to before 3585ed5f9b11a6094dd991d76a1541e5d03b986aAffected
  • 8c9108d014c5bd0f0da2e3544eb45dc56a6da92b to before 898c0a15425a5bcaa8d44bd436eae5afd2483796Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.27 through 5.15.*Not affected
  • 5.16.13 through 5.16.*Not affected
  • 5.17 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.