# CVE-2026-23464: soc: microchip: mpfs: Fix memory leak in mpfs_sys_controller_probe()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-04-03T15:15:43.137Z
- Modified: 2026-07-24T22:10:00.140Z
- Weaknesses: CWE-401
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 742aa6c563d29c367edbf0ef7236a7a853ed9be4 before da4b44c42f40501db35f5d0a6243708a061490a0; from 742aa6c563d29c367edbf0ef7236a7a853ed9be4 before e3dd5cffba07de6574165a72851471cd42cc6d15; from 742aa6c563d29c367edbf0ef7236a7a853ed9be4 before 17c84fb7cf3971cc621646185d785670e9530ca1; from 742aa6c563d29c367edbf0ef7236a7a853ed9be4 before 5a741f8cc6fe62542f955cd8d24933a1b6589cbd; 6.8 (not affected: before 6.8; from 6.12.78 up to 6.12.*; from 6.18.20 up to 6.18.*; from 6.19.10 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.8 before 6.12.78; from 6.13 before 6.18.20; from 6.19 before 6.19.10; 7.0

## References

- <https://git.kernel.org/stable/c/da4b44c42f40501db35f5d0a6243708a061490a0> (patch)
- <https://git.kernel.org/stable/c/e3dd5cffba07de6574165a72851471cd42cc6d15> (patch)
- <https://git.kernel.org/stable/c/17c84fb7cf3971cc621646185d785670e9530ca1> (patch)
- <https://git.kernel.org/stable/c/5a741f8cc6fe62542f955cd8d24933a1b6589cbd> (patch)

## Sources

- CVE List: [CVE-2026-23464](https://www.cve.org/CVERecord?id=CVE-2026-23464), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-23464](https://nvd.nist.gov/vuln/detail/CVE-2026-23464), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-23464 · Whole record: https://cve.day/CVE-2026-23464.json · Rebuilt by cve.day 2026-11-25T22:59:17.891Z
