Cloudanix VulnDB

CVE-2020-8428

High · 7.1

CVSS

7.1

EPSS

0.7%

Published

Jan 29, 2020

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in the core of the Linux operating system lets someone already on the machine crash it or potentially see internal data.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Low
Impact
Data Exposure
Component
OS kernel
Class
Use After Free
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

Use-after-free in fs/namei.c triggered by UNIX domain socket open operations during directory move and removal, resulting in kernel OOPS or memory disclosure.

Why it matters to the business

Local attackers on unpatched Linux systems can crash the kernel causing denial of service or leak sensitive kernel memory, disrupting operations on servers and endpoints until fixed.

How an attack unfolds

An attacker with local access issues an open syscall against a UNIX domain socket, relocates the socket to a new parent directory, and deletes the original parent to trigger the use-after-free condition in namei handling.

How to fix it

Upgrade Linux kernel to a version containing commit d0cb50185ae942b03c4327be322055d622dc79f6 (kernel 5.5 or later) across all affected distributions.

How to confirm the fix worked

Confirm kernel version is at least 5.5; inspect source for commit d0cb50185ae942b03c4327be322055d622dc79f6 in fs/namei.c; test socket and directory operations post-upgrade for stability.

Typical attack path

  1. Obtain local access on target Linux system
  2. Create or reference a UNIX domain socket
  3. Perform open syscall on the socket
  4. Move socket to new parent directory
  5. Remove original parent directory
  6. Trigger use-after-free resulting in OOPS or memory leak

How to detect it

Review kernel logs and dmesg for OOPS/panic entries referencing namei or socket directory operations; audit process activity involving UNIX sockets and directory renames/removals by non-root users.

What your security team should do

  • Prioritize kernel upgrades to 5.5+ on all Linux hosts
  • Apply patches immediately on internet-facing or multi-user systems
  • Monitor kernel logs for namei-related OOPS entries
  • Limit untrusted local user accounts until patched

The record

