title: soundwire: stream: fix memory leak in stream config error path
description: In the Linux kernel, the following vulnerability has been resolved:
soundwire: stream: fix memory leak in stream config error path
When stream config is failed, master runtime will release all
slave runtime in the slave_rt_list, but slave runtime is not
added to the list at this time. This patch frees slave runtime
in the config error path to fix the memory leak.
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 89e590535f32, lessThan: 342260fe8210, status: affected, versionType: git
version: 89e590535f32, lessThan: 870533403ffa, status: affected, versionType: git
version: 89e590535f32, lessThan: 7c468deae306, status: affected, versionType: git
version: 89e590535f32, lessThan: 2f17ac005b32, status: affected, versionType: git
version: 89e590535f32, lessThan: effd2bd62b41, status: affected, versionType: git
version: 89e590535f32, lessThan: 48f17f96a817, 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: 4.18, status: affected
version: 0, lessThan: 4.18, status: unaffected, versionType: custom
version: 4.19.191, lessThanOrEqual: 4.19.*, status: unaffected, versionType: custom
version: 5.4.119, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.37, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.11.21, lessThanOrEqual: 5.11.*, status: unaffected, versionType: custom
version: 5.12.4, lessThanOrEqual: 5.12.*, status: unaffected, versionType: custom
version: 5.13, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
