CVE-2026-45863

i3c: dw: Fix memory leak in dw_i3c_master_i2c_xfers()

State
Published
Severity
Not scored
Published
May 27, 2026
Updated
May 27, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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

i3c: dw: Fix memory leak in dw_i3c_master_i2c_xfers()

The dw_i3c_master_i2c_xfers() function allocates memory for the xfer structure using dw_i3c_master_alloc_xfer(). If pm_runtime_resume_and_get() fails, the function returns without freeing the allocated xfer, resulting in a memory leak.

Add a dw_i3c_master_free_xfer() call to the error path to ensure the allocated memory is properly freed.

Compile tested only. Issue found using a prototype static analysis tool and code review.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 62fe9d06f5709caa1fa68055873ff279e05ade37 to before 140a45bd4f6db7d1b30cab967d29689b946c52faAffected
  • 62fe9d06f5709caa1fa68055873ff279e05ade37 to before 8e71414e252c1cb235911008a98fd47927d3a55cAffected
  • 62fe9d06f5709caa1fa68055873ff279e05ade37 to before a2c41467ef42f69a3958493a0395ba75174710dcAffected
  • 62fe9d06f5709caa1fa68055873ff279e05ade37 to before 2537089413514caaa9a5fdeeac3a34d45100f747Affected
LinuxLinux
  • 6.11Affected
  • before 6.11Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.14 through 6.18.*Not affected
  • 6.19.4 through 6.19.*Not affected
  • 7.0 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.