i3c: master: renesas: Fix memory leak in renesas_i3c_i3c_xfers()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.337.0.107.1In 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.
From the CVE record · Linux
The Renesas I3C master driver does not free an allocated transfer structure in renesas_i3c_i3c_xfers(), causing a memory leak. The input does not describe how an attacker could trigger the leak or whether access or user interaction is required.
Engineers running Linux kernels with the Renesas I3C master driver should check their versions; affected versions are not specified.