Cloudanix VulnDB

CVE-2015-5697

None

CVSS

—

EPSS

0.4%

Published

Aug 31, 2015

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in the Linux kernel lets someone already on the computer peek at hidden internal memory that should stay private.

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

What it actually does

Uninitialized bitmap data structure in get_bitmap_file allows leakage of uninitialized kernel memory contents to userspace via GET_BITMAP_FILE ioctl on md devices.

Why it matters to the business

Local attackers on affected Linux systems can read sensitive kernel memory contents, potentially exposing credentials, keys, or other internal data; high ecosystem prevalence means many servers and devices remain at risk years after disclosure.

How an attack unfolds

A local user with access to an md device issues the GET_BITMAP_FILE ioctl; the uninitialized structure returns kernel memory contents directly to the caller.

How to fix it

Upgrade the Linux kernel to version 4.1.6 or later; apply vendor backports for supported distributions; disable unnecessary md/RAID device access where feasible.

How to confirm the fix worked

Verify running kernel version is 4.1.6 or newer; test that GET_BITMAP_FILE ioctl returns initialized data only; review kernel build logs for the md.c patch.

Typical attack path

  1. Obtain local shell or process execution on target Linux system
  2. Locate or create an md device node
  3. Invoke GET_BITMAP_FILE ioctl with appropriate arguments
  4. Read and parse returned data for sensitive kernel memory artifacts

How to detect it

Search process execution logs and audit trails for repeated ioctl calls to md devices by non-root users; examine memory dumps or process core files for patterns consistent with kernel memory leakage.

What your security team should do

  • Prioritize kernel upgrades on internet-facing and multi-tenant systems first
  • Audit local user access to md devices and restrict where possible
  • Monitor for new local privilege-escalation chains leveraging this disclosure
  • Schedule periodic kernel version baselining across the fleet

The record

