CVE-2026-53278

MEDIUM

arm_mpam: Check whether the config array is allocated before destroying it

Title source: cna
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: arm_mpam: Check whether the config array is allocated before destroying it __destroy_component_cfg() is called to free the configuration array. It uses the embedded 'garbage' structure, which means the array has to be allocated. If __destroy_component_cfg() is called from mpam_disable() before the configuration was ever allocated, then a NULL pointer is dereferenced. Check for this case and return early if the configuration is not allocated. __destroy_component_cfg() also frees the mbwu_state as this is allocated by __allocate_component_cfg(). As the mbwu_state is allocated after comp->cfg is set, and is also under mpam_list_lock, only the first pointer needs checking.

Scores

CVSS v3 5.5
EPSS 0.0011
EPSS Percentile 1.4%
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-476
Status published
Products (9)
linux/Kernel 6.19.0 - 7.0.10linux
Linux/Linux < 6.19
Linux/Linux 3bd04fe7d807bbdcfe75b29ca82fae4e2d7dc524 - 6ccbb613b42a1f1ba7bfd547a148f644a902a25c
Linux/Linux 3bd04fe7d807bbdcfe75b29ca82fae4e2d7dc524 - 8eb6dc76eeae5302c0d885906a0e469ef9630a59
Linux/Linux 6.19
Linux/Linux 7.0.10 - 7.0.*
Linux/Linux 7.1
linux/linux_kernel 7.1 rc1 (3 CPE variants)
linux/linux_kernel 6.19 - 7.0.10
Published Jun 26, 2026
Tracked Since Jun 27, 2026