In the Linux kernel, the following vulnerability has been resolved: pinctrl: devicetree: fix refcount leak in pinctrldttomap() If we fail to allocate propname buffer, we need to drop the reference count we just took. Because the pinctrldtfreemaps() includes the droping operation, here we call it directly.