{"id":"CVE-2026-45863","summary":"i3c: dw: Fix memory leak in dw_i3c_master_i2c_xfers()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ni3c: dw: Fix memory leak in dw_i3c_master_i2c_xfers()\n\nThe dw_i3c_master_i2c_xfers() function allocates memory for the xfer\nstructure using dw_i3c_master_alloc_xfer(). If pm_runtime_resume_and_get()\nfails, the function returns without freeing the allocated xfer, resulting\nin a memory leak.\n\nAdd a dw_i3c_master_free_xfer() call to the error path to ensure the\nallocated memory is properly freed.\n\nCompile tested only. Issue found using a prototype static analysis tool\nand code review.","modified":"2026-07-08T08:09:39.338502262Z","published":"2026-05-27T12:15:42.685Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45863.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/140a45bd4f6db7d1b30cab967d29689b946c52fa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2537089413514caaa9a5fdeeac3a34d45100f747"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8e71414e252c1cb235911008a98fd47927d3a55c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2c41467ef42f69a3958493a0395ba75174710dc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45863.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45863"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"62fe9d06f5709caa1fa68055873ff279e05ade37"},{"fixed":"140a45bd4f6db7d1b30cab967d29689b946c52fa"},{"fixed":"8e71414e252c1cb235911008a98fd47927d3a55c"},{"fixed":"a2c41467ef42f69a3958493a0395ba75174710dc"},{"fixed":"2537089413514caaa9a5fdeeac3a34d45100f747"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45863.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.12.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45863.json"}}],"schema_version":"1.7.5"}