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
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-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