CVE-2022-49860

dmaengine: ti: k3-udma-glue: fix memory leak when register device fail

State
Published
Severity
5.5 Medium
Published
May 1, 2025
Updated
May 11, 2026
Reserved
May 1, 2025

Read the record on cve.org

Description

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

dmaengine: ti: k3-udma-glue: fix memory leak when register device fail

If device_register() fails, it should call put_device() to give up reference, the name allocated in dev_set_name() can be freed in callback function kobject_cleanup().

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
LinuxLinux
  • 5b65781d06ea90ef2f8e51a13352c43c3daa8cdc to before 1dd27541aa2b95bde71bddd43d73f9c16d73272cAffected
  • 5b65781d06ea90ef2f8e51a13352c43c3daa8cdc to before 025eab5189fc7ee223ae9b4bc49d7df196543e53Affected
  • 5b65781d06ea90ef2f8e51a13352c43c3daa8cdc to before ac2b9f34f02052709aea7b34bb2a165e1853eb41Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.79 through 5.15.*Not affected
  • 6.0.9 through 6.0.*Not affected
  • 6.1 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.