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: 5.5 Medium
EPSS: < 1% Very Low
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 score of 5.5 indicates a moderate severity. The EPSS score of 0.00018 shows a very low exploitation probability. Because the flaw exists in kernel space, exploiting it would require the attacker to trigger a failed pm_runtime_resume_and_get() during an I2C transfer, which in turn would need interaction with the affected device, likely in a privileged or controlled context. The vulnerability is not listed in the CISA KEV catalog, indicating no known active exploits. However, the memory leak could still cause degraded performance or service disruption over time, so prompt remediation is advised.

Generated by OpenCVE AI on May 28, 2026 at 16:09 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 28, 2026 at 16:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 28 May 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Thu, 28 May 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


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

Severity : Low

Publid Date: 2026-05-27T00:00:00Z

Links: CVE-2026-45863 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T16:15:04Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime