Cloudanix VulnDB

CVE-2018-10880

Medium · 5.5

CVSS

5.5

EPSS

2.9%

Published

Jul 25, 2018

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in Linux can let attackers crash computers by getting users to open specially prepared disk images.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
OS kernel
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

The vulnerability permits a stack-based out-of-bounds write inside ext4_update_inline_data when the kernel mounts and writes to a malicious ext4 image, resulting in memory corruption that manifests as a kernel panic.

Why it matters to the business

Successful exploitation produces denial-of-service conditions on Linux systems, causing unplanned reboots, service outages, and potential loss of in-memory data for any organization that mounts untrusted ext4 volumes.

How an attack unfolds

An attacker prepares a crafted ext4 filesystem containing malformed inline data structures. When the image is mounted and written to on an unpatched kernel, ext4_update_inline_data overflows a stack buffer, triggering an immediate crash. Publicly available exploit code demonstrates the attack.

How to fix it

Upgrade the Linux kernel to a version that includes commit 8cdb5240ec5928b20490a2bb34cb87e9a5f40226 or later; rebuild and deploy the updated kernel across all affected systems.

How to confirm the fix worked

Confirm the running kernel contains the referenced commit, then attempt to mount and write to a known-triggering ext4 image on a test system to verify absence of the panic.

Typical attack path

  1. Construct a malicious ext4 image with invalid inline data
  2. Deliver the image to the target via removable media, network share, or download
  3. Victim mounts the image and performs write operations
  4. Kernel executes the vulnerable code path and panics

How to detect it

Inspect kernel logs and crash dumps for ext4 oops or panic messages referencing inline data operations; correlate with recent mount activity of external volumes.

What your security team should do

  • Apply the kernel fix containing commit 8cdb5240ec5928b20490a2bb34cb87e9a5f40226 without delay
  • Disable automatic mounting of removable or untrusted ext4 volumes
  • Review and harden policies around filesystem image handling in user environments

The record

Linux kernel is vulnerable to a stack-out-of-bounds write in the ext4 filesystem code when mounting and writing to a crafted ext4 image in ext4_update_inline_data(). An attacker could use this to cause a system crash and a denial of service.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 linux 0 4.17.3-1
Debian:12 linux 0 4.17.3-1
Debian:13 linux 0 4.17.3-1
Debian:8 linux 0 3.16.59-1
Debian:8 linux-4.9 0 4.9.110-1~deb8u1
Mageia:6 kernel 0 4.14.56-1.mga6
Mageia:6 kernel-linus 0 4.14.62-1.mga6
Mageia:6 kernel-tmb 0 4.14.62-1.mga6
Mageia:6 kernel-userspace-headers 0 4.14.56-1.mga6
Mageia:6 kmod-vboxadditions 0 5.2.14-6.mga6
Mageia:6 kmod-virtualbox 0 5.2.14-6.mga6
Mageia:6 kmod-xtables-addons 0 2.13-48.mga6
Mageia:6 wireguard-tools 0 0.0.20180708-1.mga6
Red Hat:enterprise_linux:7::server kernel 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server kernel-abi-whitelists 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server kernel-alt 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server kernel-bootwrapper 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server kernel-debug 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server kernel-debug-debuginfo 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server kernel-debug-devel 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server kernel-debuginfo 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server kernel-debuginfo-common-ppc64le 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server kernel-devel 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server kernel-doc 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server kernel-headers 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server kernel-tools 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server kernel-tools-debuginfo 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server kernel-tools-libs 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server kernel-tools-libs-devel 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server perf 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server perf-debuginfo 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server python-perf 0 0:4.14.0-115.el7a
Red Hat:enterprise_linux:7::server python-perf-debuginfo 0 0:4.14.0-115.el7a
SUSE:Enterprise Storage 4 kernel-default 0 4.4.121-92.95.1
SUSE:Enterprise Storage 4 kernel-source 0 4.4.121-92.95.1
SUSE:Enterprise Storage 4 kernel-syms 0 4.4.121-92.95.1
SUSE:Enterprise Storage 4 kgraft-patch-SLE12-SP2_Update_25 0 1-3.4.1
SUSE:Enterprise Storage 4 lttng-modules 0 2.7.1-9.6.1
SUSE:Linux Enterprise Desktop 12 SP3 kernel-default 0 4.4.155-94.50.1
SUSE:Linux Enterprise Desktop 12 SP3 kernel-source 0 4.4.155-94.50.1
SUSE:Linux Enterprise Desktop 12 SP3 kernel-syms 0 4.4.155-94.50.1
SUSE:Linux Enterprise High Availability Extension 12 SP2 kernel-default 0 4.4.121-92.95.1
SUSE:Linux Enterprise High Availability Extension 12 SP3 kernel-default 0 4.4.155-94.50.1
SUSE:Linux Enterprise High Availability Extension 15 kernel-default 0 4.12.14-25.13.1
SUSE:Linux Enterprise Live Patching 12 SP3 kgraft-patch-SLE12-SP3_Update_17 0 1-4.3.1
SUSE:Linux Enterprise Live Patching 15 kernel-default 0 4.12.14-25.13.1
SUSE:Linux Enterprise Module for Basesystem 15 kernel-default 0 4.12.14-25.13.1
SUSE:Linux Enterprise Module for Basesystem 15 kernel-source 0 4.12.14-25.13.1
SUSE:Linux Enterprise Module for Basesystem 15 kernel-zfcpdump 0 4.12.14-25.13.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-docs 0 4.12.14-25.13.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-obs-build 0 4.12.14-25.13.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-source 0 4.12.14-25.13.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-syms 0 4.12.14-25.13.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-vanilla 0 4.12.14-25.13.1
SUSE:Linux Enterprise Module for Development Tools 15 lttng-modules 0 2.10.0-5.4.2
SUSE:Linux Enterprise Module for Legacy 15 kernel-default 0 4.12.14-25.13.1
SUSE:Linux Enterprise Module for Public Cloud 12 kernel-ec2 0 3.12.74-60.64.104.1
SUSE:Linux Enterprise Module for Public Cloud 12 kernel-ec2 0 3.12.61-52.146.1
SUSE:Linux Enterprise Module for Public Cloud 15 kernel-azure 0 4.12.14-5.13.1
SUSE:Linux Enterprise Module for Public Cloud 15 kernel-source-azure 0 4.12.14-5.13.1
SUSE:Linux Enterprise Module for Public Cloud 15 kernel-syms-azure 0 4.12.14-5.13.1
SUSE:Linux Enterprise Real Time 12 SP3 kernel-rt 0 4.4.147-3.20.1
SUSE:Linux Enterprise Real Time 12 SP3 kernel-rt_debug 0 4.4.147-3.20.1
SUSE:Linux Enterprise Real Time 12 SP3 kernel-source-rt 0 4.4.147-3.20.1
SUSE:Linux Enterprise Real Time 12 SP3 kernel-syms-rt 0 4.4.147-3.20.1
SUSE:Linux Enterprise Server 12 SP1-LTSS kernel-default 0 3.12.74-60.64.104.1
SUSE:Linux Enterprise Server 12 SP1-LTSS kernel-source 0 3.12.74-60.64.104.1
SUSE:Linux Enterprise Server 12 SP1-LTSS kernel-syms 0 3.12.74-60.64.104.1
SUSE:Linux Enterprise Server 12 SP1-LTSS kernel-xen 0 3.12.74-60.64.104.1
SUSE:Linux Enterprise Server 12 SP2-BCL kernel-default 0 4.4.121-92.95.1
SUSE:Linux Enterprise Server 12 SP2-BCL kernel-source 0 4.4.121-92.95.1
SUSE:Linux Enterprise Server 12 SP2-BCL kernel-syms 0 4.4.121-92.95.1
SUSE:Linux Enterprise Server 12 SP2-BCL lttng-modules 0 2.7.1-9.6.1
SUSE:Linux Enterprise Server 12 SP2-LTSS kernel-default 0 4.4.121-92.95.1
SUSE:Linux Enterprise Server 12 SP2-LTSS kernel-source 0 4.4.121-92.95.1
SUSE:Linux Enterprise Server 12 SP2-LTSS kernel-syms 0 4.4.121-92.95.1
SUSE:Linux Enterprise Server 12 SP2-LTSS kgraft-patch-SLE12-SP2_Update_25 0 1-3.4.1
SUSE:Linux Enterprise Server 12 SP2-LTSS lttng-modules 0 2.7.1-9.6.1
SUSE:Linux Enterprise Server 12 SP3 kernel-azure 0 4.4.155-4.16.1
SUSE:Linux Enterprise Server 12 SP3 kernel-default 0 4.4.155-94.50.1
SUSE:Linux Enterprise Server 12 SP3 kernel-source 0 4.4.155-94.50.1
SUSE:Linux Enterprise Server 12 SP3 kernel-source-azure 0 4.4.155-4.16.1
SUSE:Linux Enterprise Server 12 SP3 kernel-syms 0 4.4.155-94.50.1
SUSE:Linux Enterprise Server 12 SP3 kernel-syms-azure 0 4.4.155-4.16.1
SUSE:Linux Enterprise Server 12-LTSS kernel-default 0 3.12.61-52.146.1
SUSE:Linux Enterprise Server 12-LTSS kernel-source 0 3.12.61-52.146.1
SUSE:Linux Enterprise Server 12-LTSS kernel-syms 0 3.12.61-52.146.1
SUSE:Linux Enterprise Server 12-LTSS kernel-xen 0 3.12.61-52.146.1
SUSE:Linux Enterprise Server 12-LTSS kgraft-patch-SLE12_Update_38 0 1-1.5.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-default 0 3.12.74-60.64.104.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-source 0 3.12.74-60.64.104.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-syms 0 3.12.74-60.64.104.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-xen 0 3.12.74-60.64.104.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kgraft-patch-SLE12-SP1_Update_31 0 1-2.5.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 kernel-default 0 4.4.121-92.95.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 kernel-source 0 4.4.121-92.95.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 kernel-syms 0 4.4.121-92.95.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 kgraft-patch-SLE12-SP2_Update_25 0 1-3.4.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 lttng-modules 0 2.7.1-9.6.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-azure 0 4.4.155-4.16.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-default 0 4.4.155-94.50.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-source 0 4.4.155-94.50.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-source-azure 0 4.4.155-4.16.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-syms 0 4.4.155-94.50.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-syms-azure 0 4.4.155-4.16.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 kernel-docs 0 4.4.155-94.50.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 kernel-docs-azure 0 4.4.155-4.16.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 kernel-obs-build 0 4.4.155-94.50.1
SUSE:Linux Enterprise Workstation Extension 12 SP3 kernel-default 0 4.4.155-94.50.1
SUSE:Linux Enterprise Workstation Extension 15 kernel-default 0 4.12.14-25.13.1
SUSE:OpenStack Cloud 7 kernel-default 0 4.4.121-92.95.1
SUSE:OpenStack Cloud 7 kernel-source 0 4.4.121-92.95.1
SUSE:OpenStack Cloud 7 kernel-syms 0 4.4.121-92.95.1
SUSE:OpenStack Cloud 7 kgraft-patch-SLE12-SP2_Update_25 0 1-3.4.1
SUSE:OpenStack Cloud 7 lttng-modules 0 2.7.1-9.6.1
Ubuntu:14.04:LTS linux-aws 0 4.4.0-1034.37
Ubuntu:14.04:LTS linux-azure 0 4.15.0-1037.39~14.04.2
Ubuntu:14.04:LTS linux-lts-xenial 0 4.4.0-139.165~14.04.1
Ubuntu:16.04:LTS linux 0 4.4.0-139.165
Ubuntu:16.04:LTS linux-aws 0 4.4.0-1072.82
Ubuntu:16.04:LTS linux-aws-hwe 0 4.15.0-1032.34~16.04.1
Ubuntu:16.04:LTS linux-azure 0 4.15.0-1037.39~16.04.1
Ubuntu:16.04:LTS linux-gcp 0 4.15.0-1027.28~16.04.1
Ubuntu:16.04:LTS linux-hwe 0 4.15.0-45.48~16.04.1
Ubuntu:16.04:LTS linux-kvm 0 4.4.0-1037.43
Ubuntu:16.04:LTS linux-oracle 0 4.15.0-1008.10~16.04.1
Ubuntu:16.04:LTS linux-raspi2 0 4.4.0-1100.108
Ubuntu:16.04:LTS linux-snapdragon 0 4.4.0-1104.109
Ubuntu:18.04:LTS linux 0 4.15.0-44.47
Ubuntu:18.04:LTS linux-aws 0 4.15.0-1032.34
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.15.0-1037.39
Ubuntu:18.04:LTS linux-azure-4.15 0 4.15.0-1082.92
Ubuntu:18.04:LTS linux-azure-5.4 0 5.4.0-1020.20~18.04.1
Ubuntu:18.04:LTS linux-gcp 0 4.15.0-1027.28
Ubuntu:18.04:LTS linux-gcp-4.15 0 4.15.0-1071.81
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 4.18.0-1004.5~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-1029.29
Ubuntu:18.04:LTS linux-oem 0 4.15.0-1033.38
Ubuntu:18.04:LTS linux-oracle 0 4.15.0-1008.10
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-1031.33
Ubuntu:18.04:LTS linux-snapdragon 0 4.15.0-1053.57
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 No fix
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
Ubuntu:22.04:LTS linux-oracle 0 5.13.0-1008.10
Ubuntu:22.04:LTS linux-oracle-6.8 0 6.8.0-1006.6~22.04.3
Ubuntu:22.04:LTS linux-raspi 0 5.13.0-1008.9

Related vulnerabilities