Cloudanix VulnDB

CVE-2021-33624

Medium · 4.7

CVSS

4.7

EPSS

0.9%

Published

Jun 23, 2021

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in the Linux kernel could let a logged-in user secretly read parts of the computer's memory they are not supposed to see.

Exploit Available
Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
High
Impact
Data Exposure
Component
OS kernel
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

A mispredicted branch in the BPF verifier due to type confusion allows an unprivileged BPF program to perform a side-channel attack that reads arbitrary kernel memory locations.

Why it matters to the business

Linux systems running affected kernels face a risk of sensitive memory contents being disclosed to local users, which can aid further attacks or expose confidential data; the issue has been publicly known for years with exploits available, though real-world exploitation remains uncommon.

How an attack unfolds

An attacker with local access crafts an unprivileged BPF program that triggers type confusion in the verifier, causing the CPU to mispredict a branch and leak memory contents through a side channel such as cache timing; the fixed commit prevents the misprediction path from being reachable.

How to fix it

Upgrade the Linux kernel to a version containing commit 9183671af6dbf60a1219371d4ed73e23f43b49db or later; rebuild and reboot with the patched kernel image.

How to confirm the fix worked

Confirm the running kernel contains commit 9183671af6dbf60a1219371d4ed73e23f43b49db by checking git log or kernel version strings; attempt to load the original proof-of-concept BPF program and verify it no longer succeeds in leaking memory.

Typical attack path

  1. Obtain local unprivileged access on a vulnerable Linux system
  2. Load a specially crafted BPF program that exploits verifier type confusion
  3. Trigger branch misprediction and observe side-channel leakage
  4. Reconstruct arbitrary memory contents from the leaked data

How to detect it

Review system logs for unusual BPF program loads or verifier warnings; examine auditd or eBPF telemetry for processes attempting to load BPF programs with unexpected map or instruction patterns; no widespread active exploitation has been reported since publication.

What your security team should do

  • Prioritize kernel upgrades on all Linux systems that accept unprivileged BPF programs
  • Disable unprivileged BPF loading via sysctl kernel.unprivileged_bpf_disabled=1 where feasible until patches are applied
  • Monitor EPSS and exploit availability trends for any renewed interest in this older issue

The record

In kernel/bpf/verifier.c in the Linux kernel before 5.12.13, a branch can be mispredicted (e.g., because of type confusion) and consequently an unprivileged BPF program can read arbitrary memory locations via a side-channel attack, aka CID-9183671af6db.

Affected packages

