In the Linux kernel, the following vulnerability has been resolved: PNP: fix name memory leak in pnpallocdev() After commit 1fa5ae857bb1 ("driver core: get rid of struct device's busid string array"), the name of device is allocated dynamically, move devsetname() after pnpadd_id() to avoid memory leak.