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.
Published: 2026-05-27
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, the dw_i3c_master_i2c_xfers() function allocates a transfer structure but fails to free it when pm_runtime_resume_and_get() fails. This oversight creates a memory leak that can be triggered every time the i3c device controller performs an I2C transfer that encounters a runtime resume error. As the leaked memory accumulates, system memory pressure increases, potentially leading to degraded performance or a system crash, thereby causing a denial‑of‑service condition. The Weakness is a classic memory‑leak scenario and does not directly provide code execution or privilege escalation.

Affected Systems

The vulnerability affects all Linux kernels that include the dw i3c driver. No specific kernel versions are listed, so the issue may exist across multiple releases that compile the current dw_i3c master code.

Risk and Exploitability

The CVSS or EPSS metrics are not available, but the nature of the flaw suggests a high exploitation likelihood in environments where the i3c driver handles frequent I2C transfers. Because the vulnerability is in kernel space, a successful exploitation would require interaction with the affected device, likely in a privileged or controlled context. The issue is not listed in the CISA KEV catalog, indicating that there are no known active exploits, yet the potential for service disruption warrants prompt remediation.

Generated by OpenCVE AI on May 27, 2026 at 16:46 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the Linux kernel patch that adds dw_i3c_master_free_xfer() to the error path of dw_i3c_master_i2c_xfers()
  • Rebuild or install a kernel that contains the updated i3c driver
  • Restart the system or affected services to ensure the memory leak does not persist during the session

Generated by OpenCVE AI on May 27, 2026 at 16:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 27 May 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
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.
Title i3c: dw: Fix memory leak in dw_i3c_master_i2c_xfers()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-27T12:15:42.685Z

Reserved: 2026-05-13T15:03:33.080Z

Link: CVE-2026-45863

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-27T14:16:58.557

Modified: 2026-05-27T14:48:31.480

Link: CVE-2026-45863

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-27T19:00:14Z

Weaknesses