soc: microchip: mpfs: Fix memory leak in mpfs_sys_controller_probe()
In the Linux kernel, the following vulnerability has been resolved: soc: microchip: mpfs: Fix memory leak in mpfs_sys_controller_probe() In mpfs_sys_controller_probe(), if of_get_mtd_device_by_node() fails, the function returns immediately without freeing the allocated memory for sys_controller, leading to a memory leak. Fix this by jumping to the out_free label to ensure the memory is properly freed. Also, consolidate the error handling for the mbox_request_channel() failure case to use the same label.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.78, 6.18.20, 6.19.10
- CVEs
- CVE-2026-23464
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 18:23 UTC · Revision 1
Source evidence
soc: microchip: mpfs: Fix memory leak in mpfs_sys_controller_probe()
core-osv · Original sourcePublished 3 Apr 2026, 15:15 UTC
In the Linux kernel, the following vulnerability has been resolved: soc: microchip: mpfs: Fix memory leak in mpfs_sys_controller_probe() In mpfs_sys_controller_probe(), if of_get_mtd_device_by_node() fails, the function returns immediately without freeing the allocated memory for sys_controller, leading to a memory leak. Fix this by jumping to the out_free label to ensure the memory is properly freed. Also, consolidate the error handling for the mbox_request_channel() failure case to use the same label.
osv:CVE-2026-23464
Kernel
Fixed versions: 6.12.78, 6.18.20, 6.19.10
Complete source record
{
"id": "2c5014829394719bae7d194984094a8dfa88abab9849eb8abf8f848250256d34",
"url": "https://osv.dev/vulnerability/CVE-2026-23464",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "soc: microchip: mpfs: Fix memory leak in mpfs_sys_controller_probe()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: soc: microchip: mpfs: Fix memory leak in mpfs_sys_controller_probe() In mpfs_sys_controller_probe(), if of_get_mtd_device_by_node() fails, the function returns immediately without freeing the allocated memory for sys_controller, leading to a memory leak. Fix this by jumping to the out_free label to ensure the memory is properly freed. Also, consolidate the error handling for the mbox_request_channel() failure case to use the same label.",
"evidence": "osv:CVE-2026-23464",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.78",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.20",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-23464",
"aliases": [
"CVE-2026-23464"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "742aa6c563d29c367edbf0ef7236a7a853ed9be4"
},
{
"fixed": "da4b44c42f40501db35f5d0a6243708a061490a0"
},
{
"fixed": "e3dd5cffba07de6574165a72851471cd42cc6d15"
},
{
"fixed": "17c84fb7cf3971cc621646185d785670e9530ca1"
},
{
"fixed": "5a741f8cc6fe62542f955cd8d24933a1b6589cbd"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23464.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.8.0"
},
{
"fixed": "6.12.78"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.20"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "6.19.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23464.json"
}
}
],
"modified": "2026-10-28T02:30:47.898965022Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/17c84fb7cf3971cc621646185d785670e9530ca1",
"https://git.kernel.org/stable/c/5a741f8cc6fe62542f955cd8d24933a1b6589cbd",
"https://git.kernel.org/stable/c/da4b44c42f40501db35f5d0a6243708a061490a0",
"https://git.kernel.org/stable/c/e3dd5cffba07de6574165a72851471cd42cc6d15",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23464.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-23464",
"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/23xxx/CVE-2026-23464.json"
}
},
"related_cves": [
{
"value": "CVE-2026-23464",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 515875,
"published_at": "2026-04-03T15:15:43.137+00:00"
}