CVE-2026-53278
Beschrijving NL
In de Linux kernel is de volgende kwetsbaarheid verholpen:
arm_mpam: Controleer of de configuratiearray is toegewezen voordat u deze vernietigt
__destroy_component_cfg() wordt aangeroepen om de configuratiearray vrij te maken. Het maakt gebruik van de ingebouwde 'garbage' -structuur, wat betekent dat de array
toe te wijzen. Als __destroy_component_cfg() wordt aangeroepen vanuit mpam_disable() vóór de
configuratie ooit is toegewezen, dan wordt een NULL pointer gederefereerd. Controleer op dit geval en kom vroeg terug als de configuratie niet
toegewezen. __destroy_component_cfg() maakt ook de mbwu_state vrij als deze wordt toegewezen
door __allocate_component_cfg(). Aangezien de mbwu_state wordt toegewezen na
comp->cfg is ingesteld en staat ook onder mpam_list_lock, alleen de eerste
aanwijzer moet worden gecontroleerd.
Origineel (Engels) tonen
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.