Use-after-free error in Linux kernel - CVE-2018-19824

 

Use-after-free error in Linux kernel - CVE-2018-19824

Published: December 4, 2018 / Updated: December 5, 2018


Vulnerability identifier: #VU16237
CSH Severity: Low
CVSS v4: 8.5 [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]
CVE-ID: CVE-2018-19824
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The vulnerability exists in the Advanced Linux Sound Architecture (ALSA) driver due to use-after-free error in the usb_audio_probefunction, as defined in the sound/usb/card.c source code file. A local attacker can supply a malicious USB sound device with no interfaces, trigger memory corruption and execute arbitrary code with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Linux kernel
Ubuntu
Fedora
Opensuse
linux (Ubuntu package)
linux-lts-trusty (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-lts-xenial (Ubuntu package)
linux-kvm (Ubuntu package)
linux-aws (Ubuntu package)
linux-snapdragon (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-oem (Ubuntu package)
linux-oracle (Ubuntu package)
linux-aws-hwe (Ubuntu package)
kernel-headers
kernel-tools
kernel

How to mitigate CVE-2018-19824

Install update from vendor's website.

Linux kernel - addressed in versions 4.15.0 rc4, 4.15.0, 4.15.0-r7, 4.15.1, 4.15.2, 4.15.3, 4.15.4, 4.15.5, 4.15.6, 4.15.7, 4.15.8, 4.15.9, 4.15.10, 4.15.11, 4.15.12, 4.15.13, 4.15.14, 4.15.15, 4.15.16, 4.15.17, 4.15.18, 4.16, 4.16.1, 4.16.2, 4.16.3, 4.16.4, 4.16.5, 4.16.6, 4.16.7, 4.16.8, 4.16.9, 4.16.10, 4.16.11, 4.16.12, 4.16.13, 4.16.14, 4.16.15, 4.16.16, 4.16.17, 4.16.18, 4.17, 4.17.1, 4.17.2, 4.17.3, 4.17.4, 4.17.5, 4.17.6, 4.17.7, 4.17.8, 4.17.9, 4.17.10, 4.17.11, 4.17.12, 4.17.13, 4.17.14, 4.17.15, 4.17.16, 4.17.17, 4.17.18, 4.17.19, 4.18, 4.18.1, 4.18.2, 4.18.3, 4.18.4, 4.18.5, 4.18.6, 4.18.7, 4.18.8, 4.18.9, 4.18.10, 4.18.11, 4.18.12, 4.18.13, 4.18.14, 4.18.15, 4.18.16, 4.18.17, 4.18.18, 4.18.19, 4.18.20, 4.19, 4.19.1, 4.19.2, 4.19.3, 4.19.4, 4.19.5, 4.19.6
linux (Ubuntu package) - addressed in versions 3.13.0-168.218, 4.4.0-142.168, 4.15.0-47.50, 4.18.0-17.18
linux-lts-trusty (Ubuntu package) - update to 3.13.0-168.218~precise1
linux-raspi2 (Ubuntu package) - addressed in versions 4.4.0-1103.111, 4.15.0-1033.35
linux-lts-xenial (Ubuntu package) - update to 4.4.0-142.168~14.04.1
linux-kvm (Ubuntu package) - addressed in versions 4.4.0-1040.46, 4.15.0-1031.31, 4.18.0-1009.9
linux-aws (Ubuntu package) - addressed in versions 4.4.0-1038.41, 4.4.0-1075.85, 4.15.0-1035.37, 4.18.0-1012.14
linux-snapdragon (Ubuntu package) - update to 4.4.0-1107.112
linux-hwe (Ubuntu package) - addressed in versions 4.15.0-47.50~16.04.1, 4.18.0-17.18~18.04.1
linux-gcp (Ubuntu package) - addressed in versions 4.15.0-1029.31~16.04.1, 4.15.0-1029.31, 4.18.0-1008.9
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1041.45~14.04.1, 4.15.0-1041.45, 4.18.0-1014.14~18.04.1, 4.18.0-1014.14
linux-oem (Ubuntu package) - update to 4.15.0-1035.40
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1010.12~16.04.1, 4.15.0-1010.12
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1035.37~16.04.1
kernel-headers - addressed in versions 4.19.7-200.fc28, 4.19.7-300.fc29
kernel-tools - addressed in versions 4.19.7-200.fc28, 4.19.7-300.fc29
kernel - addressed in versions 4.19.7-200.fc28, 4.19.7-300.fc29

External References

Related Security Bulletins