# CVE-2017-1000364: Security feature bypass in n/a

> Attackers can bypass the Linux kernel stack guard page to potentially achieve privilege escalation or code execution.

- **Severity:** High 7.4 (`CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 19 Jun 2017
- **Updated:** 5 Aug 2024
- **Also known as:** DEBIAN-CVE-2017-1000364, GHSA-8495-qjxw-fcp2, RHSA-2017:1483, SUSE-SU-2017:1615-1, SUSE-SU-2017:1617-1, SUSE-SU-2017:1618-1, SUSE-SU-2017:1628-1, SUSE-SU-2017:1696-1, SUSE-SU-2017:1704-1, SUSE-SU-2017:1706-1, SUSE-SU-2017:1707-1, SUSE-SU-2017:1735-1, SUSE-SU-2017:1903-1, SUSE-SU-2017:1904-1, SUSE-SU-2017:1905-1, SUSE-SU-2017:1906-1, SUSE-SU-2017:1907-1, SUSE-SU-2017:1908-1, SUSE-SU-2017:1909-1, SUSE-SU-2017:1910-1, SUSE-SU-2017:1911-1, SUSE-SU-2017:1912-1, SUSE-SU-2017:1913-1, SUSE-SU-2017:1914-1, SUSE-SU-2017:1915-1, SUSE-SU-2017:1922-1, SUSE-SU-2017:1923-1, SUSE-SU-2017:1924-1, SUSE-SU-2017:1925-1, SUSE-SU-2017:1937-1, SUSE-SU-2017:1939-1, SUSE-SU-2017:1941-1, SUSE-SU-2017:1942-1, SUSE-SU-2017:1943-1, SUSE-SU-2017:1944-1, SUSE-SU-2017:1945-1, SUSE-SU-2017:1946-1, UBUNTU-CVE-2017-1000364, USN-3328-1, USN-3329-1, USN-3330-1, USN-3331-1, USN-3332-1, USN-3333-1, USN-3334-1, USN-3335-1

## What is CVE-2017-1000364?

CVE-2017-1000364 is a high-severity vulnerability in Linux kernel, published on 19 Jun 2017. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

An issue was discovered in the size of the stack guard page on Linux, specifically a 4k stack guard page is not sufficiently large and can be "jumped" over (the stack guard page is bypassed), this affects Linux Kernel versions 4.11.5 and earlier (the stackguard page was introduced in 2010).

Weakness: CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer)

## Which versions are affected by CVE-2017-1000364?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `kernel` | Red Hat:rhel_aus:5.9 | All versions | 0:2.6.18-348.33.2.el5 |
| `kernel-PAE` | Red Hat:rhel_aus:5.9 | All versions | 0:2.6.18-348.33.2.el5 |
| `kernel-PAE-debuginfo` | Red Hat:rhel_aus:5.9 | All versions | 0:2.6.18-348.33.2.el5 |
| `kernel-PAE-devel` | Red Hat:rhel_aus:5.9 | All versions | 0:2.6.18-348.33.2.el5 |
| `kernel-debug` | Red Hat:rhel_aus:5.9 | All versions | 0:2.6.18-348.33.2.el5 |
| `kernel-debug-debuginfo` | Red Hat:rhel_aus:5.9 | All versions | 0:2.6.18-348.33.2.el5 |
| `kernel-debug-devel` | Red Hat:rhel_aus:5.9 | All versions | 0:2.6.18-348.33.2.el5 |
| `kernel-debuginfo` | Red Hat:rhel_aus:5.9 | All versions | 0:2.6.18-348.33.2.el5 |
| `kernel-debuginfo-common` | Red Hat:rhel_aus:5.9 | All versions | 0:2.6.18-348.33.2.el5 |
| `kernel-devel` | Red Hat:rhel_aus:5.9 | All versions | 0:2.6.18-348.33.2.el5 |
| `kernel-doc` | Red Hat:rhel_aus:5.9 | All versions | 0:2.6.18-348.33.2.el5 |
| `kernel-headers` | Red Hat:rhel_aus:5.9 | All versions | 0:2.6.18-348.33.2.el5 |
| `kernel-xen` | Red Hat:rhel_aus:5.9 | All versions | 0:2.6.18-348.33.2.el5 |
| `kernel-xen-debuginfo` | Red Hat:rhel_aus:5.9 | All versions | 0:2.6.18-348.33.2.el5 |
| `kernel-xen-devel` | Red Hat:rhel_aus:5.9 | All versions | 0:2.6.18-348.33.2.el5 |
| `kernel-default` | SUSE:Linux Enterprise Desktop 12 SP2 | All versions | 4.4.59-92.20.2 |
| `kernel-default` | SUSE:Linux Enterprise Desktop 12 SP2 | All versions | 4.4.59-92.24.2 |
| `kernel-source` | SUSE:Linux Enterprise Desktop 12 SP2 | All versions | 4.4.59-92.20.2 |
| `kernel-source` | SUSE:Linux Enterprise Desktop 12 SP2 | All versions | 4.4.59-92.24.2 |
| `kernel-syms` | SUSE:Linux Enterprise Desktop 12 SP2 | All versions | 4.4.59-92.20.2 |
| `kernel-syms` | SUSE:Linux Enterprise Desktop 12 SP2 | All versions | 4.4.59-92.24.2 |
| `kernel-default` | SUSE:Linux Enterprise High Availability Extension 12 SP2 | All versions | 4.4.59-92.20.2 |
| `kernel-default` | SUSE:Linux Enterprise High Availability Extension 12 SP2 | All versions | 4.4.59-92.24.2 |
| `kgraft-patch-SLE12-SP2_Update_0` | SUSE:Linux Enterprise Live Patching 12 | All versions | 7-21.1 |
| `kgraft-patch-SLE12-SP2_Update_1` | SUSE:Linux Enterprise Live Patching 12 | All versions | 7-3.1 |
| `kgraft-patch-SLE12-SP2_Update_2` | SUSE:Linux Enterprise Live Patching 12 | All versions | 6-3.1 |
| `kgraft-patch-SLE12-SP2_Update_3` | SUSE:Linux Enterprise Live Patching 12 | All versions | 6-3.1 |
| `kgraft-patch-SLE12-SP2_Update_4` | SUSE:Linux Enterprise Live Patching 12 | All versions | 6-3.1 |
| `kgraft-patch-SLE12-SP2_Update_5` | SUSE:Linux Enterprise Live Patching 12 | All versions | 4-3.1 |
| `kgraft-patch-SLE12-SP2_Update_6` | SUSE:Linux Enterprise Live Patching 12 | All versions | 3-3.1 |
| `kgraft-patch-SLE12-SP2_Update_7` | SUSE:Linux Enterprise Live Patching 12 | All versions | 2-3.1 |
| `kgraft-patch-SLE12-SP2_Update_8` | SUSE:Linux Enterprise Live Patching 12 | All versions | 1-2.1 |
| `kgraft-patch-SLE12-SP2_Update_8` | SUSE:Linux Enterprise Live Patching 12 | All versions | 2-2.1 |
| `kgraft-patch-SLE12-SP2_Update_9` | SUSE:Linux Enterprise Live Patching 12 | All versions | 1-2.3 |
| `kernel-ec2` | SUSE:Linux Enterprise Module for Public Cloud 12 | All versions | 3.12.61-52.77.1 |
| `kernel-ec2` | SUSE:Linux Enterprise Module for Public Cloud 12 | All versions | 3.12.61-52.80.1 |
| `kernel-ec2` | SUSE:Linux Enterprise Module for Public Cloud 12 | All versions | 3.12.74-60.64.45.1 |
| `kernel-ec2` | SUSE:Linux Enterprise Module for Public Cloud 12 | All versions | 3.12.74-60.64.48.1 |
| `kernel-default` | SUSE:Linux Enterprise Point of Sale 11 SP3 | All versions | 3.0.101-0.47.105.1 |
| `kernel-ec2` | SUSE:Linux Enterprise Point of Sale 11 SP3 | All versions | 3.0.101-0.47.105.1 |

Products: Linux kernel.

## How do I fix CVE-2017-1000364?

Apply the vendor's patch.

## Is CVE-2017-1000364 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-1000364 exists.

Public exploit code:

- Solaris RSH Stack Clash Privilege Escalation (metasploit)
- Solaris - RSH Stack Clash Privilege Escalation (Metasploit) (exploitdb)
- Solaris - RSH Stack Clash Privilege Escalation (Metasploit) (exploitdb)

## Other vulnerabilities in Linux kernel

- [CVE-2026-53266](https://insights.sbomify.com/CVE-2026-53266/): Linux Kernel Out-of-Bounds Write (high 8.8, exploited in the wild)
- [CVE-2013-6282](https://insights.sbomify.com/CVE-2013-6282/): Linux Kernel Improper Input Validation (high 8.8, exploited in the wild)
- [CVE-2022-0185](https://insights.sbomify.com/CVE-2022-0185/): Linux Kernel Heap-Based Buffer Overflow (high 8.4, exploited in the wild)
- [CVE-2013-2094](https://insights.sbomify.com/CVE-2013-2094/): Linux Kernel Privilege Escalation (high 8.4, exploited in the wild)
- [CVE-2026-53362](https://insights.sbomify.com/CVE-2026-53362/): Linux Kernel Unspecified (high 7.8, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2017-1000364 and fix it if it is affected.

What it is: CVE-2017-1000364 is a high-severity vulnerability in Linux kernel, published on 19 Jun 2017. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-1000364 exists.

Affected product: Linux kernel. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2017-1000364/ (Markdown: https://insights.sbomify.com/CVE-2017-1000364/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2017-1000364
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2017-1000364
- OSV: https://osv.dev/vulnerability/CVE-2017-1000364

---
From sbomify Insights: https://insights.sbomify.com/CVE-2017-1000364/
Summaries are generated and may contain mistakes; the official description above is the record.
