# CVE-2026-45863: i3c: dw: Fix memory leak in dw_i3c_master_i2c_xfers()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-05-27T12:15:42.685Z
- Modified: 2026-06-25T21:07:16.310Z
- Weaknesses: CWE-401
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 62fe9d06f5709caa1fa68055873ff279e05ade37 before 140a45bd4f6db7d1b30cab967d29689b946c52fa; from 62fe9d06f5709caa1fa68055873ff279e05ade37 before 8e71414e252c1cb235911008a98fd47927d3a55c; from 62fe9d06f5709caa1fa68055873ff279e05ade37 before a2c41467ef42f69a3958493a0395ba75174710dc; from 62fe9d06f5709caa1fa68055873ff279e05ade37 before 2537089413514caaa9a5fdeeac3a34d45100f747; 6.11 (not affected: before 6.11; from 6.12.75 up to 6.12.*; from 6.18.14 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.11 before 6.12.75; from 6.13 before 6.18.14; from 6.19 before 6.19.4

## References

- <https://git.kernel.org/stable/c/140a45bd4f6db7d1b30cab967d29689b946c52fa> (patch)
- <https://git.kernel.org/stable/c/8e71414e252c1cb235911008a98fd47927d3a55c> (patch)
- <https://git.kernel.org/stable/c/a2c41467ef42f69a3958493a0395ba75174710dc> (patch)
- <https://git.kernel.org/stable/c/2537089413514caaa9a5fdeeac3a34d45100f747> (patch)

## Sources

- CVE List: [CVE-2026-45863](https://www.cve.org/CVERecord?id=CVE-2026-45863), CVE Terms of Use, modified 2026-05-27
- NVD: [CVE-2026-45863](https://nvd.nist.gov/vuln/detail/CVE-2026-45863), Public domain, modified 2026-06-25

---

Page: https://cve.day/CVE-2026-45863 · Whole record: https://cve.day/CVE-2026-45863.json · Rebuilt by cve.day 2026-11-25T22:59:22.479Z
