Use-after-free in Linux kernel - CVE-2018-21008

 

Use-after-free in Linux kernel - CVE-2018-21008

Published: October 23, 2019


Vulnerability identifier: #VU22199
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-21008
CWE-ID: CWE-416
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to use-after-free error in the file drivers/net/wireless/rsi/rsi_91x_mac80211.c. A remote attacker can use the function rsi_mac80211_detach to trigger use-after-free error and execute arbitrary code on the system with elevated privileges.


Affected software

Linux kernel
Slackware Linux
Ubuntu
linux (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-oracle (Ubuntu package)
linux-oem (Ubuntu package)
linux-gke-4.15 (Ubuntu package)
linux-aws-hwe (Ubuntu package)
linux-4.4.217/kernel-generic
linux-4.4.217/kernel-huge
linux-4.4.217/kernel-modules
linux-4.4.217/kernel-headers

How to mitigate CVE-2018-21008

Install update from vendor's website.

Linux kernel - update to 4.16.7
linux (Ubuntu package) - addressed in versions 4.4.0-166.195, 4.15.0-66.75
linux-raspi2 (Ubuntu package) - addressed in versions 4.4.0-1124.133, 4.15.0-1049.53
linux-lts-xenial (Ubuntu package) - update to 4.4.0-166.195~14.04.1
linux-kvm (Ubuntu package) - addressed in versions 4.4.0-1060.67, 4.15.0-1048.48
linux-aws (Ubuntu package) - addressed in versions 4.4.0-1056.60, 4.4.0-1096.107, 4.15.0-1052.54
linux-snapdragon (Ubuntu package) - addressed in versions 4.4.0-1128.136, 4.15.0-1066.73
linux-hwe (Ubuntu package) - update to 4.15.0-66.75~16.04.1
linux-gcp (Ubuntu package) - update to 4.15.0-1047.50
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1061.66~14.04.1, 4.15.0-1061.66
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1027.30~16.04.1, 4.15.0-1027.30
linux-oem (Ubuntu package) - update to 4.15.0-1059.68
linux-gke-4.15 (Ubuntu package) - update to 4.15.0-1046.49
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1052.54~16.04.1
linux-4.4.217/kernel-generic - update to 4.4.217
linux-4.4.217/kernel-huge - update to 4.4.217
linux-4.4.217/kernel-modules - update to 4.4.217
linux-4.4.217/kernel-headers - update to 4.4.217_smp

External References

Related Security Bulletins