Double Free in Linux kernel - CVE-2018-20961

 

Double Free in Linux kernel - CVE-2018-20961

Published: September 6, 2019


Vulnerability identifier: #VU20899
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-20961
CWE-ID: CWE-415
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error within the f_midi_set_alt function of drivers/usb/gadget/function/f_midi.c in the f_midi driver. A local user can create and run a specially crafted application, trigger double free error and execute arbitrary code on the target system with elevated privileges.


How to mitigate CVE-2018-20961

Install update from vendor's website.

Sources