Ecosystem Package Introduced Fixed
Android :linux_kernel: :0 :2022-03-05
Debian:11 linux 0 5.10.46-1
Debian:12 linux 0 5.10.46-1
Debian:13 linux 0 5.10.46-1
Debian:9 linux-4.19 0 4.19.208-1~deb9u1
Mageia:7 kernel 0 5.10.46-1.mga7
Mageia:7 kernel-linus 0 5.10.46-1.mga7
Mageia:7 kmod-virtualbox 0 6.1.22-1.9.mga7
Mageia:7 kmod-xtables-addons 0 3.13-31.mga7
Mageia:8 kernel 0 5.10.46-1.mga8
Mageia:8 kernel-linus 0 5.10.46-1.mga8
Mageia:8 kmod-virtualbox 0 6.1.22-1.9.mga8
Mageia:8 kmod-xtables-addons 0 3.18-1.9.mga8
SUSE:Enterprise Storage 6 kernel-default 0 4.12.14-197.99.1
SUSE:Enterprise Storage 6 kernel-docs 0 4.12.14-197.99.1
SUSE:Enterprise Storage 6 kernel-obs-build 0 4.12.14-197.99.1
SUSE:Enterprise Storage 6 kernel-source 0 4.12.14-197.99.1
SUSE:Enterprise Storage 6 kernel-syms 0 4.12.14-197.99.1
SUSE:Linux Enterprise High Availability Extension 12 SP4 kernel-default 0 4.12.14-95.80.1
SUSE:Linux Enterprise High Availability Extension 12 SP5 kernel-default 0 4.12.14-122.77.1
SUSE:Linux Enterprise High Availability Extension 15 kernel-default 0 4.12.14-150.75.1
SUSE:Linux Enterprise High Availability Extension 15 SP1 kernel-default 0 4.12.14-197.99.1
SUSE:Linux Enterprise High Availability Extension 15 SP2 kernel-default 0 5.3.18-24.70.1
SUSE:Linux Enterprise High Availability Extension 15 SP3 kernel-default 0 5.3.18-59.13.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS kernel-default 0 4.12.14-197.99.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS kernel-docs 0 4.12.14-197.99.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS kernel-obs-build 0 4.12.14-197.99.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS kernel-source 0 4.12.14-197.99.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS kernel-syms 0 4.12.14-197.99.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS kernel-default 0 4.12.14-197.99.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS kernel-docs 0 4.12.14-197.99.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS kernel-obs-build 0 4.12.14-197.99.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS kernel-source 0 4.12.14-197.99.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS kernel-syms 0 4.12.14-197.99.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-default 0 4.12.14-150.75.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-docs 0 4.12.14-150.75.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-obs-build 0 4.12.14-150.75.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-source 0 4.12.14-150.75.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-syms 0 4.12.14-150.75.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-vanilla 0 4.12.14-150.75.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-default 0 4.12.14-150.75.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-docs 0 4.12.14-150.75.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-obs-build 0 4.12.14-150.75.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-source 0 4.12.14-150.75.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-syms 0 4.12.14-150.75.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-vanilla 0 4.12.14-150.75.1
SUSE:Linux Enterprise Live Patching 12 SP4 kernel-default 0 4.12.14-95.80.1
SUSE:Linux Enterprise Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_22 0 1-6.3.1
SUSE:Linux Enterprise Live Patching 12 SP5 kernel-default 0 4.12.14-122.77.1
SUSE:Linux Enterprise Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_20 0 1-8.3.1
SUSE:Linux Enterprise Live Patching 15 kernel-default 0 4.12.14-150.75.1
SUSE:Linux Enterprise Live Patching 15 kernel-livepatch-SLE15_Update_25 0 1-1.3.1
SUSE:Linux Enterprise Live Patching 15 SP1 kernel-default 0 4.12.14-197.99.1
SUSE:Linux Enterprise Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_26 0 1-3.3.3
SUSE:Linux Enterprise Live Patching 15 SP2 kernel-default 0 5.3.18-24.70.1
SUSE:Linux Enterprise Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_16 0 1-5.3.1
SUSE:Linux Enterprise Live Patching 15 SP3 kernel-default 0 5.3.18-59.13.1
SUSE:Linux Enterprise Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_3 0 1-7.3.1
SUSE:Linux Enterprise Micro 5.0 kernel-default 0 5.3.18-24.70.1
SUSE:Linux Enterprise Micro 5.0 kernel-default-base 0 5.3.18-24.70.1.9.32.1
SUSE:Linux Enterprise Micro 5.0 kernel-rt 0 4.12.14-10.49.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2 kernel-default 0 5.3.18-24.70.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2 kernel-default-base 0 5.3.18-24.70.1.9.32.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2 kernel-preempt 0 5.3.18-24.70.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2 kernel-source 0 5.3.18-24.70.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-64kb 0 5.3.18-59.13.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-default 0 5.3.18-59.13.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-default-base 0 5.3.18-59.13.1.18.6.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-preempt 0 5.3.18-59.13.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-source 0 5.3.18-59.13.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-zfcpdump 0 5.3.18-59.13.1
SUSE:Linux Enterprise Module for Development Tools 15 SP2 kernel-docs 0 5.3.18-24.70.1
SUSE:Linux Enterprise Module for Development Tools 15 SP2 kernel-obs-build 0 5.3.18-24.70.1
SUSE:Linux Enterprise Module for Development Tools 15 SP2 kernel-preempt 0 5.3.18-24.70.1
SUSE:Linux Enterprise Module for Development Tools 15 SP2 kernel-source 0 5.3.18-24.70.1
SUSE:Linux Enterprise Module for Development Tools 15 SP2 kernel-syms 0 5.3.18-24.70.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-docs 0 5.3.18-59.13.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-obs-build 0 5.3.18-59.13.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-preempt 0 5.3.18-59.13.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-source 0 5.3.18-59.13.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-syms 0 5.3.18-59.13.1
SUSE:Linux Enterprise Module for Legacy 15 SP2 kernel-default 0 5.3.18-24.70.1
SUSE:Linux Enterprise Module for Legacy 15 SP3 kernel-default 0 5.3.18-59.13.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP2 kernel-azure 0 5.3.18-18.53.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP2 kernel-source-azure 0 5.3.18-18.53.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP2 kernel-syms-azure 0 5.3.18-18.53.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP3 kernel-azure 0 5.3.18-38.11.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP3 kernel-source-azure 0 5.3.18-38.11.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP3 kernel-syms-azure 0 5.3.18-38.11.1
SUSE:Linux Enterprise Real Time 12 SP5 kernel-rt 0 4.12.14-10.49.1
SUSE:Linux Enterprise Real Time 12 SP5 kernel-rt_debug 0 4.12.14-10.49.1
SUSE:Linux Enterprise Real Time 12 SP5 kernel-source-rt 0 4.12.14-10.49.1
SUSE:Linux Enterprise Real Time 12 SP5 kernel-syms-rt 0 4.12.14-10.49.1
SUSE:Linux Enterprise Server 12 SP4-LTSS kernel-default 0 4.12.14-95.80.1
SUSE:Linux Enterprise Server 12 SP4-LTSS kernel-source 0 4.12.14-95.80.1
SUSE:Linux Enterprise Server 12 SP4-LTSS kernel-syms 0 4.12.14-95.80.1
SUSE:Linux Enterprise Server 12 SP5 kernel-azure 0 4.12.14-16.62.1
SUSE:Linux Enterprise Server 12 SP5 kernel-default 0 4.12.14-122.77.1
SUSE:Linux Enterprise Server 12 SP5 kernel-source 0 4.12.14-122.77.1
SUSE:Linux Enterprise Server 12 SP5 kernel-source-azure 0 4.12.14-16.62.1
SUSE:Linux Enterprise Server 12 SP5 kernel-syms 0 4.12.14-122.77.1
SUSE:Linux Enterprise Server 12 SP5 kernel-syms-azure 0 4.12.14-16.62.1
SUSE:Linux Enterprise Server 15 SP1-BCL kernel-default 0 4.12.14-197.99.1
SUSE:Linux Enterprise Server 15 SP1-BCL kernel-docs 0 4.12.14-197.99.1
SUSE:Linux Enterprise Server 15 SP1-BCL kernel-obs-build 0 4.12.14-197.99.1
SUSE:Linux Enterprise Server 15 SP1-BCL kernel-source 0 4.12.14-197.99.1
SUSE:Linux Enterprise Server 15 SP1-BCL kernel-syms 0 4.12.14-197.99.1
SUSE:Linux Enterprise Server 15 SP1-LTSS kernel-default 0 4.12.14-197.99.1
SUSE:Linux Enterprise Server 15 SP1-LTSS kernel-docs 0 4.12.14-197.99.1
SUSE:Linux Enterprise Server 15 SP1-LTSS kernel-obs-build 0 4.12.14-197.99.1
SUSE:Linux Enterprise Server 15 SP1-LTSS kernel-source 0 4.12.14-197.99.1
SUSE:Linux Enterprise Server 15 SP1-LTSS kernel-syms 0 4.12.14-197.99.1
SUSE:Linux Enterprise Server 15 SP1-LTSS kernel-zfcpdump 0 4.12.14-197.99.1
SUSE:Linux Enterprise Server 15-LTSS kernel-default 0 4.12.14-150.75.1
SUSE:Linux Enterprise Server 15-LTSS kernel-docs 0 4.12.14-150.75.1
SUSE:Linux Enterprise Server 15-LTSS kernel-obs-build 0 4.12.14-150.75.1
SUSE:Linux Enterprise Server 15-LTSS kernel-source 0 4.12.14-150.75.1
SUSE:Linux Enterprise Server 15-LTSS kernel-syms 0 4.12.14-150.75.1
SUSE:Linux Enterprise Server 15-LTSS kernel-vanilla 0 4.12.14-150.75.1
SUSE:Linux Enterprise Server 15-LTSS kernel-zfcpdump 0 4.12.14-150.75.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-default 0 4.12.14-95.80.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-source 0 4.12.14-95.80.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-syms 0 4.12.14-95.80.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 kernel-azure 0 4.12.14-16.62.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 kernel-default 0 4.12.14-122.77.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 kernel-source 0 4.12.14-122.77.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 kernel-source-azure 0 4.12.14-16.62.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 kernel-syms 0 4.12.14-122.77.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 kernel-syms-azure 0 4.12.14-16.62.1
SUSE:Linux Enterprise Server for SAP Applications 15 kernel-default 0 4.12.14-150.75.1
SUSE:Linux Enterprise Server for SAP Applications 15 kernel-docs 0 4.12.14-150.75.1
SUSE:Linux Enterprise Server for SAP Applications 15 kernel-obs-build 0 4.12.14-150.75.1
SUSE:Linux Enterprise Server for SAP Applications 15 kernel-source 0 4.12.14-150.75.1
SUSE:Linux Enterprise Server for SAP Applications 15 kernel-syms 0 4.12.14-150.75.1
SUSE:Linux Enterprise Server for SAP Applications 15 kernel-vanilla 0 4.12.14-150.75.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 kernel-default 0 4.12.14-197.99.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 kernel-docs 0 4.12.14-197.99.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 kernel-obs-build 0 4.12.14-197.99.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 kernel-source 0 4.12.14-197.99.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 kernel-syms 0 4.12.14-197.99.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 kernel-docs 0 4.12.14-122.77.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 kernel-obs-build 0 4.12.14-122.77.1
SUSE:Linux Enterprise Workstation Extension 12 SP5 kernel-default 0 4.12.14-122.77.1
SUSE:Linux Enterprise Workstation Extension 15 SP2 kernel-default 0 5.3.18-24.70.1
SUSE:Linux Enterprise Workstation Extension 15 SP2 kernel-preempt 0 5.3.18-24.70.1
SUSE:Linux Enterprise Workstation Extension 15 SP3 kernel-default 0 5.3.18-59.13.1
SUSE:Linux Enterprise Workstation Extension 15 SP3 kernel-preempt 0 5.3.18-59.13.1
SUSE:Manager Proxy 4.0 kernel-default 0 4.12.14-197.99.1
SUSE:Manager Proxy 4.0 kernel-docs 0 4.12.14-197.99.1
SUSE:Manager Proxy 4.0 kernel-obs-build 0 4.12.14-197.99.1
SUSE:Manager Proxy 4.0 kernel-source 0 4.12.14-197.99.1
SUSE:Manager Proxy 4.0 kernel-syms 0 4.12.14-197.99.1
SUSE:Manager Retail Branch Server 4.0 kernel-default 0 4.12.14-197.99.1
SUSE:Manager Retail Branch Server 4.0 kernel-docs 0 4.12.14-197.99.1
SUSE:Manager Retail Branch Server 4.0 kernel-obs-build 0 4.12.14-197.99.1
SUSE:Manager Retail Branch Server 4.0 kernel-source 0 4.12.14-197.99.1
SUSE:Manager Retail Branch Server 4.0 kernel-syms 0 4.12.14-197.99.1
SUSE:Manager Server 4.0 kernel-default 0 4.12.14-197.99.1
SUSE:Manager Server 4.0 kernel-docs 0 4.12.14-197.99.1
SUSE:Manager Server 4.0 kernel-obs-build 0 4.12.14-197.99.1
SUSE:Manager Server 4.0 kernel-source 0 4.12.14-197.99.1
SUSE:Manager Server 4.0 kernel-syms 0 4.12.14-197.99.1
SUSE:Manager Server 4.0 kernel-zfcpdump 0 4.12.14-197.99.1
SUSE:OpenStack Cloud 9 kernel-default 0 4.12.14-95.80.1
SUSE:OpenStack Cloud 9 kernel-source 0 4.12.14-95.80.1
SUSE:OpenStack Cloud 9 kernel-syms 0 4.12.14-95.80.1
SUSE:OpenStack Cloud Crowbar 9 kernel-default 0 4.12.14-95.80.1
SUSE:OpenStack Cloud Crowbar 9 kernel-source 0 4.12.14-95.80.1
SUSE:OpenStack Cloud Crowbar 9 kernel-syms 0 4.12.14-95.80.1
SUSE:Real Time Module 15 SP2 kernel-rt 0 5.3.18-42.2
SUSE:Real Time Module 15 SP2 kernel-rt_debug 0 5.3.18-42.2
SUSE:Real Time Module 15 SP2 kernel-source-rt 0 5.3.18-42.1
SUSE:Real Time Module 15 SP2 kernel-syms-rt 0 5.3.18-42.1
SUSE:Real Time Module 15 SP2 lttng-modules 0 2.10.10-1.5.1
SUSE:Real Time Module 15 SP2 oracleasm 0 2.0.8-1.3.1
Ubuntu:14.04:LTS linux 0 3.11.0-12.19
Ubuntu:16.04:LTS linux-hwe-edge 0 No fix
Ubuntu:18.04:LTS linux-aws-5.0 0 No fix
Ubuntu:18.04:LTS linux-aws-5.3 0 No fix
Ubuntu:18.04:LTS linux-aws-5.4 0 5.4.0-1057.60~18.04.1
Ubuntu:18.04:LTS linux-azure 0 No fix
Ubuntu:18.04:LTS linux-azure-5.3 0 No fix
Ubuntu:18.04:LTS linux-azure-5.4 0 5.4.0-1059.62~18.04.1
Ubuntu:18.04:LTS linux-azure-edge 0 No fix
Ubuntu:18.04:LTS linux-gcp 0 No fix
Ubuntu:18.04:LTS linux-gcp-5.3 0 No fix
Ubuntu:18.04:LTS linux-gcp-5.4 0 5.4.0-1053.57~18.04.1
Ubuntu:18.04:LTS linux-gcp-edge 0 No fix
Ubuntu:18.04:LTS linux-gke-4.15 0 No fix
Ubuntu:18.04:LTS linux-gke-5.4 0 5.4.0-1053.56~18.04.1
Ubuntu:18.04:LTS linux-gkeop-5.4 0 5.4.0-1024.25~18.04.1
Ubuntu:18.04:LTS linux-hwe 0 No fix
Ubuntu:18.04:LTS linux-hwe-5.4 0 5.4.0-87.98~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-oem 0 No fix
Ubuntu:18.04:LTS linux-oracle-5.0 0 No fix
Ubuntu:18.04:LTS linux-oracle-5.3 0 No fix
Ubuntu:18.04:LTS linux-oracle-5.4 0 5.4.0-1055.59~18.04.1
Ubuntu:18.04:LTS linux-raspi-5.4 0 5.4.0-1044.48~18.04.1

Related vulnerabilities