In the Linux kernel, the following vulnerability has been resolved:
ALSA: ac97: fix possible memory leak in sndac97dev_register()
If deviceregister() fails in sndac97devregister(), it should call putdevice() to give up reference, or the name allocated in devset_name() is leaked.