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