In the Linux kernel, the following vulnerability has been resolved:
mISDN: fix possible memory leak in mISDNdspelement_register()
Afer commit 1fa5ae857bb1 ("driver core: get rid of struct device's busid string array"), the name of device is allocated dynamically, use putdevice() to give up the reference, so that the name can be freed in kobject_cleanup() when the refcount is 0.
The 'entry' is going to be freed in mISDNdspdevrelease(), so the kfree() is removed. listdel() is called in mISDNdspdev_release(), so it need be initialized.