CVE-2026-53030: i3c: master: renesas: Fix memory leak in renesas_i3c_i3c_xfers()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
i3c: master: renesas: Fix memory leak in renesas_i3c_i3c_xfers()
The xfer structure allocated by renesas_i3c_alloc_xfer() was never freed in the renesas_i3c_i3c_xfers() function. Use the __free(kfree) cleanup attribute to automatically free the memory when the variable goes out of scope.
The Linux kernel CVE team has assigned CVE-2026-53030 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.17 with commit d028219a9f1485914492bf373406f6a0e665ace2 and fixed in 6.18.33 with commit 1b6a7e94be678d34a9ccb9db7e2443ae02ad2bc8 Issue introduced in 6.17 with commit d028219a9f1485914492bf373406f6a0e665ace2 and fixed in 7.0.10 with commit ab8f00ffcca0f618fb8198d358f24728950d9860 Issue introduced in 6.17 with commit d028219a9f1485914492bf373406f6a0e665ace2 and fixed in 7.1 with commit d7665c3b4f575251e449e2656879392346ca612b
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-53030
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/i3c/master/renesas-i3c.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/1b6a7e94be678d34a9ccb9db7e2443ae02ad2bc8 https://git.kernel.org/stable/c/ab8f00ffcca0f618fb8198d358f24728950d9860 https://git.kernel.org/stable/c/d7665c3b4f575251e449e2656879392346ca612b