The get_bitmap_file function in drivers/md/md.c in the Linux kernel before 4.1.6 does not initialize a certain bitmap data structure, which allows local users to obtain sensitive information from kernel memory via a GET_BITMAP_FILE ioctl call.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 linux 0 4.1.3-1
Debian:12 linux 0 4.1.3-1
Debian:13 linux 0 4.1.3-1
Debian:6.0 linux-2.6 0 2.6.32-48squeeze14
Debian:7 linux 0 3.2.68-1+deb7u3
Debian:8 linux 0 3.16.7-ckt11-1+deb8u3
Mageia:5 btrfs-progs 0 4.1.2-1.mga5
Mageia:5 iproute2 0 4.1.1-1.mga5
Mageia:5 kernel 0 4.1.8-1.mga5
Mageia:5 kernel-firmware 0 20150722-1.mga5
Mageia:5 kernel-firmware-nonfree 0 20150824-1.mga5.nonfree
Mageia:5 kernel-linus 0 4.1.8-1.mga5
Mageia:5 kernel-tmb 0 4.1.15-1.mga5
Mageia:5 kernel-userspace-headers 0 4.1.8-1.mga5
Mageia:5 kmod-broadcom-wl 0 6.30.223.248-36.mga5.nonfree
Mageia:5 kmod-fglrx 0 15.200.1046-5.mga5.nonfree
Mageia:5 kmod-nvidia-current 0 346.82-3.mga5.nonfree
Mageia:5 kmod-nvidia304 0 304.125-41.mga5.nonfree
Mageia:5 kmod-nvidia340 0 340.76-31.mga5.nonfree
Mageia:5 kmod-xtables-addons 0 2.7-4.mga5
Mageia:5 nvidia304 0 304.125-5.mga5.nonfree
Mageia:5 nvidia340 0 340.76-2.mga5.nonfree
Mageia:5 radeon-firmware 0 20150824-1.mga5.nonfree
Mageia:5 xtables-addons 0 2.7-1.mga5
SUSE:Linux Enterprise Desktop 12 kernel-default 0 3.12.48-52.27.1
SUSE:Linux Enterprise Desktop 12 kernel-source 0 3.12.48-52.27.1
SUSE:Linux Enterprise Desktop 12 kernel-syms 0 3.12.48-52.27.1
SUSE:Linux Enterprise Desktop 12 kernel-xen 0 3.12.48-52.27.2
SUSE:Linux Enterprise Live Patching 12 kgraft-patch-SLE12_Update_8 0 1-2.6
SUSE:Linux Enterprise Module for Public Cloud 12 kernel-ec2 0 3.12.48-52.27.1
SUSE:Linux Enterprise Real Time 11 SP4 kernel-rt 0 3.0.101.rt130-45.1
SUSE:Linux Enterprise Real Time 11 SP4 kernel-rt_trace 0 3.0.101.rt130-45.1
SUSE:Linux Enterprise Real Time 11 SP4 kernel-source-rt 0 3.0.101.rt130-45.1
SUSE:Linux Enterprise Real Time 11 SP4 kernel-syms-rt 0 3.0.101.rt130-45.1
SUSE:Linux Enterprise Server 12 kernel-default 0 3.12.48-52.27.1
SUSE:Linux Enterprise Server 12 kernel-source 0 3.12.48-52.27.1
SUSE:Linux Enterprise Server 12 kernel-syms 0 3.12.48-52.27.1
SUSE:Linux Enterprise Server 12 kernel-xen 0 3.12.48-52.27.2
SUSE:Linux Enterprise Server for SAP Applications 12 kernel-default 0 3.12.48-52.27.1
SUSE:Linux Enterprise Server for SAP Applications 12 kernel-source 0 3.12.48-52.27.1
SUSE:Linux Enterprise Server for SAP Applications 12 kernel-syms 0 3.12.48-52.27.1
SUSE:Linux Enterprise Server for SAP Applications 12 kernel-xen 0 3.12.48-52.27.2
SUSE:Linux Enterprise Software Development Kit 12 kernel-docs 0 3.12.48-52.27.2
SUSE:Linux Enterprise Software Development Kit 12 kernel-obs-build 0 3.12.48-52.27.1
SUSE:Linux Enterprise Workstation Extension 12 kernel-default 0 3.12.48-52.27.1
Ubuntu:14.04:LTS linux 0 3.13.0-65.105
Ubuntu:14.04:LTS linux-aws 0 4.4.0-1002.2
Ubuntu:14.04:LTS linux-lts-utopic 0 3.16.0-51.69~14.04.1
Ubuntu:14.04:LTS linux-lts-vivid 0 3.19.0-30.33~14.04.1
Ubuntu:14.04:LTS linux-lts-wily 0 4.2.0-18.22~14.04.1
Ubuntu:14.04:LTS linux-lts-xenial 0 4.4.0-13.29~14.04.1
Ubuntu:16.04:LTS linux 0 4.2.0-16.19
Ubuntu:16.04:LTS linux-aws 0 4.4.0-1001.10
Ubuntu:16.04:LTS linux-gke 0 4.4.0-1003.3
Ubuntu:16.04:LTS linux-hwe 0 4.8.0-36.36~16.04.1
Ubuntu:16.04:LTS linux-raspi2 0 4.2.0-1013.19
Ubuntu:16.04:LTS linux-snapdragon 0 4.4.0-1012.12
Ubuntu:18.04:LTS linux-azure 0 No fix
Ubuntu:18.04:LTS linux-gcp 0 No fix
Ubuntu:18.04:LTS linux-hwe 0 No fix
Ubuntu:18.04:LTS linux-hwe-edge 0 No fix
Ubuntu:20.04:LTS linux-azure-fde 0 No fix
Ubuntu:20.04:LTS linux-gke 0 No fix
Ubuntu:20.04:LTS linux-gkeop 0 No fix
Ubuntu:20.04:LTS linux-raspi2 0 No fix
Ubuntu:20.04:LTS linux-riscv 0 No fix
Ubuntu:22.04:LTS linux-intel-iot-realtime 0 No fix
Ubuntu:22.04:LTS linux-realtime 0 No fix
Ubuntu:22.04:LTS linux-riscv 0 No fix
Ubuntu:24.04:LTS linux-azure-6.11 0 No fix
Ubuntu:24.04:LTS linux-gcp-6.11 0 No fix
Ubuntu:24.04:LTS linux-hwe-6.11 0 No fix
Ubuntu:24.04:LTS linux-lowlatency-hwe-6.11 0 No fix
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 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:18.04:LTS linux-azure 0 No fix
Ubuntu:Pro:18.04:LTS linux-gcp 0 No fix
Ubuntu:Pro:18.04:LTS linux-hwe 0 No fix
Ubuntu:Pro:18.04:LTS linux-hwe-edge 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-gkeop 0 No fix
Ubuntu:Pro:20.04:LTS linux-raspi2 0 No fix
Ubuntu:Pro:20.04:LTS linux-riscv 0 No fix

Related vulnerabilities