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

Published Apr 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

soc: microchip: mpfs: Fix memory leak in mpfssyscontrollerprobe()

In mpfssyscontrollerprobe(), if ofgetmtddevicebynode() fails, the function returns immediately without freeing the allocated memory for syscontroller, leading to a memory leak.

Fix this by jumping to the outfree label to ensure the memory is properly freed.

Also, consolidate the error handling for the mboxrequestchannel() failure case to use the same label.

Affected Software

8 affected components
Linux Linux kernel (mpfs driver)
Linux Linux kernel>=6.8<6.12.78
Linux Linux kernel>=6.13<6.18.20
Linux Linux kernel>=6.19<6.19.10
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4

Event History

Apr 3, 2026
CVE Published
via MITRE·03:15 PM
Data Sourced
via MITRE·03:15 PM
Description
Data Sourced
via NVD·04:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What conditions trigger the leak?

The leak occurs when mpfs_sys_controller_probe() calls of_get_mtd_device_by_node() and that call fails. The allocated sys_controller memory is not freed before the function returns.

2

Who is exposed to this issue?

Systems using the Linux kernel MPFS driver are affected when the vulnerable probe error path is reached. Exploitation requires local access with low privileges; no user interaction is required.

3

What is the impact of repeated failures?

Repeated triggering of the affected error path can leak kernel memory and lead to an availability impact. The CVSS vector identifies availability as the only affected security property.

4

Is there a related error path covered by the fix?

Yes. The change also consolidates handling of mbox_request_channel() failures so that this path uses the same cleanup label.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203