CVE-2016-6224
Low · 3.3CVSS
3.3
EPSS
0.4%
Published
Jul 22, 2016
CISA due date
—
Cloudanix analysis
On certain laptops and servers the encrypted swap space can accidentally stay readable, letting anyone logged into the machine see information that should have been protected.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
ecryptfs-setup-swap fails to block activation of unencrypted swap partitions during boot on GPT-formatted NVMe or MMC devices, leaving swap space readable by local processes.
Why it matters to the business
Sensitive data written to swap can be recovered by any local user, increasing risk of credential or data exposure on systems that rely on eCryptfs for encryption.
How an attack unfolds
A local attacker boots or restarts a system using GPT partitioning on an NVMe or MMC drive; the incomplete ecryptfs-setup-swap logic allows the unencrypted swap partition to activate, after which the attacker reads residual plaintext data from the swap device.
How to fix it
Upgrade ecryptfs-utils to a version that fully handles GPT on NVMe/MMC devices, or manually ensure swap is encrypted before enabling it on affected hardware; verify the fix for CVE-2015-8946 is complete.
How to confirm the fix worked
After applying updates, boot on GPT NVMe/MMC hardware and confirm that swap is listed as encrypted by ecryptfs or that the partition is not activated unencrypted; inspect boot logs for ecryptfs-setup-swap output.
Typical attack path
- Identify or configure a GPT-partitioned NVMe or MMC drive
- Trigger system boot or reboot so ecryptfs-setup-swap runs
- Confirm unencrypted swap activation via device mapper or /proc/swaps
- Read or dump swap contents to recover sensitive information
How to detect it
Examine boot logs for ecryptfs-setup-swap messages indicating swap activation on NVMe/MMC devices; inspect /etc/fstab and /proc/swaps for unencrypted swap entries; search command history or cron jobs for manual swap setup after boot.
What your security team should do
- Prioritize patching ecryptfs-utils on all Ubuntu and derivative systems using NVMe or MMC storage
- Audit boot configurations to ensure swap encryption is enforced regardless of partition table type
- Review systems for any historical unencrypted swap usage and rotate affected credentials
The record
ecryptfs-setup-swap in eCryptfs does not prevent the unencrypted swap partition from activating during boot when using GPT partitioning on a (1) NVMe or (2) MMC drive, which allows local users to obtain sensitive information via unspecified vectors. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-8946.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| SUSE:Linux Enterprise Desktop 12 SP2 | ecryptfs-utils | 0 | 103-8.3.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | ecryptfs-utils | 0 | 103-8.3.1 |
| SUSE:Linux Enterprise Server 12 SP2 | ecryptfs-utils | 0 | 103-8.3.1 |
| SUSE:Linux Enterprise Server 12 SP3 | ecryptfs-utils | 0 | 103-8.3.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | ecryptfs-utils | 0 | 103-8.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | ecryptfs-utils | 0 | 103-8.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | ecryptfs-utils | 0 | 103-8.3.1 |
| Ubuntu:16.04:LTS | ecryptfs-utils | 0 | 111-0ubuntu1.1 |
Related vulnerabilities
- CVE-2026-113786 pypdf is a free and open-source pure-python PDF library. CWE-20
- CVE-2026-112081 A vulnerability was determined in hankcs HanLP up to 2.1.0-beta.64. CWE-20
- CVE-2026-111869 A vulnerability was identified in makeplane plane up to 1.4.2. CWE-20
- CVE-2026-100347 kin-openapi is a Go project for handling OpenAPI files. CWE-20
- CVE-2026-99999 In the Linux kernel, the following vulnerability has been resolved: ipv4: validate… CWE-20
- CVE-2026-107726 Hazelcast is a unified real-time data platform combining stream processing with a fast… CWE-20
- CVE-2026-105757 vLLM is an inference and serving engine for large language models. CWE-20
- CVE-2026-105756 vLLM is an inference and serving engine for large language models. CWE-20