Cloudanix VulnDB

CVE-2018-14613

Medium · 5.5

CVSS

5.5

EPSS

2.5%

Published

Jul 27, 2018

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in the Linux kernel can let a specially made storage image crash the whole computer when someone tries to open it.

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

Invalid pointer dereference in io_ctl_map_page during btrfs image mount due to missing block group item validation in check_leaf_item, causing kernel crash.

Why it matters to the business

Local denial-of-service on any system that mounts an untrusted or attacker-supplied btrfs filesystem image, interrupting operations until reboot; high prevalence of the Linux kernel increases exposure across servers and workstations.

How an attack unfolds

An attacker crafts a malicious btrfs image that triggers the missing validation path, then convinces a user or automated process to mount the image on a vulnerable kernel; the dereference occurs immediately on mount, crashing the system. Public exploits exist and generic threat actor interest in kernel memory issues has been noted in recent vulnerability reports.

How to fix it

Upgrade the Linux kernel to a version containing the btrfs tree-checker validation fixes (post-4.17.10 stable branches and all later long-term releases). Disable btrfs module loading if the filesystem is not required. Enforce strict controls on mounting untrusted images via mount options or policy.

How to confirm the fix worked

Confirm the running kernel version is newer than 4.17.10 and contains the tree-checker.c checks; attempt to mount a known-bad test image in a controlled environment and verify it is rejected before dereference; review dmesg for absence of the original invalid-pointer messages.

Typical attack path

  1. Create or obtain a crafted btrfs filesystem image that omits required block group items
  2. Deliver the image to the target (USB, network share, archive)
  3. Trick the victim into mounting the image (mount command, auto-mount, file manager preview)
  4. Kernel executes check_leaf_item and io_ctl_map_page on the malformed metadata, dereferencing an invalid pointer and panicking

How to detect it

Review kernel logs (dmesg, /var/log/kern.log, journalctl) for btrfs tree-checker or io_ctl_map_page oops/panic entries around the time of unexpected reboots; correlate with file-access or mount events involving .img or loop devices.

  • btrfs: check_leaf_item
  • io_ctl_map_page
  • invalid opcode or NULL pointer dereference in btrfs

What your security team should do

  • Prioritize kernel updates on all systems that may process external btrfs images
  • Add kernel module blacklist or modprobe deny rules for btrfs where unused
  • Harden mount policies and user education around untrusted filesystems
  • Monitor EPSS trend and exploit availability; low but stable score still warrants patching on high-value hosts

The record

