CVE-2026-23464

MEDIUM

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

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 2.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (16)
linux/Kernel 6.13.0 - 6.18.20linux
linux/Kernel 6.19.0 - 6.19.10linux
linux/Kernel 6.8.0 - 6.12.78linux
Linux/Linux < 6.8
Linux/Linux 6.12.78 - 6.12.*
Linux/Linux 6.18.20 - 6.18.*
Linux/Linux 6.19.10 - 6.19.*
Linux/Linux 6.8
Linux/Linux 7.0
Linux/Linux 7.0-rc5
... and 6 more
Published Apr 03, 2026
Tracked Since Apr 03, 2026