A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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 products
From the NVD's configuration data (CPE), vendor first.
- Linux linux kernel
Weakness type
References
- git.kernel.org /stable/c/6ccbb613b42a1f1ba7bfd547a148f644a902a25c
- git.kernel.org /stable/c/8eb6dc76eeae5302c0d885906a0e469ef9630a59
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning