Cloudanix VulnDB

CVE-2019-7308

Medium · 5.6

CVSS

5.6

EPSS

0.5%

Published

Feb 1, 2019

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in the Linux kernel could let someone who already has access to a computer read parts of protected memory that should stay hidden, risking exposure of sensitive system data.

Chainable
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

The flaw allows out-of-bounds speculation on pointer arithmetic in the BPF verifier in kernel/bpf/verifier.c, enabling side-channel attacks that can leak sensitive kernel memory contents.

Why it matters to the business

Local attackers could extract confidential kernel data on affected Linux systems, increasing risk of information disclosure without requiring network access or elevated privileges beyond local user accounts.

How an attack unfolds

An attacker with local access loads specially crafted BPF programs that exploit different branch states or limits in the verifier to trigger speculative execution on pointer arithmetic, then uses timing side channels such as cache state to infer and exfiltrate kernel memory values.

How to fix it

Upgrade the Linux kernel to version 4.20.6 or later by applying the fix in commit 979d63d50c0c0f7bc537bf821e056cc9fe5abd38; restrict unprivileged BPF loading via sysctl where feasible until patched.

How to confirm the fix worked

Confirm the running kernel is at least 4.20.6 and inspect verifier.c for the sanitization logic introduced in commit 979d63d50c0c0f7bc537bf821e056cc9fe5abd38; test BPF program loading under controlled conditions to ensure speculation is properly bounded.

Typical attack path

  1. Gain local shell access on a vulnerable Linux kernel
  2. Craft and load malicious BPF programs via the bpf syscall
  3. Trigger speculative out-of-bounds pointer paths in the verifier
  4. Observe side-channel artifacts to reconstruct kernel memory
  5. Exfiltrate recovered sensitive information

How to detect it

Review audit logs and system call traces for excessive or anomalous bpf() invocations; inspect kernel logs for verifier warnings during program loading; correlate with process activity that involves eBPF map or program creation.

What your security team should do

  • Apply the kernel upgrade to all affected systems immediately
  • Disable unprivileged BPF loading on systems where it is not required
  • Monitor upstream Linux kernel advisories for related speculative execution issues

The record