An issue was discovered in the Linux kernel through 4.17.10. There is an invalid pointer dereference in io_ctl_map_page() when mounting and operating a crafted btrfs image, because of a lack of block group item validation in check_leaf_item in fs/btrfs/tree-checker.c.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 linux 0 4.19.9-1
Debian:12 linux 0 4.19.9-1
Debian:13 linux 0 4.19.9-1
Debian:8 linux 0 3.16.84-1
Debian:8 linux-4.9 0 4.9.144-3.1~deb8u1
SUSE:Linux Enterprise Desktop 12 SP3 kernel-default 0 4.4.156-94.57.1
SUSE:Linux Enterprise Desktop 12 SP3 kernel-source 0 4.4.156-94.57.1
SUSE:Linux Enterprise Desktop 12 SP3 kernel-syms 0 4.4.156-94.57.1
SUSE:Linux Enterprise High Availability Extension 12 SP3 kernel-default 0 4.4.156-94.57.1
SUSE:Linux Enterprise High Availability Extension 15 kernel-default 0 4.12.14-25.19.1
SUSE:Linux Enterprise Live Patching 12 SP3 kgraft-patch-SLE12-SP3_Update_18 0 1-4.3.5
SUSE:Linux Enterprise Live Patching 15 kernel-default 0 4.12.14-25.19.1
SUSE:Linux Enterprise Live Patching 15 kernel-livepatch-SLE15_Update_5 0 1-1.3.1
SUSE:Linux Enterprise Module for Basesystem 15 kernel-default 0 4.12.14-25.19.1
SUSE:Linux Enterprise Module for Basesystem 15 kernel-source 0 4.12.14-25.19.1
SUSE:Linux Enterprise Module for Basesystem 15 kernel-zfcpdump 0 4.12.14-25.19.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-docs 0 4.12.14-25.19.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-obs-build 0 4.12.14-25.19.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-source 0 4.12.14-25.19.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-syms 0 4.12.14-25.19.1
SUSE:Linux Enterprise Module for Development Tools 15 kernel-vanilla 0 4.12.14-25.19.1
SUSE:Linux Enterprise Module for Legacy 15 kernel-default 0 4.12.14-25.19.1
SUSE:Linux Enterprise Module for Public Cloud 15 kernel-azure 0 4.12.14-5.16.1
SUSE:Linux Enterprise Module for Public Cloud 15 kernel-source-azure 0 4.12.14-5.16.1
SUSE:Linux Enterprise Module for Public Cloud 15 kernel-syms-azure 0 4.12.14-5.16.1
SUSE:Linux Enterprise Real Time 12 SP3 kernel-rt 0 4.4.162-3.26.1
SUSE:Linux Enterprise Real Time 12 SP3 kernel-rt_debug 0 4.4.162-3.26.1
SUSE:Linux Enterprise Real Time 12 SP3 kernel-source-rt 0 4.4.162-3.26.1
SUSE:Linux Enterprise Real Time 12 SP3 kernel-syms-rt 0 4.4.162-3.26.1
SUSE:Linux Enterprise Server 12 SP3 kernel-azure 0 4.4.162-4.19.2
SUSE:Linux Enterprise Server 12 SP3 kernel-default 0 4.4.156-94.57.1
SUSE:Linux Enterprise Server 12 SP3 kernel-source 0 4.4.156-94.57.1
SUSE:Linux Enterprise Server 12 SP3 kernel-source-azure 0 4.4.162-4.19.1
SUSE:Linux Enterprise Server 12 SP3 kernel-syms 0 4.4.156-94.57.1
SUSE:Linux Enterprise Server 12 SP3 kernel-syms-azure 0 4.4.162-4.19.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-azure 0 4.4.162-4.19.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-default 0 4.4.156-94.57.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-source 0 4.4.156-94.57.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-source-azure 0 4.4.162-4.19.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-syms 0 4.4.156-94.57.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-syms-azure 0 4.4.162-4.19.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 kernel-docs 0 4.4.156-94.57.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 kernel-obs-build 0 4.4.156-94.57.1
SUSE:Linux Enterprise Workstation Extension 12 SP3 kernel-default 0 4.4.156-94.57.1
SUSE:Linux Enterprise Workstation Extension 15 kernel-default 0 4.12.14-25.19.1
Ubuntu:14.04:LTS linux-aws 0 4.4.0-1040.43
Ubuntu:14.04:LTS linux-lts-xenial 0 4.4.0-144.170~14.04.1
Ubuntu:16.04:LTS linux 0 4.4.0-145.171
Ubuntu:16.04:LTS linux-aws 0 4.4.0-1079.89
Ubuntu:16.04:LTS linux-aws-hwe 0 4.15.0-1047.49~16.04.1
Ubuntu:16.04:LTS linux-azure 0 4.15.0-1055.60
Ubuntu:16.04:LTS linux-gcp 0 4.15.0-1040.42~16.04.1
Ubuntu:16.04:LTS linux-hwe 0 4.15.0-58.64~16.04.1
Ubuntu:16.04:LTS linux-kvm 0 4.4.0-1043.49
Ubuntu:16.04:LTS linux-oracle 0 4.15.0-1021.23~16.04.1
Ubuntu:16.04:LTS linux-raspi2 0 4.4.0-1106.114
Ubuntu:16.04:LTS linux-snapdragon 0 4.4.0-1110.115
Ubuntu:18.04:LTS linux 0 4.15.0-58.64
Ubuntu:18.04:LTS linux-aws 0 4.15.0-1047.49
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-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.4 0 5.4.0-1020.20~18.04.1
Ubuntu:18.04:LTS linux-gcp 0 4.15.0-1040.42
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-gke-4.15 0 4.15.0-1040.42
Ubuntu:18.04:LTS linux-gke-5.0 0 5.0.0-1011.11~18.04.1
Ubuntu:18.04:LTS linux-hwe 0 5.0.0-23.24~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-1042.42
Ubuntu:18.04:LTS linux-oem 0 4.15.0-1050.57
Ubuntu:18.04:LTS linux-oracle 0 4.15.0-1021.23
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-1043.46
Ubuntu:18.04:LTS linux-snapdragon 0 4.15.0-1060.66
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
Ubuntu:22.04:LTS linux-realtime 0 No fix
Ubuntu:22.04:LTS linux-riscv 0 No fix
Ubuntu:22.04:LTS linux-riscv-6.8 0 6.8.0-38.38.1~22.04.1
Ubuntu:22.04:LTS linux-xilinx-zynqmp 0 5.15.0-1022.26
Ubuntu:22.04:LTS:for:NVIDIA:BlueField linux-bluefield 0 5.15.0-1011.13
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.11 0 6.11.0-1007.7
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-raspi-realtime 0 6.7.0-2001.1
Ubuntu:24.04:LTS linux-realtime 0 6.8.0-1008.19
Ubuntu:24.04:LTS linux-riscv 0 6.5.0-9.9.1
Ubuntu:24.10 linux 0 6.8.0-31.31
Ubuntu:24.10 linux-aws 0 6.8.0-1008.8
Ubuntu:24.10 linux-azure 0 6.8.0-1007.7
Ubuntu:24.10 linux-gcp 0 6.8.0-1007.7
Ubuntu:24.10 linux-lowlatency 0 6.8.0-31.31.1
Ubuntu:24.10 linux-oracle 0 6.8.0-1005.5
Ubuntu:24.10 linux-raspi 0 6.8.0-1004.4
Ubuntu:24.10 linux-realtime 0 6.11.0-1001.1
Ubuntu:24.10 linux-riscv 0 6.8.0-31.31.1
Ubuntu:Pro:14.04:LTS linux 0 No fix
Ubuntu:Pro:14.04:LTS linux-azure 0 No fix
Ubuntu:Pro:14.04:LTS linux-azure 0 4.15.0-1059.64~14.04.1
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:16.04:LTS linux-euclid 0 No fix
Ubuntu:Pro:16.04:LTS linux-flo 0 No fix
Ubuntu:Pro:16.04:LTS linux-goldfish 0 No fix
Ubuntu:Pro:16.04:LTS linux-mako 0 No fix
Ubuntu:Pro:20.04:LTS linux-azure-fde 0 No fix
Ubuntu:Pro:20.04:LTS linux-azure-fde-5.15 0 No fix
Ubuntu:Pro:20.04:LTS linux-gke 0 No fix
Ubuntu:Pro:20.04:LTS linux-raspi2 0 No fix
Ubuntu:Pro:20.04:LTS linux-riscv 0 No fix
Ubuntu:Pro:FIPS-preview:22.04:LTS linux-aws-fips 0 5.15.0-1051.56+fips1
Ubuntu:Pro:FIPS-preview:22.04:LTS linux-azure-fips 0 5.15.0-1053.61+fips1
Ubuntu:Pro:FIPS-preview:22.04:LTS linux-fips 0 5.15.0-73.80+fips1
Ubuntu:Pro:FIPS-preview:22.04:LTS linux-gcp-fips 0 5.15.0-1048.56+fips1
Ubuntu:Pro:FIPS-updates:18.04:LTS linux-aws-fips 0 No fix
Ubuntu:Pro:FIPS-updates:18.04:LTS linux-aws-fips 0 4.15.0-2018.18
Ubuntu:Pro:FIPS-updates:18.04:LTS linux-azure-fips 0 No fix
Ubuntu:Pro:FIPS-updates:18.04:LTS linux-azure-fips 0 4.15.0-2006.7
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-updates:22.04:LTS linux-aws-fips 0 5.15.0-1052.57+fips1
Ubuntu:Pro:FIPS-updates:22.04:LTS linux-azure-fips 0 5.15.0-1058.66+fips1
Ubuntu:Pro:FIPS-updates:22.04:LTS linux-fips 0 5.15.0-92.102+fips1
Ubuntu:Pro:FIPS-updates:22.04:LTS linux-gcp-fips 0 5.15.0-1048.56+fips1
Ubuntu:Pro:FIPS:16.04:LTS linux-fips 0 No fix
Ubuntu:Pro:FIPS:16.04:LTS linux-fips 0 4.4.0-1008.10
Ubuntu:Pro:FIPS:18.04:LTS linux-aws-fips 0 No fix
Ubuntu:Pro:FIPS:18.04:LTS linux-azure-fips 0 No fix

Related vulnerabilities