Double Free in Linux kernel - CVE-2018-20961
Published: September 6, 2019
Vulnerability details
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.
Affected software
Slackware Linux
Ubuntu
linux (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-aws (Ubuntu package)
linux-kvm (Ubuntu package)
linux-snapdragon (Ubuntu package)
How to mitigate CVE-2018-20961
linux (Ubuntu package) - update to 4.4.0-165.193
linux-raspi2 (Ubuntu package) - update to 4.4.0-1123.132
linux-aws (Ubuntu package) - update to 4.4.0-1095.106
linux-kvm (Ubuntu package) - update to 4.4.0-1059.66
linux-snapdragon (Ubuntu package) - update to 4.4.0-1127.135