kernel/bpf/verifier.c in the Linux kernel before 4.20.6 performs undesirable out-of-bounds speculation on pointer arithmetic in various cases, including cases of different branches with different state or limits to sanitize, leading to side-channel attacks.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 linux 0 4.19.20-1
Debian:12 linux 0 4.19.20-1
Debian:13 linux 0 4.19.20-1
Mageia:6 kernel 0 4.14.116-1.mga6
Mageia:6 kernel-linus 0 4.14.119-1.mga6
Mageia:6 kernel-tmb 0 4.14.119-1.mga6
Mageia:6 kernel-userspace-headers 0 4.14.116-1.mga6
Mageia:6 kmod-vboxadditions 0 6.0.6-2.mga6
Mageia:6 kmod-virtualbox 0 6.0.6-2.mga6
Mageia:6 kmod-xtables-addons 0 2.13-84.mga6
Mageia:6 wireguard-tools 0 0.0.20190406-1.mga6
SUSE:Linux Enterprise Desktop 12 SP4 kernel-default 0 4.12.14-95.13.1
SUSE:Linux Enterprise Desktop 12 SP4 kernel-source 0 4.12.14-95.13.1
SUSE:Linux Enterprise Desktop 12 SP4 kernel-syms 0 4.12.14-95.13.1
SUSE:Linux Enterprise High Availability Extension 12 SP4 kernel-default 0 4.12.14-95.13.1
SUSE:Linux Enterprise High Availability Extension 15 kernel-default 0 4.12.14-150.14.2
SUSE:Linux Enterprise Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_3 0 1-6.7.1
SUSE:Linux Enterprise Live Patching 15 kernel-default 0 4.12.14-150.14.2
SUSE:Linux Enterprise Live Patching 15 kernel-livepatch-SLE15_Update_9 0 1-1.9.3
SUSE:Linux Enterprise Module for Basesystem 15 kernel-default 0 4.12.14-150.14.2
SUSE:Linux Enterprise Module for Basesystem 15 kernel-source 0 4.12.14-150.14.1
SUSE:Linux Enterprise Module for Basesystem 15 kernel-zfcpdump 0 4.12.14-150.14.2
SUSE:Linux Enterprise Module for Development Tools 15 kernel-docs 0 4.12.14-150.14.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-obs-build 0 4.12.14-150.14.2
SUSE:Linux Enterprise Module for Development Tools 15 kernel-source 0 4.12.14-150.14.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-syms 0 4.12.14-150.14.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-vanilla 0 4.12.14-150.14.2
SUSE:Linux Enterprise Module for Legacy 15 kernel-default 0 4.12.14-150.14.2
SUSE:Linux Enterprise Module for Public Cloud 15 kernel-azure 0 4.12.14-5.24.1
SUSE:Linux Enterprise Module for Public Cloud 15 kernel-source-azure 0 4.12.14-5.24.1
SUSE:Linux Enterprise Module for Public Cloud 15 kernel-syms-azure 0 4.12.14-5.24.1
SUSE:Linux Enterprise Server 12 SP4 kernel-azure 0 4.12.14-6.9.1
SUSE:Linux Enterprise Server 12 SP4 kernel-default 0 4.12.14-95.13.1
SUSE:Linux Enterprise Server 12 SP4 kernel-source 0 4.12.14-95.13.1
SUSE:Linux Enterprise Server 12 SP4 kernel-source-azure 0 4.12.14-6.9.1
SUSE:Linux Enterprise Server 12 SP4 kernel-syms 0 4.12.14-95.13.1
SUSE:Linux Enterprise Server 12 SP4 kernel-syms-azure 0 4.12.14-6.9.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-azure 0 4.12.14-6.9.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-default 0 4.12.14-95.13.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-source 0 4.12.14-95.13.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-source-azure 0 4.12.14-6.9.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-syms 0 4.12.14-95.13.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 kernel-syms-azure 0 4.12.14-6.9.1
SUSE:Linux Enterprise Software Development Kit 12 SP4 kernel-docs 0 4.12.14-95.13.1
SUSE:Linux Enterprise Software Development Kit 12 SP4 kernel-obs-build 0 4.12.14-95.13.1
SUSE:Linux Enterprise Workstation Extension 12 SP4 kernel-default 0 4.12.14-95.13.1
SUSE:Linux Enterprise Workstation Extension 15 kernel-default 0 4.12.14-150.14.2
Ubuntu:14.04:LTS linux 0 3.11.0-12.19
Ubuntu:14.04:LTS linux-azure 0 4.15.0-1041.45~14.04.1
Ubuntu:16.04:LTS linux-aws-hwe 0 4.15.0-1035.37~16.04.1
Ubuntu:16.04:LTS linux-azure 0 4.15.0-1041.45
Ubuntu:16.04:LTS linux-euclid 0 4.4.0-9019.20
Ubuntu:16.04:LTS linux-gcp 0 4.15.0-1029.31~16.04.1
Ubuntu:16.04:LTS linux-hwe 0 4.15.0-47.50~16.04.1
Ubuntu:16.04:LTS linux-oracle 0 4.15.0-1010.12~16.04.1
Ubuntu:18.04:LTS linux 0 4.15.0-47.50
Ubuntu:18.04:LTS linux-aws 0 4.15.0-1035.37
Ubuntu:18.04:LTS linux-aws-5.0 0 5.0.0-1021.24~18.04.1
Ubuntu:18.04:LTS linux-aws-5.3 0 5.3.0-1016.17~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-1014.14~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-dell300x 0 4.15.0-1005.8
Ubuntu:18.04:LTS linux-gcp 0 4.15.0-1029.31
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-1030.32
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-gke-5.4 0 5.4.0-1025.25~18.04.1
Ubuntu:18.04:LTS linux-gkeop-5.4 0 5.4.0-1001.1
Ubuntu:18.04:LTS linux-hwe 0 4.18.0-17.18~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-kvm 0 4.15.0-1031.31
Ubuntu:18.04:LTS linux-oem 0 4.15.0-1035.40
Ubuntu:18.04:LTS linux-oem-osp1 0 5.0.0-1010.11
Ubuntu:18.04:LTS linux-oracle 0 4.15.0-1010.12
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-1033.35
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.4.0-1077.82
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 5.4.0-1033.35
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-hwe-5.8 0 5.8.0-23.24~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.10 0 5.10.0-1008.9
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 5.4.0-1004.4
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-allwinner-5.19 0 No fix
Ubuntu:22.04:LTS linux-aws 0 5.13.0-1005.6
Ubuntu:22.04:LTS linux-aws-5.19 0 No fix
Ubuntu:22.04:LTS linux-aws-6.2 0 6.2.0-1005.5~22.04.1
Ubuntu:22.04:LTS linux-aws-6.5 0 6.5.0-1008.8~22.04.1
Ubuntu:22.04:LTS linux-azure 0 5.13.0-1006.7
Ubuntu:22.04:LTS linux-azure-6.2 0 6.2.0-1005.5~22.04.1
Ubuntu:22.04:LTS linux-azure-6.5 0 6.5.0-1007.7~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-5.19 0 No fix
Ubuntu:22.04:LTS linux-gcp-6.2 0 6.2.0-1009.9~22.04.3
Ubuntu:22.04:LTS linux-gcp-6.5 0 6.5.0-1010.10~22.04.3
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.2 0 6.2.0-25.25~22.04.2
Ubuntu:22.04:LTS linux-hwe-6.5 0 6.5.0-14.14~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-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.2 0 6.2.0-1008.8~22.04.1
Ubuntu:22.04:LTS linux-lowlatency-hwe-6.5 0 6.5.0-14.14.1~22.04.1
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-oem-6.5 0 6.5.0-1003.3
Ubuntu:22.04:LTS linux-oracle 0 5.13.0-1008.10
Ubuntu:22.04:LTS linux-oracle-6.5 0 6.5.0-1013.13~22.04.4
Ubuntu:22.04:LTS linux-raspi 0 5.13.0-1008.9
Ubuntu:22.04:LTS linux-realtime 0 No fix
Ubuntu:22.04:LTS linux-riscv 0 No fix
Ubuntu:22.04:LTS linux-riscv-5.19 0 No fix
Ubuntu:22.04:LTS linux-riscv-6.5 0 6.5.0-17.17.1.1~22.04.1
Ubuntu:22.04:LTS linux-starfive-5.19 0 No fix
Ubuntu:22.04:LTS linux-starfive-6.5 0 6.5.0-1007.8~22.04.1
Ubuntu:22.04:LTS linux-xilinx-zynqmp 0 5.15.0-1022.26
Ubuntu:24.04:LTS linux 0 6.5.0-9.9
Ubuntu:24.04:LTS linux-aws 0 6.5.0-1008.8
Ubuntu:24.04:LTS linux-azure 0 6.5.0-1007.7
Ubuntu:24.04:LTS linux-azure-fde 0 No fix
Ubuntu:24.04:LTS linux-gcp 0 6.5.0-1007.7
Ubuntu:24.04:LTS linux-gke 0 6.8.0-1003.5
Ubuntu:24.04:LTS linux-gkeop 0 6.8.0-1001.3
Ubuntu:24.04:LTS linux-ibm 0 6.5.0-1009.9
Ubuntu:24.04:LTS linux-lowlatency 0 6.5.0-9.9.1
Ubuntu:24.04:LTS linux-nvidia 0 6.8.0-1007.7
Ubuntu:24.04:LTS linux-nvidia-lowlatency 0 6.8.0-1009.9.1
Ubuntu:24.04:LTS linux-oem-6.8 0 6.8.0-1003.3
Ubuntu:24.04:LTS linux-oracle 0 6.5.0-1010.10
Ubuntu:24.04:LTS linux-raspi 0 6.5.0-1005.7
Ubuntu:24.04:LTS linux-raspi-realtime 0 No fix
Ubuntu:24.04:LTS linux-realtime 0 No fix
Ubuntu:24.04:LTS linux-riscv 0 6.5.0-9.9.1
Ubuntu:Pro:14.04:LTS linux-aws 0 No fix
Ubuntu:Pro:14.04:LTS linux-lts-utopic 0 No fix
Ubuntu:Pro:14.04:LTS linux-lts-vivid 0 No fix
Ubuntu:Pro:14.04:LTS linux-lts-wily 0 No fix
Ubuntu:Pro:14.04:LTS linux-lts-xenial 0 No fix
Ubuntu:Pro:16.04:LTS linux 0 No fix
Ubuntu:Pro:16.04:LTS linux-aws 0 No fix
Ubuntu:Pro:16.04:LTS linux-kvm 0 No fix
Ubuntu:Pro:20.04:LTS linux-azure-fde 0 No fix
Ubuntu:Pro:FIPS-updates:18.04:LTS linux-aws-fips 0 4.15.0-2000.4
Ubuntu:Pro:FIPS-updates:18.04:LTS linux-azure-fips 0 4.15.0-1002.2
Ubuntu:Pro:FIPS-updates:18.04:LTS linux-fips 0 4.15.0-1027.32
Ubuntu:Pro:FIPS-updates:18.04:LTS linux-gcp-fips 0 4.15.0-2013.14
Ubuntu:Pro:FIPS-updates:20.04:LTS linux-aws-fips 0 5.4.0-1021.21+fips2
Ubuntu:Pro:FIPS-updates:20.04:LTS linux-azure-fips 0 5.4.0-1022.22+fips1
Ubuntu:Pro:FIPS-updates:20.04:LTS linux-fips 0 5.4.0-1026.30
Ubuntu:Pro:FIPS-updates:20.04:LTS linux-gcp-fips 0 5.4.0-1021.21+fips1
Ubuntu:Pro:FIPS:16.04:LTS linux-fips 0 No fix
Ubuntu:Pro:FIPS:18.04:LTS linux-aws-fips 0 4.15.0-2000.4
Ubuntu:Pro:FIPS:18.04:LTS linux-azure-fips 0 4.15.0-1002.2
Ubuntu:Pro:FIPS:18.04:LTS linux-fips 0 4.15.0-1011.12
Ubuntu:Pro:FIPS:18.04:LTS linux-gcp-fips 0 4.15.0-1001.1
Ubuntu:Pro:FIPS:20.04:LTS linux-aws-fips 0 5.4.0-1021.21+fips2
Ubuntu:Pro:FIPS:20.04:LTS linux-azure-fips 0 5.4.0-1022.22+fips1
Ubuntu:Pro:FIPS:20.04:LTS linux-fips 0 5.4.0-1007.8
Ubuntu:Pro:FIPS:20.04:LTS linux-gcp-fips 0 5.4.0-1021.21+fips1

Related vulnerabilities