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 ...
Keywords:
Status: NEW
Alias: CVE-2019-18811
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1807098 1777456
Blocks: 1777495
TreeView+ depends on / blocked
 
Reported: 2019-11-27 15:39 UTC by Dhananjay Arunesh
Modified: 2020-09-15 20:41 UTC (History)
44 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:
Environment:
Last Closed:


Attachments (Terms of Use)

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.

Reference:
https://github.com/torvalds/linux/commit/45c1380358b12bf2d1db20a5874e9544f56b34ab

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
Mitigation:

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.


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