{"id":"CVE-2026-45863","state":"PUBLISHED","title":"i3c: dw: Fix memory leak in dw_i3c_master_i2c_xfers()","description":"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.","publishedAt":"2026-05-27T12:15:42.685Z","updatedAt":"2026-05-27T12:15:42.685Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"62fe9d06f5709caa1fa68055873ff279e05ade37","status":"affected","lessThan":"140a45bd4f6db7d1b30cab967d29689b946c52fa","versionType":"git"},{"version":"62fe9d06f5709caa1fa68055873ff279e05ade37","status":"affected","lessThan":"8e71414e252c1cb235911008a98fd47927d3a55c","versionType":"git"},{"version":"62fe9d06f5709caa1fa68055873ff279e05ade37","status":"affected","lessThan":"a2c41467ef42f69a3958493a0395ba75174710dc","versionType":"git"},{"version":"62fe9d06f5709caa1fa68055873ff279e05ade37","status":"affected","lessThan":"2537089413514caaa9a5fdeeac3a34d45100f747","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/i3c/master/dw-i3c-master.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.14","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.4","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/i3c/master/dw-i3c-master.c"]}],"references":["https://git.kernel.org/stable/c/140a45bd4f6db7d1b30cab967d29689b946c52fa","https://git.kernel.org/stable/c/8e71414e252c1cb235911008a98fd47927d3a55c","https://git.kernel.org/stable/c/a2c41467ef42f69a3958493a0395ba75174710dc","https://git.kernel.org/stable/c/2537089413514caaa9a5fdeeac3a34d45100f747"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45863.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45863","state":"PUBLISHED","datePublished":"2026-05-27T12:15:42.685Z","dateUpdated":"2026-05-27T12:15:42.685Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-13T15:03:33.080Z"},"containers":{"cna":{"title":"i3c: dw: Fix memory leak in dw_i3c_master_i2c_xfers()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"62fe9d06f5709caa1fa68055873ff279e05ade37","status":"affected","lessThan":"140a45bd4f6db7d1b30cab967d29689b946c52fa","versionType":"git"},{"version":"62fe9d06f5709caa1fa68055873ff279e05ade37","status":"affected","lessThan":"8e71414e252c1cb235911008a98fd47927d3a55c","versionType":"git"},{"version":"62fe9d06f5709caa1fa68055873ff279e05ade37","status":"affected","lessThan":"a2c41467ef42f69a3958493a0395ba75174710dc","versionType":"git"},{"version":"62fe9d06f5709caa1fa68055873ff279e05ade37","status":"affected","lessThan":"2537089413514caaa9a5fdeeac3a34d45100f747","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/i3c/master/dw-i3c-master.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.14","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.4","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/i3c/master/dw-i3c-master.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/140a45bd4f6db7d1b30cab967d29689b946c52fa"},{"url":"https://git.kernel.org/stable/c/8e71414e252c1cb235911008a98fd47927d3a55c"},{"url":"https://git.kernel.org/stable/c/a2c41467ef42f69a3958493a0395ba75174710dc"},{"url":"https://git.kernel.org/stable/c/2537089413514caaa9a5fdeeac3a34d45100f747"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-27T12:15:42.685Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.12.75"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.18.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.19.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}