NetSight
medium5.5

CVE-2021-47020

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…

Impact

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 products

VendorProductAffected versions
LinuxLinux Kernel
from 4.18 before 4.19.191
from 4.20 before 5.4.119
from 5.5 before 5.10.37
from 5.11 before 5.11.21
from 5.12 before 5.12.4

Weakness classification

References