title: net: caif: fix memory leak in cfusbl_device_notify
description: In the Linux kernel, the following vulnerability has been resolved:
net: caif: fix memory leak in cfusbl_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:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 7ad65bf68d70, lessThan: cc302e30a504, status: affected, versionType: git
version: 7ad65bf68d70, lessThan: 81afc61cb6e2, status: affected, versionType: git
version: 7ad65bf68d70, lessThan: e8b37f5009ea, status: affected, versionType: git
version: 7ad65bf68d70, lessThan: 9ea0ab48e755, status: affected, versionType: git
version: 7ad65bf68d70, lessThan: 4d94f530cd24, status: affected, versionType: git
version: 7ad65bf68d70, lessThan: 46403c1f80b0, status: affected, versionType: git
version: 7ad65bf68d70, lessThan: dde8686985ec, status: affected, versionType: git
version: 7ad65bf68d70, lessThan: 7f5d86669fa4, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 3.3, status: affected
version: 0, lessThan: 3.3, status: unaffected, versionType: custom
version: 4.4.272, lessThanOrEqual: 4.4.*, status: unaffected, versionType: custom
version: 4.9.272, lessThanOrEqual: 4.9.*, status: unaffected, versionType: custom
version: 4.14.236, lessThanOrEqual: 4.14.*, status: unaffected, versionType: custom
version: 4.19.194, lessThanOrEqual: 4.19.*, status: unaffected, versionType: custom
version: 5.4.125, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.43, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.12.10, lessThanOrEqual: 5.12.*, status: unaffected, versionType: custom
version: 5.13, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
