i3c: dw: Fix memory leak in dw_i3c_master_i2c_xfers()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 140a45bd4f6db7d1b30cab967d29689b946c52fa, Kernel 2537089413514caaa9a5fdeeac3a34d45100f747, Kernel 8e71414e252c1cb235911008a98fd47927d3a55c and 1 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.11, >=62fe9d06f5709caa1fa68055873ff279e05ade37 <140a45bd4f6db7d1b30cab967d29689b946c52fa, >=62fe9d06f5709caa1fa68055873ff279e05ade37 <2537089413514caaa9a5fdeeac3a34d45100f747, >=62fe9d06f5709caa1fa68055873ff279e05ade37 <8e71414e252c1cb235911008a98fd47927d3a55c, >=62fe9d06f5709caa1fa68055873ff279e05ade37 <a2c41467ef42f69a3958493a0395ba75174710dc | 140a45bd4f6db7d1b30cab967d29689b946c52fa, 2537089413514caaa9a5fdeeac3a34d45100f747, 8e71414e252c1cb235911008a98fd47927d3a55c, a2c41467ef42f69a3958493a0395ba75174710dc |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket