Cloudanix VulnDB

CVE-2018-21008

Medium · 5.5

CVSS

5.5

EPSS

0.6%

Published

Sep 4, 2019

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

Older Linux computers with certain wireless hardware could be made to crash by someone who already has access to the machine.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Denial Of Service
Component
OS kernel
Class
Use After Free
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Use-after-free in rsi_mac80211_detach allows a local process to reference freed memory structures in the RSI wireless driver, resulting in a kernel denial of service.

Why it matters to the business

Affected Linux systems may experience unexpected crashes or wireless interface instability when the driver is loaded, requiring reboots and potentially interrupting workloads on older kernels.

How an attack unfolds

An attacker with local user privileges loads or unloads the RSI wireless driver module in a way that invokes rsi_mac80211_detach, then reuses the dangling pointer to trigger a kernel panic.

How to fix it

Upgrade the Linux kernel to a version containing commit abd39c6ded9db53aa44c2540092bdd5fb6590fa8 or later; apply distribution backports if available.

How to confirm the fix worked

Verify the running kernel contains the referenced commit or is newer than 4.16.7; attempt to load/unload the rsi91x module and confirm no oops occurs.

Typical attack path

  1. Gain local shell access on a system running a vulnerable kernel
  2. Trigger detachment of the mac80211 interface for the RSI 91x wireless device
  3. Cause the kernel to dereference the already-freed object
  4. Induce a crash or system instability

How to detect it

Review kernel logs for oops or panic entries referencing rsi_mac80211_detach or rsi_91x_mac80211.c around the time of any unexplained reboots.

What your security team should do

  • Prioritize kernel upgrades on systems exposing wireless interfaces
  • Restrict local user privileges where possible until patched
  • Monitor vendor kernel update channels for backported fixes

The record

An issue was discovered in the Linux kernel before 4.16.7. A use-after-free can be caused by the function rsi_mac80211_detach in the file drivers/net/wireless/rsi/rsi_91x_mac80211.c.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 linux 0 4.18.6-1
Debian:12 linux 0 4.18.6-1
Debian:13 linux 0 4.18.6-1
Debian:8 linux 0 3.16.74-1
Debian:8 linux-4.9 0 4.9.210-1~deb8u1
SUSE:Enterprise Storage 5 kernel-default 0 4.4.180-94.116.1
SUSE:Enterprise Storage 5 kernel-source 0 4.4.180-94.116.1
SUSE:Enterprise Storage 5 kernel-syms 0 4.4.180-94.116.1
SUSE:Enterprise Storage 5 kgraft-patch-SLE12-SP3_Update_31 0 1-4.3.1
SUSE:HPE Helion OpenStack 8 kernel-default 0 4.4.180-94.116.1
SUSE:HPE Helion OpenStack 8 kernel-source 0 4.4.180-94.116.1
SUSE:HPE Helion OpenStack 8 kernel-syms 0 4.4.180-94.116.1
SUSE:HPE Helion OpenStack 8 kgraft-patch-SLE12-SP3_Update_31 0 1-4.3.1
SUSE:Linux Enterprise Desktop 12 SP4 kernel-default 0 4.12.14-95.32.1
SUSE:Linux Enterprise Desktop 12 SP4 kernel-source 0 4.12.14-95.32.1
SUSE:Linux Enterprise Desktop 12 SP4 kernel-syms 0 4.12.14-95.32.1
SUSE:Linux Enterprise High Availability Extension 12 SP2 kernel-default 0 4.4.121-92.129.1
SUSE:Linux Enterprise High Availability Extension 12 SP3 kernel-default 0 4.4.180-94.116.1
SUSE:Linux Enterprise High Availability Extension 12 SP4 kernel-default 0 4.12.14-95.32.1
SUSE:Linux Enterprise High Availability Extension 15 kernel-default 0 4.12.14-150.35.1
SUSE:Linux Enterprise High Availability Extension 15 SP1 kernel-default 0 4.12.14-197.18.1
SUSE:Linux Enterprise Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_8 0 1-6.3.1
SUSE:Linux Enterprise Live Patching 15 kernel-default 0 4.12.14-150.35.1
SUSE:Linux Enterprise Live Patching 15 kernel-livepatch-SLE15_Update_14 0 1-1.3.1
SUSE:Linux Enterprise Live Patching 15 SP1 kernel-default 0 4.12.14-197.18.1
SUSE:Linux Enterprise Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_5 0 1-3.3.1
SUSE:Linux Enterprise Module for Basesystem 15 kernel-default 0 4.12.14-150.35.1
SUSE:Linux Enterprise Module for Basesystem 15 kernel-source 0 4.12.14-150.35.1
SUSE:Linux Enterprise Module for Basesystem 15 kernel-zfcpdump 0 4.12.14-150.35.1
SUSE:Linux Enterprise Module for Basesystem 15 SP1 kernel-default 0 4.12.14-197.18.1
SUSE:Linux Enterprise Module for Basesystem 15 SP1 kernel-source 0 4.12.14-197.18.1
SUSE:Linux Enterprise Module for Basesystem 15 SP1 kernel-zfcpdump 0 4.12.14-197.18.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-docs 0 4.12.14-150.35.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-obs-build 0 4.12.14-150.35.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-source 0 4.12.14-150.35.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-syms 0 4.12.14-150.35.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-vanilla 0 4.12.14-150.35.1
SUSE:Linux Enterprise Module for Development Tools 15 SP1 kernel-docs 0 4.12.14-197.18.1
SUSE:Linux Enterprise Module for Development Tools 15 SP1 kernel-obs-build 0 4.12.14-197.18.1
SUSE:Linux Enterprise Module for Development Tools 15 SP1 kernel-source 0 4.12.14-197.18.1
SUSE:Linux Enterprise Module for Development Tools 15 SP1 kernel-syms 0 4.12.14-197.18.1
SUSE:Linux Enterprise Module for Legacy 15 kernel-default 0 4.12.14-150.35.1
SUSE:Linux Enterprise Module for Legacy 15 SP1 kernel-default 0 4.12.14-197.18.1
SUSE:Linux Enterprise Module for Public Cloud 15 kernel-azure 0 4.12.14-5.41.1
SUSE:Linux Enterprise Module for Public Cloud 15 kernel-source-azure 0 4.12.14-5.41.1
SUSE:Linux Enterprise Module for Public Cloud 15 kernel-syms-azure 0 4.12.14-5.41.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP1 kernel-azure 0 4.12.14-8.16.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP1 kernel-source-azure 0 4.12.14-8.16.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP1 kernel-syms-azure 0 4.12.14-8.16.1
SUSE:Linux Enterprise Real Time 12 SP4 kernel-rt 0 4.12.14-8.6.1
SUSE:Linux Enterprise Real Time 12 SP4 kernel-rt_debug 0 4.12.14-8.6.1
SUSE:Linux Enterprise Real Time 12 SP4 kernel-source-rt 0 4.12.14-8.6.1
SUSE:Linux Enterprise Real Time 12 SP4 kernel-syms-rt 0 4.12.14-8.6.1
SUSE:Linux Enterprise Server 12 SP2-BCL kernel-default 0 4.4.121-92.129.1
SUSE:Linux Enterprise Server 12 SP2-BCL kernel-source 0 4.4.121-92.129.1
SUSE:Linux Enterprise Server 12 SP2-BCL kernel-syms 0 4.4.121-92.129.1
SUSE:Linux Enterprise Server 12 SP2-LTSS kernel-default 0 4.4.121-92.129.1
SUSE:Linux Enterprise Server 12 SP2-LTSS kernel-source 0 4.4.121-92.129.1
SUSE:Linux Enterprise Server 12 SP2-LTSS kernel-syms 0 4.4.121-92.129.1
SUSE:Linux Enterprise Server 12 SP2-LTSS kgraft-patch-SLE12-SP2_Update_34 0 1-3.3.1
SUSE:Linux Enterprise Server 12 SP3-BCL kernel-default 0 4.4.180-94.116.1
SUSE:Linux Enterprise Server 12 SP3-BCL kernel-source 0 4.4.180-94.116.1
SUSE:Linux Enterprise Server 12 SP3-BCL kernel-syms 0 4.4.180-94.116.1
SUSE:Linux Enterprise Server 12 SP3-LTSS kernel-default 0 4.4.180-94.116.1
SUSE:Linux Enterprise Server 12 SP3-LTSS kernel-source 0 4.4.180-94.116.1
SUSE:Linux Enterprise Server 12 SP3-LTSS kernel-syms 0 4.4.180-94.116.1
SUSE:Linux Enterprise Server 12 SP3-LTSS kgraft-patch-SLE12-SP3_Update_31 0 1-4.3.1
SUSE:Linux Enterprise Server 12 SP4 kernel-azure 0 4.12.14-6.26.1
SUSE:Linux Enterprise Server 12 SP4 kernel-default 0 4.12.14-95.32.1
SUSE:Linux Enterprise Server 12 SP4 kernel-source 0 4.12.14-95.32.1
SUSE:Linux Enterprise Server 12 SP4 kernel-source-azure 0 4.12.14-6.26.1
SUSE:Linux Enterprise Server 12 SP4 kernel-syms 0 4.12.14-95.32.1
SUSE:Linux Enterprise Server 12 SP4 kernel-syms-azure 0 4.12.14-6.26.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 kernel-default 0 4.4.121-92.129.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 kernel-source 0 4.4.121-92.129.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 kernel-syms 0 4.4.121-92.129.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 kgraft-patch-SLE12-SP2_Update_34 0 1-3.3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-default 0 4.4.180-94.116.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-source 0 4.4.180-94.116.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-syms 0 4.4.180-94.116.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kgraft-patch-SLE12-SP3_Update_31 0 1-4.3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-azure 0 4.12.14-6.26.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-default 0 4.12.14-95.32.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-source 0 4.12.14-95.32.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-source-azure 0 4.12.14-6.26.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-syms 0 4.12.14-95.32.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-syms-azure 0 4.12.14-6.26.1
SUSE:Linux Enterprise Software Development Kit 12 SP4 kernel-docs 0 4.12.14-95.32.1
SUSE:Linux Enterprise Software Development Kit 12 SP4 kernel-obs-build 0 4.12.14-95.32.1
SUSE:Linux Enterprise Workstation Extension 12 SP4 kernel-default 0 4.12.14-95.32.1
SUSE:Linux Enterprise Workstation Extension 15 kernel-default 0 4.12.14-150.35.1
SUSE:Linux Enterprise Workstation Extension 15 SP1 kernel-default 0 4.12.14-197.18.1
SUSE:OpenStack Cloud 7 kernel-default 0 4.4.121-92.129.1
SUSE:OpenStack Cloud 7 kernel-source 0 4.4.121-92.129.1
SUSE:OpenStack Cloud 7 kernel-syms 0 4.4.121-92.129.1
SUSE:OpenStack Cloud 7 kgraft-patch-SLE12-SP2_Update_34 0 1-3.3.1
SUSE:OpenStack Cloud 8 kernel-default 0 4.4.180-94.116.1
SUSE:OpenStack Cloud 8 kernel-source 0 4.4.180-94.116.1
SUSE:OpenStack Cloud 8 kernel-syms 0 4.4.180-94.116.1
SUSE:OpenStack Cloud 8 kgraft-patch-SLE12-SP3_Update_31 0 1-4.3.1
SUSE:OpenStack Cloud Crowbar 8 kernel-default 0 4.4.180-94.116.1
SUSE:OpenStack Cloud Crowbar 8 kernel-source 0 4.4.180-94.116.1
SUSE:OpenStack Cloud Crowbar 8 kernel-syms 0 4.4.180-94.116.1
SUSE:OpenStack Cloud Crowbar 8 kgraft-patch-SLE12-SP3_Update_31 0 1-4.3.1
SUSE:Real Time Module 15 SP1 kernel-rt 0 4.12.14-14.11.1
SUSE:Real Time Module 15 SP1 kernel-rt_debug 0 4.12.14-14.11.1
SUSE:Real Time Module 15 SP1 kernel-source-rt 0 4.12.14-14.11.1
SUSE:Real Time Module 15 SP1 kernel-syms-rt 0 4.12.14-14.11.1
Ubuntu:14.04:LTS linux 0 3.11.0-12.19
Ubuntu:14.04:LTS linux-aws 0 4.4.0-1056.60
Ubuntu:14.04:LTS linux-azure 0 4.15.0-1061.66~14.04.1
Ubuntu:14.04:LTS linux-lts-xenial 0 4.4.0-166.195~14.04.1
Ubuntu:16.04:LTS linux 0 4.4.0-166.195
Ubuntu:16.04:LTS linux-aws 0 4.4.0-1096.107
Ubuntu:16.04:LTS linux-aws-hwe 0 4.15.0-1052.54~16.04.1
Ubuntu:16.04:LTS linux-azure 0 4.15.0-1061.66
Ubuntu:16.04:LTS linux-gcp 0 4.15.0-1047.50
Ubuntu:16.04:LTS linux-hwe 0 4.15.0-66.75~16.04.1
Ubuntu:16.04:LTS linux-kvm 0 4.4.0-1060.67
Ubuntu:16.04:LTS linux-oracle 0 4.15.0-1027.30~16.04.1
Ubuntu:16.04:LTS linux-raspi2 0 4.4.0-1124.133
Ubuntu:16.04:LTS linux-snapdragon 0 4.4.0-1128.136
Ubuntu:18.04:LTS linux 0 4.15.0-66.75
Ubuntu:18.04:LTS linux-aws 0 4.15.0-1052.54
Ubuntu:18.04:LTS linux-aws-5.0 0 5.0.0-1021.24~18.04.1
Ubuntu:18.04:LTS linux-aws-5.4 0 5.4.0-1018.18~18.04.1
Ubuntu:18.04:LTS linux-azure 0 4.18.0-1011.11~18.04.1
Ubuntu:18.04:LTS linux-azure-4.15 0 4.15.0-1082.92
Ubuntu:18.04:LTS linux-azure-5.3 0 5.3.0-1007.8~18.04.1
Ubuntu:18.04:LTS linux-azure-5.4 0 5.4.0-1020.20~18.04.1
Ubuntu:18.04:LTS linux-gcp 0 5.0.0-1020.20~18.04.1
Ubuntu:18.04:LTS linux-gcp-4.15 0 4.15.0-1071.81
Ubuntu:18.04:LTS linux-gcp-5.3 0 5.3.0-1008.9~18.04.1
Ubuntu:18.04:LTS linux-gcp-5.4 0 5.4.0-1019.19~18.04.2
Ubuntu:18.04:LTS linux-gke-4.15 0 4.15.0-1046.49
Ubuntu:18.04:LTS linux-gke-5.0 0 5.0.0-1011.11~18.04.1
Ubuntu:18.04:LTS linux-gke-5.3 0 5.3.0-1011.12~18.04.1
Ubuntu:18.04:LTS linux-hwe 0 4.18.0-13.14~18.04.1
Ubuntu:18.04:LTS linux-hwe-5.4 0 5.4.0-37.41~18.04.1
Ubuntu:18.04:LTS linux-hwe-edge 0 5.0.0-15.16~18.04.1
Ubuntu:18.04:LTS linux-ibm-5.4 0 5.4.0-1010.11~18.04.2
Ubuntu:18.04:LTS linux-kvm 0 4.15.0-1048.48
Ubuntu:18.04:LTS linux-oem 0 4.15.0-1059.68
Ubuntu:18.04:LTS linux-oem-osp1 0 5.0.0-1010.11
Ubuntu:18.04:LTS linux-oracle 0 4.15.0-1027.30
Ubuntu:18.04:LTS linux-oracle-5.0 0 5.0.0-1007.12~18.04.1
Ubuntu:18.04:LTS linux-oracle-5.3 0 5.3.0-1011.12~18.04.1
Ubuntu:18.04:LTS linux-oracle-5.4 0 5.4.0-1019.19~18.04.1
Ubuntu:18.04:LTS linux-raspi-5.4 0 5.4.0-1013.13~18.04.1
Ubuntu:18.04:LTS linux-raspi2 0 4.15.0-1049.53
Ubuntu:18.04:LTS linux-raspi2-5.3 0 5.3.0-1017.19~18.04.1
Ubuntu:18.04:LTS linux-snapdragon 0 4.15.0-1066.73
Ubuntu:20.04:LTS linux 0 5.4.0-9.12
Ubuntu:20.04:LTS linux-aws 0 5.4.0-1005.5
Ubuntu:20.04:LTS linux-aws-5.15 0 5.15.0-1014.18~20.04.1
Ubuntu:20.04:LTS linux-azure 0 5.4.0-1006.6
Ubuntu:20.04:LTS linux-azure-5.15 0 5.15.0-1007.8~20.04.1
Ubuntu:20.04:LTS linux-azure-fde 0 No fix
Ubuntu:20.04:LTS linux-azure-fde-5.15 0 5.15.0-1019.24~20.04.1.1
Ubuntu:20.04:LTS linux-bluefield 0 5.4.0-1007.10
Ubuntu:20.04:LTS linux-gcp 0 5.4.0-1005.5
Ubuntu:20.04:LTS linux-gcp-5.15 0 5.15.0-1006.9~20.04.1
Ubuntu:20.04:LTS linux-gke 0 No fix
Ubuntu:20.04:LTS linux-gkeop 0 5.4.0-1008.9
Ubuntu:20.04:LTS linux-gkeop-5.15 0 5.15.0-1003.5~20.04.2
Ubuntu:20.04:LTS linux-hwe-5.15 0 5.15.0-33.34~20.04.1
Ubuntu:20.04:LTS linux-ibm 0 5.4.0-1003.4
Ubuntu:20.04:LTS linux-ibm-5.15 0 5.15.0-1033.36~20.04.1
Ubuntu:20.04:LTS linux-intel-iotg-5.15 0 5.15.0-1003.5~20.04.1
Ubuntu:20.04:LTS linux-iot 0 5.4.0-1001.3
Ubuntu:20.04:LTS linux-kvm 0 5.4.0-1004.4
Ubuntu:20.04:LTS linux-lowlatency-hwe-5.15 0 5.15.0-33.34~20.04.1
Ubuntu:20.04:LTS linux-oracle 0 5.4.0-1005.5
Ubuntu:20.04:LTS linux-oracle-5.15 0 5.15.0-1007.9~20.04.1
Ubuntu:20.04:LTS linux-raspi 0 5.4.0-1007.7
Ubuntu:20.04:LTS linux-raspi2 0 5.4.0-1004.4
Ubuntu:20.04:LTS linux-riscv 0 No fix
Ubuntu:20.04:LTS linux-riscv-5.15 0 5.15.0-1015.17~20.04.1
Ubuntu:20.04:LTS linux-xilinx-zynqmp 0 5.4.0-1020.24
Ubuntu:22.04:LTS linux 0 5.13.0-19.19
Ubuntu:22.04:LTS linux-aws 0 5.13.0-1005.6
Ubuntu:22.04:LTS linux-aws-6.8 0 6.8.0-1009.9~22.04.2
Ubuntu:22.04:LTS linux-azure 0 5.13.0-1006.7
Ubuntu:22.04:LTS linux-azure-6.8 0 6.8.0-1008.8~22.04.1
Ubuntu:22.04:LTS linux-azure-fde 0 5.15.0-1019.24.1
Ubuntu:22.04:LTS linux-gcp 0 5.13.0-1005.6
Ubuntu:22.04:LTS linux-gcp-6.8 0 6.8.0-1010.11~22.04.1
Ubuntu:22.04:LTS linux-gke 0 5.15.0-1002.2
Ubuntu:22.04:LTS linux-gkeop 0 5.15.0-1001.2
Ubuntu:22.04:LTS linux-hwe-6.8 0 6.8.0-38.38~22.04.1
Ubuntu:22.04:LTS linux-ibm 0 5.15.0-1002.2
Ubuntu:22.04:LTS linux-intel-iot-realtime 0 No fix
Ubuntu:22.04:LTS linux-intel-iot-realtime 0 5.15.0-1021.26
Ubuntu:22.04:LTS linux-intel-iotg 0 5.15.0-1004.6
Ubuntu:22.04:LTS linux-kvm 0 5.13.0-1004.4
Ubuntu:22.04:LTS linux-lowlatency 0 5.15.0-22.22
Ubuntu:22.04:LTS linux-lowlatency-hwe-6.8 0 6.8.0-38.38.1~22.04.2
Ubuntu:22.04:LTS linux-nvidia 0 5.15.0-1005.5
Ubuntu:22.04:LTS linux-nvidia-6.5 0 6.5.0-1004.4
Ubuntu:22.04:LTS linux-nvidia-6.8 0 6.8.0-1008.8~22.04.1

Related vulnerabilities