In the Linux kernel, the following vulnerability has been resolved: net: caif: fix memory leak in caifdevicenotify In case of caifenrolldev() fail, allocated link_support won't be assigned to the corresponding structure. So simply free allocated pointer in case of error