i3c: dw: Fix memory leak in dw_i3c_master_i2c_xfers()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.75, 6.18.14, 6.19.4
- CVEs
- CVE-2026-45863
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 02:07 UTC · Revision 1
Source evidence
i3c: dw: Fix memory leak in dw_i3c_master_i2c_xfers()
core-osv · Original sourcePublished 27 May 2026, 12:15 UTC
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.
osv:CVE-2026-45863
Kernel
Fixed versions: 6.12.75, 6.18.14, 6.19.4
Complete source record
{
"id": "23a7f756b1c852d21a75a745a8a7b67686e9521a6e7224b0f49390dc2733998a",
"url": "https://osv.dev/vulnerability/CVE-2026-45863",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "i3c: dw: Fix memory leak in dw_i3c_master_i2c_xfers()",
"summary": "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.",
"evidence": "osv:CVE-2026-45863",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.75",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.14",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-45863",
"aliases": [
"CVE-2026-45863"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45863.json"
}
}
],
"modified": "2026-10-28T02:30:25.295279548Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/140a45bd4f6db7d1b30cab967d29689b946c52fa",
"https://git.kernel.org/stable/c/2537089413514caaa9a5fdeeac3a34d45100f747",
"https://git.kernel.org/stable/c/8e71414e252c1cb235911008a98fd47927d3a55c",
"https://git.kernel.org/stable/c/a2c41467ef42f69a3958493a0395ba75174710dc",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45863.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-45863",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45863.json"
}
},
"related_cves": [
{
"value": "CVE-2026-45863",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 491782,
"published_at": "2026-05-27T12:15:42.685+00:00"
}