NetSight
medium5.5

CVE-2021-47122

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, allocat…

Impact

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 won't be assigned to the corresponding structure. So simply free allocated pointer in case of error

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 3.3 before 4.4.272
from 4.5 before 4.9.272
from 4.10 before 4.14.236
from 4.15 before 4.19.194
from 4.20 before 5.4.125
from 5.5 before 5.10.43

Weakness classification

References