fs/namei.c in the Linux kernel before 5.5 has a may_create_in_sticky use-after-free, which allows local users to cause a denial of service (OOPS) or possibly obtain sensitive information from kernel memory, aka CID-d0cb50185ae9. One attack vector may be an open system call for a UNIX domain socket, if the socket is being moved to a new parent directory and its old parent directory is being removed.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 linux 0 4.19.98-1+deb10u1
Debian:11 linux 0 5.4.19-1
Debian:12 linux 0 5.4.19-1
Debian:13 linux 0 5.4.19-1
Debian:8 linux-4.9 0 4.9.210-1+deb9u1~deb8u1
Debian:9 linux 0 4.9.210-1+deb9u1
Mageia:7 kernel 0 5.4.17-1.mga7
Mageia:7 kernel-linus 0 5.4.20-1.mga7
Mageia:7 kmod-virtualbox 0 6.0.16-3.mga7
Mageia:7 kmod-xtables-addons 0 3.7-13.mga7
Mageia:7 wireguard-tools 0 1.0.20200121-1.mga7
SUSE:Linux Enterprise High Availability Extension 12 SP4 kernel-default 0 4.12.14-95.48.1
SUSE:Linux Enterprise High Availability Extension 12 SP5 kernel-default 0 4.12.14-122.17.1
SUSE:Linux Enterprise High Availability Extension 15 kernel-default 0 4.12.14-150.52.1
SUSE:Linux Enterprise High Availability Extension 15 SP1 kernel-default 0 4.12.14-197.34.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-default 0 4.12.14-150.52.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-docs 0 4.12.14-150.52.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-obs-build 0 4.12.14-150.52.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-source 0 4.12.14-150.52.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-syms 0 4.12.14-150.52.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-vanilla 0 4.12.14-150.52.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-default 0 4.12.14-150.52.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-docs 0 4.12.14-150.52.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-obs-build 0 4.12.14-150.52.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-source 0 4.12.14-150.52.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-syms 0 4.12.14-150.52.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-vanilla 0 4.12.14-150.52.1
SUSE:Linux Enterprise Live Patching 12 SP4 kernel-default 0 4.12.14-95.48.1
SUSE:Linux Enterprise Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_12 0 1-6.3.1
SUSE:Linux Enterprise Live Patching 12 SP5 kernel-default 0 4.12.14-122.17.1
SUSE:Linux Enterprise Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_3 0 1-8.5.1
SUSE:Linux Enterprise Live Patching 15 kernel-default 0 4.12.14-150.52.1
SUSE:Linux Enterprise Live Patching 15 kernel-livepatch-SLE15_Update_18 0 1-1.5.1
SUSE:Linux Enterprise Live Patching 15 SP1 kernel-default 0 4.12.14-197.34.1
SUSE:Linux Enterprise Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_9 0 1-3.5.1
SUSE:Linux Enterprise Module for Basesystem 15 SP1 kernel-default 0 4.12.14-197.34.1
SUSE:Linux Enterprise Module for Basesystem 15 SP1 kernel-source 0 4.12.14-197.34.1
SUSE:Linux Enterprise Module for Basesystem 15 SP1 kernel-zfcpdump 0 4.12.14-197.34.1
SUSE:Linux Enterprise Module for Development Tools 15 SP1 kernel-docs 0 4.12.14-197.34.1
SUSE:Linux Enterprise Module for Development Tools 15 SP1 kernel-obs-build 0 4.12.14-197.34.1
SUSE:Linux Enterprise Module for Development Tools 15 SP1 kernel-source 0 4.12.14-197.34.1
SUSE:Linux Enterprise Module for Development Tools 15 SP1 kernel-syms 0 4.12.14-197.34.1
SUSE:Linux Enterprise Module for Legacy 15 SP1 kernel-default 0 4.12.14-197.34.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP1 kernel-azure 0 4.12.14-8.27.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP1 kernel-source-azure 0 4.12.14-8.27.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP1 kernel-syms-azure 0 4.12.14-8.27.1
SUSE:Linux Enterprise Real Time 12 SP4 kernel-rt 0 4.12.14-8.15.1
SUSE:Linux Enterprise Real Time 12 SP4 kernel-rt_debug 0 4.12.14-8.15.1
SUSE:Linux Enterprise Real Time 12 SP4 kernel-source-rt 0 4.12.14-8.15.1
SUSE:Linux Enterprise Real Time 12 SP4 kernel-syms-rt 0 4.12.14-8.15.1
SUSE:Linux Enterprise Real Time 12 SP5 kernel-rt 0 4.12.14-10.5.1
SUSE:Linux Enterprise Real Time 12 SP5 kernel-rt_debug 0 4.12.14-10.5.1
SUSE:Linux Enterprise Real Time 12 SP5 kernel-source-rt 0 4.12.14-10.5.1
SUSE:Linux Enterprise Real Time 12 SP5 kernel-syms-rt 0 4.12.14-10.5.1
SUSE:Linux Enterprise Server 12 SP4 kernel-azure 0 4.12.14-6.37.1
SUSE:Linux Enterprise Server 12 SP4 kernel-default 0 4.12.14-95.48.1
SUSE:Linux Enterprise Server 12 SP4 kernel-source 0 4.12.14-95.48.1
SUSE:Linux Enterprise Server 12 SP4 kernel-source-azure 0 4.12.14-6.37.1
SUSE:Linux Enterprise Server 12 SP4 kernel-syms 0 4.12.14-95.48.1
SUSE:Linux Enterprise Server 12 SP4 kernel-syms-azure 0 4.12.14-6.37.1
SUSE:Linux Enterprise Server 12 SP5 kernel-azure 0 4.12.14-16.10.1
SUSE:Linux Enterprise Server 12 SP5 kernel-default 0 4.12.14-122.17.1
SUSE:Linux Enterprise Server 12 SP5 kernel-source 0 4.12.14-122.17.1
SUSE:Linux Enterprise Server 12 SP5 kernel-source-azure 0 4.12.14-16.10.1
SUSE:Linux Enterprise Server 12 SP5 kernel-syms 0 4.12.14-122.17.1
SUSE:Linux Enterprise Server 12 SP5 kernel-syms-azure 0 4.12.14-16.10.1
SUSE:Linux Enterprise Server 15-LTSS kernel-default 0 4.12.14-150.52.1
SUSE:Linux Enterprise Server 15-LTSS kernel-docs 0 4.12.14-150.52.1
SUSE:Linux Enterprise Server 15-LTSS kernel-obs-build 0 4.12.14-150.52.1
SUSE:Linux Enterprise Server 15-LTSS kernel-source 0 4.12.14-150.52.1
SUSE:Linux Enterprise Server 15-LTSS kernel-syms 0 4.12.14-150.52.1
SUSE:Linux Enterprise Server 15-LTSS kernel-vanilla 0 4.12.14-150.52.1
SUSE:Linux Enterprise Server 15-LTSS kernel-zfcpdump 0 4.12.14-150.52.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-azure 0 4.12.14-6.37.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-default 0 4.12.14-95.48.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-source 0 4.12.14-95.48.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-source-azure 0 4.12.14-6.37.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-syms 0 4.12.14-95.48.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-syms-azure 0 4.12.14-6.37.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 kernel-azure 0 4.12.14-16.10.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 kernel-default 0 4.12.14-122.17.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 kernel-source 0 4.12.14-122.17.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 kernel-source-azure 0 4.12.14-16.10.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 kernel-syms 0 4.12.14-122.17.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 kernel-syms-azure 0 4.12.14-16.10.1
SUSE:Linux Enterprise Server for SAP Applications 15 kernel-default 0 4.12.14-150.52.1
SUSE:Linux Enterprise Server for SAP Applications 15 kernel-docs 0 4.12.14-150.52.1
SUSE:Linux Enterprise Server for SAP Applications 15 kernel-obs-build 0 4.12.14-150.52.1
SUSE:Linux Enterprise Server for SAP Applications 15 kernel-source 0 4.12.14-150.52.1
SUSE:Linux Enterprise Server for SAP Applications 15 kernel-syms 0 4.12.14-150.52.1
SUSE:Linux Enterprise Server for SAP Applications 15 kernel-vanilla 0 4.12.14-150.52.1
SUSE:Linux Enterprise Software Development Kit 12 SP4 kernel-docs 0 4.12.14-95.48.1
SUSE:Linux Enterprise Software Development Kit 12 SP4 kernel-obs-build 0 4.12.14-95.48.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 kernel-docs 0 4.12.14-122.17.2
SUSE:Linux Enterprise Software Development Kit 12 SP5 kernel-obs-build 0 4.12.14-122.17.1
SUSE:Linux Enterprise Workstation Extension 12 SP4 kernel-default 0 4.12.14-95.48.1
SUSE:Linux Enterprise Workstation Extension 12 SP5 kernel-default 0 4.12.14-122.17.1
SUSE:Linux Enterprise Workstation Extension 15 SP1 kernel-default 0 4.12.14-197.34.1
SUSE:Real Time Module 15 SP1 kernel-rt 0 4.12.14-14.17.1
SUSE:Real Time Module 15 SP1 kernel-rt_debug 0 4.12.14-14.17.1
SUSE:Real Time Module 15 SP1 kernel-source-rt 0 4.12.14-14.17.1
SUSE:Real Time Module 15 SP1 kernel-syms-rt 0 4.12.14-14.17.1
Ubuntu:14.04:LTS linux 0 3.11.0-12.19
Ubuntu:14.04:LTS linux-aws 0 4.4.0-1065.69
Ubuntu:14.04:LTS linux-azure 0 4.15.0-1023.24~14.04.1
Ubuntu:14.04:LTS linux-azure 0 4.15.0-1077.82~14.04.1
Ubuntu:14.04:LTS linux-lts-xenial 0 4.4.0-177.207~14.04.1
Ubuntu:16.04:LTS linux 0 4.4.0-177.207
Ubuntu:16.04:LTS linux-aws 0 4.4.0-1105.116
Ubuntu:16.04:LTS linux-aws-hwe 0 4.15.0-1065.69~16.04.1
Ubuntu:16.04:LTS linux-azure 0 4.15.0-1077.82
Ubuntu:16.04:LTS linux-gcp 0 4.15.0-1060.64
Ubuntu:16.04:LTS linux-hwe 0 4.15.0-96.97~16.04.1
Ubuntu:16.04:LTS linux-hwe-edge 0 No fix
Ubuntu:16.04:LTS linux-kvm 0 4.4.0-1069.76
Ubuntu:16.04:LTS linux-oracle 0 4.15.0-1037.41~16.04.1
Ubuntu:16.04:LTS linux-raspi2 0 4.4.0-1131.140
Ubuntu:16.04:LTS linux-snapdragon 0 4.4.0-1135.143
Ubuntu:18.04:LTS linux 0 4.15.0-96.97
Ubuntu:18.04:LTS linux-aws 0 4.15.0-1065.69
Ubuntu:18.04:LTS linux-aws-5.0 0 No fix
Ubuntu:18.04:LTS linux-aws-5.4 0 5.4.0-1018.18~18.04.1
Ubuntu:18.04:LTS linux-azure 0 5.0.0-1036.38
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-1019.20~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-azure-edge 0 No fix
Ubuntu:18.04:LTS linux-gcp 0 5.0.0-1034.35
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-1017.18~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-gcp-edge 0 No fix
Ubuntu:18.04:LTS linux-gke-4.15 0 4.15.0-1057.60
Ubuntu:18.04:LTS linux-gke-5.0 0 5.0.0-1033.34
Ubuntu:18.04:LTS linux-gke-5.3 0 5.3.0-1017.18~18.04.1
Ubuntu:18.04:LTS linux-hwe 0 5.3.0-46.38~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 No fix
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-1058.59
Ubuntu:18.04:LTS linux-oem 0 4.15.0-1079.89
Ubuntu:18.04:LTS linux-oem-osp1 0 5.0.0-1047.52
Ubuntu:18.04:LTS linux-oracle 0 4.15.0-1037.41
Ubuntu:18.04:LTS linux-oracle-5.0 0 5.0.0-1014.19
Ubuntu:18.04:LTS linux-oracle-5.3 0 5.3.0-1014.15~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-1060.64
Ubuntu:18.04:LTS linux-raspi2-5.3 0 5.3.0-1022.24~18.04.1
Ubuntu:18.04:LTS linux-snapdragon 0 4.15.0-1076.83
Ubuntu:20.04:LTS linux 0 5.4.0-18.22
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-oem-5.6 0 5.6.0-1007.7
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 No fix
Ubuntu:20.04:LTS linux-riscv 0 5.4.0-24.28
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
Ubuntu:22.04:LTS linux-oracle 0 5.13.0-1008.10

Related vulnerabilities