5.5medium
arm_mpam: Check whether the config array is allocated before destroying it
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.11% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 3bd04fe7d807bbdcfe75b29ca82fae4e2d7dc524 before 8eb6dc76eeae5302c0d885906a0e469ef9630a59, from 3bd04fe7d807bbdcfe75b29ca82fae4e2d7dc524 before 6ccbb613b42a1f1ba7bfd547a148f644a902a25c, 6.19 Not affected: before 6.19, from 7.0.10 up to 7.0.*, from 7.1 up to * | CVE List |
| linux linux_kernel | from 6.19 before 7.0.10, 7.1 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53278 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-53278 changed 2026-11-06 | Public domain |