In the Linux kernel, the following vulnerability has been resolved: rapidio: add check for rioaddnet() in rioscanallocnet() The return value of rioaddnet() should be checked. If it fails, putdevice() should be called to free the memory and give up the reference initialized in rioaddnet().