CVE-2016-1583 json
The ecryptfs_privileged_open function in fs/ecryptfs/kthread.c in the Linux kernel before 4.6.3 allows local users to gain privileges or ca…
published 2016-06-27 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-2678
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 1
- Exploit-DB
Summary
The ecryptfs_privileged_open function in fs/ecryptfs/kthread.c in the Linux kernel before 4.6.3 allows local users to gain privileges or cause a denial of service (stack memory consumption) via vectors involving crafted mmap calls for /proc pathnames, leading to recursive pagefault handling.
Patch / fix
- linux linux_kernel 3.18.54, 4.4.14, 4.6.3
- linux Debian 14, Debian 13, Debian 12 4.6.2-1
debian advisories DEBIAN-CVE-2016-1583
- linux Ubuntu 14.04 LTS 3.13.0-88.135
- linux Ubuntu 16.04 LTS 4.4.0-24.43
- linux-raspi2 Ubuntu 16.04 LTS 4.4.0-1012.16
- linux-lts-wily Ubuntu 14.04 LTS 4.2.0-38.45~14.04.1
- linux-lts-vivid Ubuntu 14.04 LTS 3.19.0-61.69~14.04.1
- linux-lts-utopic Ubuntu 14.04 LTS 3.16.0-73.95~14.04.1
- linux-lts-xenial Ubuntu 14.04 LTS 4.4.0-24.43~14.04.1
- linux-snapdragon Ubuntu 16.04 LTS 4.4.0-1015.18
ubuntu advisories UBUNTU-CVE-2016-1583
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 5 2.6.18-416.el5
- kernel-PAE RHEL 5 2.6.18-416.el5
- kernel-xen RHEL 5 2.6.18-416.el5
- kernel-kdump RHEL 5 2.6.18-416.el5
- kernel-debuginfo-common RHEL 5 2.6.18-416.el5
- kernel RHEL 6 2.6.32-642.11.1.el6
- perf RHEL 6 2.6.32-642.11.1.el6
- python-perf RHEL 6 2.6.32-642.11.1.el6
red hat advisories RHSA-2017:2760RHSA-2016:2124RHSA-2016:2766
- kernel-ec2 SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3, OpenStack Cloud 5 +2 more 3.0.101-0.47.86.1
- kernel-pae SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.86.1
- kernel-xen SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3, OpenStack Cloud 5 +2 more 3.0.101-0.47.86.1
- kernel-syms SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3, OpenStack Cloud 5 +2 more 3.0.101-0.47.86.1
- kernel-trace SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3, OpenStack Cloud 5 +2 more 3.0.101-0.47.86.1
- kernel-bigsmp SLES 11 SP3-LTSS, OpenStack Cloud 5, Manager Proxy 2.1 +1 more 3.0.101-0.47.86.1
- kernel-source SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3, OpenStack Cloud 5 +2 more 3.0.101-0.47.86.1
- kernel-default SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3, OpenStack Cloud 5 +2 more 3.0.101-0.47.86.1
suse advisories SUSE-SU-2017:0333-1SUSE-SU-2016:2245-1SUSE-SU-2016:2105-1SUSE-SU-2016:2002-1SUSE-SU-2016:1994-1SUSE-SU-2016:2009-1
- kernel-source openSUSE Tumbleweed 4.8.13-1.1
opensuse advisories openSUSE-SU-2024:10128-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-1583 updated cvss 8.1
kernel: Stack overflow via ecryptfs and /proc/$pid/environ
-
Red Hat Enterprise Linux 7 kernel-rt, kernel-rt-kvm, kernel-rt-trace, kernel-rt-debug-kvm, kernel-rt-trace-kvm Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwareaffected: no fix available
-
Red Hat Enterprise Linux (v. 5 server) kernel 2.6.18-416.el5, kernel-PAE 2.6.18-416.el5, kernel-xen 2.6.18-416.el5, kernel-kdump 2.6.18-416.el5, kernel-debuginfo-common 2.6.18-416.el5 Red Hat Enterprise Linux Desktop (v. 5 client) kernel 2.6.18-416.el5, kernel-PAE 2.6.18-416.el5, kernel-xen 2.6.18-416.el5, kernel-debuginfo-common 2.6.18-416.el5fixed: vendor fix RHSA-2016:2124
-
Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-642.11.1.el6, kernel 2.6.32-642.11.1.el6, kernel-firmware 2.6.32-642.11.1.el6, kernel-abi-whitelists 2.6.32-642.11.1.el6, kernel-debuginfo-common-i686 2.6.32-642.11.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.11.1.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) python-perf 2.6.32-642.11.1.el6, kernel-debuginfo-common-i686 2.6.32-642.11.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.11.1.el6 Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-642.11.1.el6, kernel 2.6.32-642.11.1.el6, kernel-firmware 2.6.32-642.11.1.el6, kernel-abi-whitelists 2.6.32-642.11.1.el6, kernel-debuginfo-common-i686 2.6.32-642.11.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.11.1.el6fixed: vendor fix RHSA-2016:2766
-
Red Hat Enterprise Linux HPC Node EUS (v. 6.7) perf 2.6.32-573.47.1.el6, kernel 2.6.32-573.47.1.el6, kernel-firmware 2.6.32-573.47.1.el6, kernel-abi-whitelists 2.6.32-573.47.1.el6, kernel-debuginfo-common-i686 2.6.32-573.47.1.el6, kernel-debuginfo-common-x86_64 2.6.32-573.47.1.el6fixed: vendor fix RHSA-2017:2760
-
Red Hat Enterprise Linux HPC Node Optional (v. 6) python-perf 2.6.32-642.11.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.11.1.el6fixed: vendor fix RHSA-2016:2766
-
Red Hat Enterprise Linux HPC Node Optional EUS (v. 6.7) python-perf 2.6.32-573.47.1.el6, kernel-debuginfo-common-x86_64 2.6.32-573.47.1.el6fixed: vendor fix RHSA-2017:2760
-
Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-642.11.1.el6, kernel 2.6.32-642.11.1.el6, kernel-kdump 2.6.32-642.11.1.el6, kernel-firmware 2.6.32-642.11.1.el6, kernel-bootwrapper 2.6.32-642.11.1.el6, kernel-abi-whitelists 2.6.32-642.11.1.el6, +4 morefixed: vendor fix RHSA-2016:2766
-
Red Hat Enterprise Linux Server EUS (v. 6.7) perf 2.6.32-573.47.1.el6, kernel 2.6.32-573.47.1.el6, kernel-kdump 2.6.32-573.47.1.el6, kernel-firmware 2.6.32-573.47.1.el6, kernel-bootwrapper 2.6.32-573.47.1.el6, kernel-abi-whitelists 2.6.32-573.47.1.el6, +4 morefixed: vendor fix RHSA-2017:2760
show 4 moreshow fewer
-
Red Hat Enterprise Linux Server Optional (v. 6) python-perf 2.6.32-642.11.1.el6, kernel-debuginfo-common-i686 2.6.32-642.11.1.el6, kernel-debuginfo-common-ppc64 2.6.32-642.11.1.el6, kernel-debuginfo-common-s390x 2.6.32-642.11.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.11.1.el6fixed: vendor fix RHSA-2016:2766
-
Red Hat Enterprise Linux Server Optional EUS (v. 6.7) python-perf 2.6.32-573.47.1.el6, kernel-debuginfo-common-i686 2.6.32-573.47.1.el6, kernel-debuginfo-common-ppc64 2.6.32-573.47.1.el6, kernel-debuginfo-common-s390x 2.6.32-573.47.1.el6, kernel-debuginfo-common-x86_64 2.6.32-573.47.1.el6fixed: vendor fix RHSA-2017:2760
-
Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-642.11.1.el6, kernel 2.6.32-642.11.1.el6, kernel-firmware 2.6.32-642.11.1.el6, kernel-abi-whitelists 2.6.32-642.11.1.el6, kernel-debuginfo-common-i686 2.6.32-642.11.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.11.1.el6 Red Hat Enterprise Linux Workstation Optional (v. 6) python-perf 2.6.32-642.11.1.el6, kernel-debuginfo-common-i686 2.6.32-642.11.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.11.1.el6fixed: vendor fix RHSA-2016:2766
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, python-perf, kernel-kdump, kernel-tools, +3 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-39992)
- Published
Exploit prediction
1.39% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-39992 Linux Kernel - 'ecryptfs' '/proc/$pid/environ' Local Privilege Escalation local, 2016-06-21
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- Technology feeds
References
-
github.com
/torvalds/linux/commit/f5364c150aa645b3d7daa21b5c0b9feaa1c9cd6d
vendor-advisory
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f5364c150aa645b3d7daa21b5c0b9feaa1c9cd6d
vendor-advisory
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2f36db71009304b3f0b95afacd8eba1f9f046b87
vendor-advisory
-
github.com
/torvalds/linux/commit/f0fe970df3838c202ef6c07a4c2b36838ef0a88b
third-party-advisory
-
github.com
/torvalds/linux/commit/2f36db71009304b3f0b95afacd8eba1f9f046b87
vendor-advisory
-
exploit-db.com
/exploits/39992/
exploit, third-party-advisory, vdb-entry
-
ubuntu.com
/usn/USN-3006-1
vendor-advisory
-
ubuntu.com
/usn/USN-3004-1
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00022.html
vendor-advisory, mailing-list, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-2766.html
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-3001-1
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-06/msg00056.html
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00008.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00003.html
vendor-advisory, mailing-list, third-party-advisory
-
ubuntu.com
/usn/USN-3005-1
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00007.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00055.html
vendor-advisory, mailing-list, third-party-advisory
-
ubuntu.com
/usn/USN-2999-1
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00019.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00026.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-06/msg00044.html
vendor-advisory, mailing-list, third-party-advisory
-
ubuntu.com
/usn/USN-2997-1
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-3000-1
vendor-advisory, third-party-advisory
-
debian.org
/security/2016/dsa-3607
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-3002-1
vendor-advisory
-
ubuntu.com
/usn/USN-2996-1
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-06/msg00052.html
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00021.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-06/msg00027.html
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:2760
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00018.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00020.html
vendor-advisory, mailing-list, third-party-advisory
-
ubuntu.com
/usn/USN-3007-1
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00014.html
vendor-advisory, mailing-list, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-2124.html
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-3003-1
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00009.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00044.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00016.html
vendor-advisory, mailing-list, third-party-advisory
-
ubuntu.com
/usn/USN-2998-1
vendor-advisory, third-party-advisory
-
bugs.chromium.org
/p/project-zero/issues/detail?id=836
vendor-advisory
-
kernel.org
/pub/linux/kernel/v4.x/ChangeLog-4.6.3
release-notes, vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00000.html
mailing-list, third-party-advisory
-
packetstormsecurity.com
/files/137560/Linux-ecryptfs-Stack-Overflow.html
third-party-advisory, vdb-entry
-
openwall.com
/lists/oss-security/2016/06/10/8
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2016/06/22/1
mailing-list, third-party-advisory
-
securityfocus.com
/bid/91157
third-party-advisory, vdb-entry
-
securitytracker.com
/id/1036763
third-party-advisory, vdb-entry
Sources
- CVE List CVE-2016-1583
- NVD CVE-2016-1583
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.