A memory leak in the sof_set_get_large_ctrl_data() function in sound/soc/sof/ipc.c in the Linux kernel allows attackers to cause a denial of service (memory consumption) by triggering sof_get_ctrl_copy_params() failures.
Created kernel tracking bugs for this issue:
Affects: fedora-all [bug 1777456]
As the snd-sof module will be auto-loaded when required, its use can be disabled by preventing the module from loading with the following instructions:
# echo "install snd-sof /bin/true" >> /etc/modprobe.d/disable-snd-sof.conf
The system will need to be restarted if the snd-sof module is already loaded. In most circumstances, the snd-sof kernel module will be unable to be unloaded while the device is in use. If the system requires this module to work correctly, this mitigation may not be suitable. If you need further assistance, see KCS article https://access.redhat.com/solutions/41278 or contact Red Hat Global Support Services.
This issue has been addressed in the following products:
Red Hat Enterprise Linux 8
Via RHSA-2021:1578 https://access.redhat.com/errata/RHSA-2021:1578