In the Linux kernel, the following vulnerability has been resolved:
pinctrl: nuvoton: fix a double free in ma35pinctrldtnodetomapfunc()
'newmap' is allocated using devm* which takes care of freeing the allocated data on device removal, call to
.dt_free_map = pinconf_generic_dt_free_map
double frees the map as pinconfgenericdtfreemap() calls pinctrlutilsfree_map().
Fix this by using kcalloc() instead of auto-managed devm_kcalloc().