Bug 1777455 (CVE-2019-18811) - CVE-2019-18811 kernel: memory leak in sof_set_get_large_ctrl_data() function in sound/soc/sof/ipc.c
Summary: CVE-2019-18811 kernel: memory leak in sof_set_get_large_ctrl_data() function ...
Alias: CVE-2019-18811
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1777456 1807098
Blocks: 1777495
TreeView+ depends on / blocked
Reported: 2019-11-27 15:39 UTC by Dhananjay Arunesh
Modified: 2023-05-12 21:17 UTC (History)
42 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel’s sof_set_get_large_ctrl_data function, in the way it handled memory cleanup in a specific error path. A local attacker could use this flaw to crash the system.
Clone Of:
Last Closed: 2021-10-25 22:12:42 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:2538 0 None None None 2021-06-23 18:05:46 UTC
Red Hat Product Errata RHBA-2021:2541 0 None None None 2021-06-24 11:50:24 UTC

Description Dhananjay Arunesh 2019-11-27 15:39:16 UTC
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.


Comment 1 Dhananjay Arunesh 2019-11-27 15:39:44 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1777456]

Comment 2 Petr Matousek 2020-02-25 15:27:13 UTC

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.

Comment 5 errata-xmlrpc 2021-05-18 13:19:37 UTC
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

Note You need to log in before you can comment on or make changes to this bug.