title: net: caif: fix memory leak in caif_device_notify
description: 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:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 7c18d2205ea7, lessThan: b042e2b20395, status: affected, versionType: git
version: 7c18d2205ea7, lessThan: 9348c1f10932, status: affected, versionType: git
version: 7c18d2205ea7, lessThan: 4bca2034b41c, status: affected, versionType: git
version: 7c18d2205ea7, lessThan: 3be863c11cab, status: affected, versionType: git
version: 7c18d2205ea7, lessThan: f52f4fd67264, status: affected, versionType: git
version: 7c18d2205ea7, lessThan: af2806345a37, status: affected, versionType: git
version: 7c18d2205ea7, lessThan: 6a0e317f6109, status: affected, versionType: git
version: 7c18d2205ea7, lessThan: b53558a950a8, 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
}
