CVE-2017-2636
kernel: Race condition access to n_hdlc.tbuf causes double free in n_hdlc_release()
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
Race condition in drivers/tty/n_hdlc.c in the Linux kernel through 4.10.1 allows local users to gain privileges or cause a denial of service (double free) by setting the HDLC line discipline.
Condición de carrera en drivers/tty/n_hdlc.c en el kernel de Linux hasta la versión 4.10.1 permite a usuarios locales obtener privilegios o provocar una denegación de servicio (liberación doble) ajustando la línea de disciplina HDLC.
A race condition flaw was found in the N_HLDC Linux kernel driver when accessing n_hdlc.tbuf list that can lead to double free. A local, unprivileged user able to set the HDLC line discipline on the tty device could use this flaw to increase their privileges on the system.
The kernel packages contain the Linux kernel, the core of any Linux operating system. Security Fix: A flaw was found in the way memory was being allocated on the stack for user space binaries. If heap and stack memory regions were adjacent to each other, an attacker could use this flaw to jump over the stack guard gap, cause controlled memory corruption on process stack or the adjacent memory region, and thus increase their privileges on the system. This is a kernel-side mitigation which increases the stack guard gap size from one page to 1 MiB to make successful exploitation of this issue more difficult.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2016-12-01 CVE Reserved
- 2017-03-07 CVE Published
- 2017-03-18 First Exploit
- 2024-08-05 CVE Updated
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
- CWE-415: Double Free
CAPEC
References (19)
URL | Tag | Source |
---|---|---|
http://www.securityfocus.com/bid/96732 | Third Party Advisory | |
http://www.securitytracker.com/id/1037963 | Third Party Advisory | |
https://a13xp0p0v.github.io/2017/03/24/CVE-2017-2636.html | Third Party Advisory |
URL | Date | SRC |
---|---|---|
https://github.com/alexzorin/cve-2017-2636-el | 2017-03-18 |
URL | Date | SRC |
---|---|---|
http://www.openwall.com/lists/oss-security/2017/03/07/6 | 2023-02-24 |
URL | Date | SRC |
---|---|---|
http://www.debian.org/security/2017/dsa-3804 | 2023-02-24 | |
https://access.redhat.com/errata/RHSA-2017:0892 | 2023-02-24 | |
https://access.redhat.com/errata/RHSA-2017:0931 | 2023-02-24 | |
https://access.redhat.com/errata/RHSA-2017:0932 | 2023-02-24 | |
https://access.redhat.com/errata/RHSA-2017:0933 | 2023-02-24 | |
https://access.redhat.com/errata/RHSA-2017:0986 | 2023-02-24 | |
https://access.redhat.com/errata/RHSA-2017:1125 | 2023-02-24 | |
https://access.redhat.com/errata/RHSA-2017:1126 | 2023-02-24 | |
https://access.redhat.com/errata/RHSA-2017:1232 | 2023-02-24 | |
https://access.redhat.com/errata/RHSA-2017:1233 | 2023-02-24 | |
https://access.redhat.com/errata/RHSA-2017:1488 | 2023-02-24 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1428319 | 2017-06-19 | |
https://access.redhat.com/security/cve/CVE-2017-2636 | 2017-06-19 | |
https://access.redhat.com/security/vulnerabilities/CVE-2017-2636 | 2017-06-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.31 < 3.2.87 Search vendor "Linux" for product "Linux Kernel" and version " >= 2.6.31 < 3.2.87" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 3.3 < 3.10.106 Search vendor "Linux" for product "Linux Kernel" and version " >= 3.3 < 3.10.106" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 3.11 < 3.12.72 Search vendor "Linux" for product "Linux Kernel" and version " >= 3.11 < 3.12.72" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 3.13 < 3.16.42 Search vendor "Linux" for product "Linux Kernel" and version " >= 3.13 < 3.16.42" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 3.17 < 3.18.49 Search vendor "Linux" for product "Linux Kernel" and version " >= 3.17 < 3.18.49" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 3.19 < 4.1.49 Search vendor "Linux" for product "Linux Kernel" and version " >= 3.19 < 4.1.49" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.2 < 4.4.54 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.2 < 4.4.54" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.5 < 4.9.15 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.5 < 4.9.15" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.10 < 4.10.3 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.10 < 4.10.3" | - |
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
|