In the Linux kernel, the following vulnerability has been resolved: rapidio: rio: fix possible name leak in rioregistermport() If deviceregister() returns error, the name allocated by devsetname() need be freed. It should use putdevice() to give up the reference in the error path, so that the name can be freed in kobjectcleanup(), and listdel() is called to delete the port from rio_mports.