// For flags

CVE-2016-1583

Linux Kernel - 'ecryptfs' '/proc/$pid/environ' Local Privilege Escalation

Severity Score

7.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

La función ecryptfs_privileged_open en fs/ecryptfs/kthread.c en el kernel de Linux en versiones anteriores a 4.6.3 permite a usuarios locales obtener privilegios o provocar una denegación de servicio (consumo de memoria de pila) a través de vectores involucrados con llamadas mmap manipuladas para nombres de ruta /proc, que conduce a una página de error recursiva manipulada.

It was found that stacking a file system over procfs in the Linux kernel could lead to a kernel stack overflow due to deep nesting, as demonstrated by mounting ecryptfs over procfs and creating a recursion by mapping /proc/environ. An unprivileged, local user could potentially use this flaw to escalate their privileges on the system.

There is a stack overflow in Linux via ecryptfs and /proc/$pid/environ.

*Credits: N/A
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Local
Attack Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack Vector
Local
Attack Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2016-01-12 CVE Reserved
  • 2016-06-10 CVE Published
  • 2023-03-08 EPSS Updated
  • 2024-08-05 CVE Updated
  • 2024-08-05 First Exploit
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-121: Stack-based Buffer Overflow
CAPEC
References (51)
URL Date SRC
URL Date SRC
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2f36db71009304b3f0b95afacd8eba1f9f046b87 2023-09-12
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f5364c150aa645b3d7daa21b5c0b9feaa1c9cd6d 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00027.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00044.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00052.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00056.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00000.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00003.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00007.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00008.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00009.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00014.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00016.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00018.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00019.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00020.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00021.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00022.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00026.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00044.html 2023-09-12
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00055.html 2023-09-12
http://rhn.redhat.com/errata/RHSA-2016-2124.html 2023-09-12
http://rhn.redhat.com/errata/RHSA-2016-2766.html 2023-09-12
http://www.debian.org/security/2016/dsa-3607 2023-09-12
http://www.ubuntu.com/usn/USN-2996-1 2023-09-12
http://www.ubuntu.com/usn/USN-2997-1 2023-09-12
http://www.ubuntu.com/usn/USN-2998-1 2023-09-12
http://www.ubuntu.com/usn/USN-2999-1 2023-09-12
http://www.ubuntu.com/usn/USN-3000-1 2023-09-12
http://www.ubuntu.com/usn/USN-3001-1 2023-09-12
http://www.ubuntu.com/usn/USN-3002-1 2023-09-12
http://www.ubuntu.com/usn/USN-3003-1 2023-09-12
http://www.ubuntu.com/usn/USN-3004-1 2023-09-12
http://www.ubuntu.com/usn/USN-3005-1 2023-09-12
http://www.ubuntu.com/usn/USN-3006-1 2023-09-12
http://www.ubuntu.com/usn/USN-3007-1 2023-09-12
http://www.ubuntu.com/usn/USN-3008-1 2023-09-12
https://access.redhat.com/errata/RHSA-2017:2760 2023-09-12
https://bugs.chromium.org/p/project-zero/issues/detail?id=836 2023-09-12
https://bugzilla.redhat.com/show_bug.cgi?id=1344721 2017-09-19
https://github.com/torvalds/linux/commit/2f36db71009304b3f0b95afacd8eba1f9f046b87 2023-09-12
https://github.com/torvalds/linux/commit/f5364c150aa645b3d7daa21b5c0b9feaa1c9cd6d 2023-09-12
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.3 2023-09-12
https://access.redhat.com/security/cve/CVE-2016-1583 2017-09-19
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Linux
Search vendor "Linux"
Linux Kernel
Search vendor "Linux" for product "Linux Kernel"
>= 2.6.19 < 3.18.54
Search vendor "Linux" for product "Linux Kernel" and version " >= 2.6.19 < 3.18.54"
-
Affected
Linux
Search vendor "Linux"
Linux Kernel
Search vendor "Linux" for product "Linux Kernel"
>= 3.19 < 4.4.14
Search vendor "Linux" for product "Linux Kernel" and version " >= 3.19 < 4.4.14"
-
Affected
Linux
Search vendor "Linux"
Linux Kernel
Search vendor "Linux" for product "Linux Kernel"
>= 4.5 < 4.6.3
Search vendor "Linux" for product "Linux Kernel" and version " >= 4.5 < 4.6.3"
-
Affected
Novell
Search vendor "Novell"
Suse Linux Enterprise Software Development Kit
Search vendor "Novell" for product "Suse Linux Enterprise Software Development Kit"
11.0
Search vendor "Novell" for product "Suse Linux Enterprise Software Development Kit" and version "11.0"
sp4
Affected
Novell
Search vendor "Novell"
Suse Linux Enterprise Software Development Kit
Search vendor "Novell" for product "Suse Linux Enterprise Software Development Kit"
12.0
Search vendor "Novell" for product "Suse Linux Enterprise Software Development Kit" and version "12.0"
-
Affected
Novell
Search vendor "Novell"
Suse Linux Enterprise Software Development Kit
Search vendor "Novell" for product "Suse Linux Enterprise Software Development Kit"
12.0
Search vendor "Novell" for product "Suse Linux Enterprise Software Development Kit" and version "12.0"
sp1
Affected
Novell
Search vendor "Novell"
Suse Linux Enterprise Debuginfo
Search vendor "Novell" for product "Suse Linux Enterprise Debuginfo"
11.0
Search vendor "Novell" for product "Suse Linux Enterprise Debuginfo" and version "11.0"
sp4
Affected
Novell
Search vendor "Novell"
Suse Linux Enterprise Desktop
Search vendor "Novell" for product "Suse Linux Enterprise Desktop"
12.0
Search vendor "Novell" for product "Suse Linux Enterprise Desktop" and version "12.0"
-
Affected
Novell
Search vendor "Novell"
Suse Linux Enterprise Desktop
Search vendor "Novell" for product "Suse Linux Enterprise Desktop"
12.0
Search vendor "Novell" for product "Suse Linux Enterprise Desktop" and version "12.0"
sp1
Affected
Novell
Search vendor "Novell"
Suse Linux Enterprise Live Patching
Search vendor "Novell" for product "Suse Linux Enterprise Live Patching"
12.0
Search vendor "Novell" for product "Suse Linux Enterprise Live Patching" and version "12.0"
-
Affected
Novell
Search vendor "Novell"
Suse Linux Enterprise Module For Public Cloud
Search vendor "Novell" for product "Suse Linux Enterprise Module For Public Cloud"
12
Search vendor "Novell" for product "Suse Linux Enterprise Module For Public Cloud" and version "12"
-
Affected
Novell
Search vendor "Novell"
Suse Linux Enterprise Server
Search vendor "Novell" for product "Suse Linux Enterprise Server"
11.0
Search vendor "Novell" for product "Suse Linux Enterprise Server" and version "11.0"
extra
Affected
Novell
Search vendor "Novell"
Suse Linux Enterprise Server
Search vendor "Novell" for product "Suse Linux Enterprise Server"
11.0
Search vendor "Novell" for product "Suse Linux Enterprise Server" and version "11.0"
sp4
Affected
Novell
Search vendor "Novell"
Suse Linux Enterprise Server
Search vendor "Novell" for product "Suse Linux Enterprise Server"
12.0
Search vendor "Novell" for product "Suse Linux Enterprise Server" and version "12.0"
-
Affected
Novell
Search vendor "Novell"
Suse Linux Enterprise Server
Search vendor "Novell" for product "Suse Linux Enterprise Server"
12.0
Search vendor "Novell" for product "Suse Linux Enterprise Server" and version "12.0"
sp1
Affected
Novell
Search vendor "Novell"
Suse Linux Enterprise Workstation Extension
Search vendor "Novell" for product "Suse Linux Enterprise Workstation Extension"
12.0
Search vendor "Novell" for product "Suse Linux Enterprise Workstation Extension" and version "12.0"
-
Affected
Novell
Search vendor "Novell"
Suse Linux Enterprise Workstation Extension
Search vendor "Novell" for product "Suse Linux Enterprise Workstation Extension"
12.0
Search vendor "Novell" for product "Suse Linux Enterprise Workstation Extension" and version "12.0"
sp1
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
12.04
Search vendor "Canonical" for product "Ubuntu Linux" and version "12.04"
-
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
14.04
Search vendor "Canonical" for product "Ubuntu Linux" and version "14.04"
esm
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
15.10
Search vendor "Canonical" for product "Ubuntu Linux" and version "15.10"
-
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
16.04
Search vendor "Canonical" for product "Ubuntu Linux" and version "16.04"
esm
Affected
Debian
Search vendor "Debian"
Debian Linux
Search vendor "Debian" for product "Debian Linux"
8.0
Search vendor "Debian" for product "Debian Linux" and version "8.0"
-
Affected