CVE-2018-20961

Published: 07 August 2019

In the Linux kernel before 4.16.4, a double free vulnerability in the f_midi_set_alt function of drivers/usb/gadget/function/f_midi.c in the f_midi driver may allow attackers to cause a denial of service or possibly have unspecified other impact.

From the Ubuntu security team

It was discovered that the USB gadget Midi driver in the Linux kernel contained a double-free vulnerability when handling certain error conditions. A local attacker could use this to cause a denial of service (system crash).

Priority

Medium

CVSS 3 base score: 9.8

Status

Package Release Status
linux
Launchpad, Ubuntu, Debian
Upstream
Released (4.17~rc1)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-24.26)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (4.4.0-165.193)
Ubuntu 14.04 ESM (Trusty Tahr) Ignored
(was needs-triage ESM criteria)
Patches:
Introduced by ad0d1a058eac46503edbc510d1ce44c5df8e0c91
Fixed by 7fafcfdf6377b18b2a726ea554d6e593ba44349f
linux-aws
Launchpad, Ubuntu, Debian
Upstream Not vulnerable
(CONFIG_USB_F_MIDI is not enabled)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(CONFIG_USB_F_MIDI is not enabled)
Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable
(CONFIG_USB_F_MIDI is not enabled)
Ubuntu 14.04 ESM (Trusty Tahr) Ignored
(was needs-triage ESM criteria)
linux-aws-hwe
Launchpad, Ubuntu, Debian
Upstream Not vulnerable
(CONFIG_USB_F_MIDI is not enabled)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable
(CONFIG_USB_F_MIDI is not enabled)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

linux-azure
Launchpad, Ubuntu, Debian
Upstream Not vulnerable
(CONFIG_USB_F_MIDI is not enabled)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(CONFIG_USB_F_MIDI is not enabled)
Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable
(CONFIG_USB_F_MIDI is not enabled)
Ubuntu 14.04 ESM (Trusty Tahr) Ignored
(was needs-triage ESM criteria)
linux-azure-edge
Launchpad, Ubuntu, Debian
Upstream Needs triage

Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(CONFIG_USB_F_MIDI is not enabled)
Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable
(CONFIG_USB_F_MIDI is not enabled)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

linux-gcp
Launchpad, Ubuntu, Debian
Upstream
Released (4.17~rc1)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-1010.10)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (4.15.0-1014.14~16.04.1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

linux-gcp-edge
Launchpad, Ubuntu, Debian
Upstream
Released (4.17~rc1)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-1010.10)
Ubuntu 16.04 ESM (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

linux-gke-4.15
Launchpad, Ubuntu, Debian
Upstream
Released (4.17~rc1)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(4.15.0-1030.32)
Ubuntu 16.04 ESM (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

linux-gke-5.0
Launchpad, Ubuntu, Debian
Upstream
Released (4.17~rc1)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(5.0.0-1011.11~18.04.1)
Ubuntu 16.04 ESM (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

linux-hwe
Launchpad, Ubuntu, Debian
Upstream
Released (4.17~rc1)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(4.18.0-13.14~18.04.1)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (4.15.0-24.26~16.04.1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

linux-hwe-edge
Launchpad, Ubuntu, Debian
Upstream
Released (4.17~rc1)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(5.0.0-15.16~18.04.1)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (4.15.0-24.26~16.04.1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

linux-kvm
Launchpad, Ubuntu, Debian
Upstream Not vulnerable
(CONFIG_USB_F_MIDI is not enabled)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(CONFIG_USB_F_MIDI is not enabled)
Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable
(CONFIG_USB_F_MIDI is not enabled)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

linux-lts-trusty
Launchpad, Ubuntu, Debian
Upstream
Released (4.17~rc1)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 ESM (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

linux-lts-xenial
Launchpad, Ubuntu, Debian
Upstream
Released (4.17~rc1)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 ESM (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Ignored
(was needs-triage ESM criteria)
linux-oem
Launchpad, Ubuntu, Debian
Upstream
Released (4.17~rc1)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-1009.12)
Ubuntu 16.04 ESM (Xenial Xerus) Ignored
(was needs-triage now end-of-life)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

linux-oracle
Launchpad, Ubuntu, Debian
Upstream
Released (4.17~rc1)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(4.15.0-1007.9)
Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable
(4.15.0-1007.9~16.04.1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

linux-raspi2
Launchpad, Ubuntu, Debian
Upstream
Released (4.17~rc1)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-1013.14)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (4.4.0-1123.132)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

linux-snapdragon
Launchpad, Ubuntu, Debian
Upstream
Released (4.17~rc1)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-1053.57)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (4.4.0-1127.135)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist