soc: microchip: mpfs: Fix memory leak in mpfs_sys_controller_probe()
Summary
| CVE | CVE-2026-23464 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-03 16:16:33 UTC |
| Updated | 2026-04-03 16:16:33 UTC |
| Description | 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 742aa6c563d29c367edbf0ef7236a7a853ed9be4 da4b44c42f40501db35f5d0a6243708a061490a0 git |
Not specified |
| CNA |
Linux |
Linux |
affected 742aa6c563d29c367edbf0ef7236a7a853ed9be4 e3dd5cffba07de6574165a72851471cd42cc6d15 git |
Not specified |
| CNA |
Linux |
Linux |
affected 742aa6c563d29c367edbf0ef7236a7a853ed9be4 17c84fb7cf3971cc621646185d785670e9530ca1 git |
Not specified |
| CNA |
Linux |
Linux |
affected 742aa6c563d29c367edbf0ef7236a7a853ed9be4 5a741f8cc6fe62542f955cd8d24933a1b6589cbd git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.8 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.8 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.78 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.20 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.19.10 6.19.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.0-rc5 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/17c84fb7cf3971cc621646185d785670e9530ca1 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/e3dd5cffba07de6574165a72851471cd42cc6d15 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/da4b44c42f40501db35f5d0a6243708a061490a0 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/5a741f8cc6fe62542f955cd8d24933a1b6589cbd |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.