# “Stack Clash” memory management flaw found in Linux, BSD, Solaris, allows privilege escalation to root; patches are available

A memory management flaw dubbed Stack Clash lets attackers escalate to root on Linux, BSD and Solaris; patches are now available for affected systems.

Record as of 21 June 2017. Labels written by Codex, for review. JSON: <https://texxr.com/v3/article/919944.json>

## “Stack Clash” memory management flaw found in Linux, BSD, Solaris, allows privilege escalation to root; patches are available

*as of 21 June 2017; judged by one reader, needs review*

**In one line:** The publisher’s headline and the coverage around it.

The New Stack · Lucian Constantin · [21 June 2017](/2017/06/21) · [Read original](http://thenewstack.io/linux-bsd-solaris-servers-risk-compromise-stack-clash-flaw/)

An important memory corruption defense in [Linux](/entity/linux), OpenBSD, NetBSD, [FreeBSD](/entity/freebsd) and [Solaris](/search?q=%40%22Solaris%22) can be bypassed by attackers to obtain root privileges and take complete control of affected systems.

**Context**

Stack Clash lands in a corpus already dense with long-lived [Linux](/entity/linux) kernel escalations: researchers had earlier disclosed an [almost three-year-old privilege escalation bug](/863576) imperiling PCs, servers, and Android phones, then a [nine-year-old privilege-escalation bug](/876487) patched only that week. What distinguishes this disclosure is breadth — a single memory-management defense bypass spanning Linux, OpenBSD, NetBSD, [FreeBSD](/entity/freebsd), and [Solaris](/search?q=%40%22Solaris%22) at once.

That cross-family reach matters because these kernels are developed independently; a flaw common to all of them points at a shared assumption in how memory corruption defenses were designed, not at one codebase's sloppiness.

*First-order effects*

- Administrators running any of the five affected operating systems face immediate exposure: an unprivileged local user can bypass a core memory-corruption defense and take root, so the available patches move from routine maintenance to urgent deployment.
- Solaris, alongside the BSDs, is pulled into the same emergency patch cycle as Linux — an unusual position for the traditionally less-targeted Unix family.

*Second-order effects*

- Because the same defense fails across independently developed kernels, each distribution and vendor must coordinate its own fix while attackers study one disclosed technique that transfers everywhere — compressing the window between disclosure and exploitation for every player simultaneously.
- The pattern echoes the later cross-OS flaws traced to developers misreading chipmaker documentation, where Windows, macOS, and Linux shipped with the same defect: vendors' shared reliance on common low-level assumptions turns one research result into a multi-vendor response burden.

*Third-order effects*

- If decade-old escalation bugs keep surfacing this way, the durable lesson is that memory-corruption defenses are assumptions to be re-audited, not settled protections — pushing kernel maintainers toward treating privilege boundaries as needing continuous adversarial review rather than point fixes.
- For buyers, the effective security boundary shifts from 'which OS is safer by design' to 'which vendor patches fastest,' making patch velocity a first-class selection criterion across the Unix-like ecosystem.

**The trend:** Kernel-level privilege escalation bugs are recurring across every major Unix-family OS regardless of codebase, shifting the real security guarantee from design isolation to coordinated patch response speed.

Related: [Blast-radius architecture](/concepts#blast-radius-architecture) · [Linux](/entity/linux) · [BSD](/search?q=%40%22BSD%22) · [Solaris](/search?q=%40%22Solaris%22) · [Nine-year-old Linux privilege-escalation bug](/876487)

**Entities**

- [BSD](/search?q=%40%22BSD%22)
- [Solaris](/search?q=%40%22Solaris%22)
- [FreeBSD](/entity/freebsd)
- [Linux](/entity/linux)

**Related coverage**

- [View article](http://blog.qualys.com/securitylabs/2017/06/19/the-stack-clash) · Network Security Blog
- [View article](http://www.theregister.co.uk/2017/06/20/stack_clash_linux_local_root_holes/) · The Register
- [View article](http://arstechnica.com/security/2017/06/12-year-old-security-hole-in-unix-based-oses-isnt-plugged-after-all/) · Ars Technica
- [View article](http://access.redhat.com/security/cve/CVE-2017-1000364) · access.redhat.com
- [View article](http://www.csoonline.com/article/3202031/security/6-points-you-need-to-know-to-keep-stack-clash-from-compromising-your-shared-linux-environment.html) · CSO
- [View article](http://www.suse.com/support/kb/doc/?id=7020973) · SUSE
- [View article](http://nakedsecurity.sophos.com/2017/06/20/stack-clash-linux-vulnerability-you-need-to-patch-now/) · Naked Security
- [View article](http://tech.firstpost.com/news-analysis/unix-based-operating-systems-users-advised-to-deal-with-stack-clash-a-vulnerability-which-can-be-exploited-to-corrupt-memory-384060.html) · Tech2
- [View article](http://thehackernews.com/2017/06/linux-root-privilege-escalation.html) · The Hacker News
- [View article](http://www.securityweek.com/stack-clash-flaws-allow-privilege-escalation-unix-systems) · SecurityWeek
- [View article](http://www.theinquirer.net/inquirer/news/3012313/stack-clash-vulnerability-tears-a-hole-in-linux-and-unix) · Inquirer
- [View article](http://www.helpnetsecurity.com/2017/06/20/stack-clash/) · Help Net Security
- [View article](http://www.zdnet.com/article/stack-clash-vulnerabilities-rip-root-holes-in-linux-systems/) · ZDNet
- [View article](http://news.softpedia.com/news/canonical-outs-major-security-updates-for-all-supported-ubuntu-linux-releases-516567.shtml) · Softpedia News
- [View article](http://nvd.nist.gov/vuln/detail/CVE-2017-1000364) · nvd.nist.gov

**Relationships**

- [Stack Clash](/search?q=%40%22Stack+Clash%22) controversy [Linux](/entity/linux), [OpenBSD](/search?q=%40%22OpenBSD%22), [NetBSD](/search?q=%40%22NetBSD%22), [FreeBSD](/entity/freebsd), [Solaris](/search?q=%40%22Solaris%22) · confirmed · Stack Clash memory management flaw allows privilege escalation to root on Linux, OpenBSD, NetBSD, FreeBSD and Solaris.
- [Linux](/entity/linux), [OpenBSD](/search?q=%40%22OpenBSD%22), [NetBSD](/search?q=%40%22NetBSD%22), [FreeBSD](/entity/freebsd), [Solaris](/search?q=%40%22Solaris%22) launch [Stack Clash](/search?q=%40%22Stack+Clash%22) · confirmed · Patches are available for the Stack Clash vulnerability on Linux, OpenBSD, NetBSD, FreeBSD and Solaris.

**Similar stories**

- [Researchers disclose an almost three year old privilege escalation bug in the Linux kernel that imperils millions of PCs, servers, and Android phones](https://texxr.com/863576/researchers-disclose-linux-privilege-escalation-bug) · Ars Technica, 20 January 2016 · [publisher](<http://arstechnica.com/security/2016/01/linux-bug-imperils-tens-of-millions-of-pcs-servers-and-android-phones/>) · 62%
- [Researchers detail CopyFail, a now-patched Linux vulnerability that lets unprivileged users gain admin access, as many distributions have yet to apply the fixes](https://texxr.com/1168099/linux-copyfail-vulnerability-allows-root-access) · Ars Technica, 1 May 2026 · [publisher](<https://arstechnica.com/security/2026/04/as-the-most-severe-linux-threat-in-years-surfaces-the-world-scrambles/>) · 62%
- [Wiz researchers say two vulnerabilities in the OverlayFS filesystem module in Ubuntu may allow unprivileged local users to gain elevated privileges](https://texxr.com/842551/ubuntu-overlayfs-flaws-allow-privilege-escalation) · BleepingComputer, 28 July 2023 · [publisher](<https://www.bleepingcomputer.com/news/security/almost-40-percent-of-ubuntu-users-vulnerable-to-new-privilege-elevation-flaws/>) · 60%
- [Multiple OSes including Windows, macOS, and Linux were affected by a serious security flaw caused by developers misinterpreting chipmakers' documentation](https://texxr.com/929436/major-os-vendors-patch-security-flaw-from-doc-misread) · ZDNet, 10 May 2018 · [publisher](<http://www.zdnet.com/article/microsoft-windows-apple-macos-linux-bsd-all-hit-by-same-serious-security-flaw/>) · 59%
- [FreeBSD bug gives untrusted root access](https://texxr.com/1186465/freebsd-bug-grants-root-access) · The Register, 1 December 2009 · [publisher](<http://www.theregister.co.uk/2009/12/01/freebsd_root_bug/>) · 58%
- [Researchers detail two new local privilege escalation vulnerabilities, one in recent builds of Windows 10 and the preview of Windows 11, and the other in Linux](https://texxr.com/968696/researchers-discover-local-privilege-escalation-flaws) · Ars Technica, 21 July 2021 · [publisher](<https://arstechnica.com/gadgets/2021/07/separate-eop-flaws-let-hackers-gain-full-control-of-windows-and-linux-systems/>) · 58%
- [Critical security hole uncovered in popular Unix/Linux shell Bash, affecting many web apps and servers](https://texxr.com/1206355/bash-security-hole-affects-web-servers) · ZDNet, 24 September 2014 · [publisher](<http://www.zdnet.com/unixlinux-bash-critical-security-hole-uncovered-7000034021/>) · 58%
- [A flaw in Sudo, which is installed on almost every Linux OS, could let users run commands as “root” even when they are restricted; patched version now available](https://texxr.com/946822/sudo-flaw-allows-root-commands-patch-released) · The Hacker News, 15 October 2019 · [publisher](<https://thehackernews.com/2019/10/linux-sudo-run-as-root-flaw.html>) · 58%
- [Researchers find serious nine-year old privilege-escalation bug in Linux kernel, official patch released this week](https://texxr.com/876487/nine-year-linux-privilege-bug-gets-patch) · Ars Technica, 23 October 2016 · [publisher](<http://arstechnica.com/security/2016/10/most-serious-linux-privilege-escalation-bug-ever-is-under-active-exploit/>) · 57%
- [Researchers find a 12-year-old vulnerability in Polkit that local attackers can use to gain root privileges on all major Linux distributions; an exploit is out](https://texxr.com/1158536/polkit-12-year-vulnerability-allows-local-root-access) · BleepingComputer, 27 January 2022 · [publisher](<https://www.bleepingcomputer.com/news/security/linux-system-service-bug-gives-you-root-on-every-major-distro/>) · 56%
- [Flaw discovered in Kubernetes lets any user gain full admin privileges on any compute node being run in a Kubernetes cluster; patched versions are available](https://texxr.com/936292/kubernetes-flaw-allows-node-admin-privilege-escalation) · ZDNet, 5 December 2018 · [publisher](<http://www.zdnet.com/article/kubernetes-first-major-security-hole-discovered/>) · 55%
- [Linux makers release patch to thwart new ‘Ghost’ cyber threat](https://texxr.com/825847/linux-vendors-release-patch-to-thwart-ghost) · Reuters, 28 January 2015 · [publisher](<http://www.reuters.com/article/2015/01/27/us-cybersecurity-linux-idUSKBN0L02RS20150127>) · 55%
- [Linux developers fix Dirty Pipe, a high-severity vulnerability in the kernel that let hackers carry out a host of malicious actions, like installing backdoors](https://texxr.com/976683/linux-developers-fix-dirty-pipe-vulnerability) · Ars Technica, 8 March 2022 · [publisher](<https://arstechnica.com/information-technology/2022/03/linux-has-been-bitten-by-its-most-high-severity-vulnerability-in-years/>) · 53%
- [Vulnerability in GNU C library that has left apps and hardware open to attacks since 2008 is patched in new update](https://texxr.com/865068/glibc-vulnerability-patched-after-2008-exposure) · Ars Technica, 17 February 2016 · [publisher](<http://arstechnica.com/security/2016/02/extremely-severe-bug-leaves-dizzying-number-of-apps-and-devices-vulnerable/>) · 53%
- [TCP Flaw in Linux Servers Allows Web Traffic Hijacking](https://texxr.com/872956/tcp-flaw-allows-web-traffic-hijacking-on-linux) · Softpedia News, 12 August 2016 · [publisher](<http://news.softpedia.com/news/tcp-flaw-in-linux-servers-allows-web-traffic-hijacking-507182.shtml>) · 53%
- [Researcher: *sshole, a decade-old OpenSSH flaw, lets attackers use a password of 256+ characters to log into passwordless accounts on some musl Linux systems](https://texxr.com/1298699/openssh-sshole-flaw-enables-passwordless-logins) · BleepingComputer, 7 November 2026 · [publisher](<https://www.bleepingcomputer.com/news/security/openssh-flaw-lets-attackers-log-into-password-disabled-linux-accounts/>) · 53%
- [Researcher finds bug dating back to 2013 in a driver for Realtek Wi-Fi chips in Linux devices that could let hackers remotely crash or compromise devices](https://texxr.com/946927/researcher-finds-2013-realtek-wifi-driver-bug) · Ars Technica, 18 October 2019 · [publisher](<https://arstechnica.com/information-technology/2019/10/unpatched-linux-flaw-may-let-attackers-crash-or-compromise-nearby-devices/>) · 52%
- [A now-fixed 10-year-old bug in Sudo used in several versions of Linux allowed any local user to gain root access](https://texxr.com/962691/sudo-flaw-allowed-local-users-to-gain-root) · BleepingComputer, 1 February 2021 · [publisher](<https://www.bleepingcomputer.com/news/security/new-linux-sudo-flaw-lets-local-users-gain-root-privileges/>) · 52%
- [Qualys researchers say an OpenSSH flaw can let attackers remotely compromise servers and allow unauthenticated RCE as root; over 14M servers may be vulnerable](https://texxr.com/1155377/openssh-flaw-allows-unauthenticated-rce-on-millions) · CSO, 3 July 2024 · [publisher](<https://www.csoonline.com/article/2511351/openssh-vulnerability-regresshion-puts-millions-of-servers-at-risk.html>) · 52%
- [Researcher shares zero-day Windows 10 local privilege escalation exploit that grants full control over files reserved for full-privilege users](https://texxr.com/941998/researcher-shares-windows-10-local-privilege-zero-day) · Threatpost, 23 May 2019 · [publisher](<https://threatpost.com/windows-zero-day-lpe/144976/>) · 52%

- **Judged:** Scribe wrote the corpus context.

## Sources

### The TEXXR article archive

*Section `articles`, as of 21 June 2017; judged by one reader, needs review*

The archive supplies the article and its links. Similar stories use the saved text vectors.

**Method**

- The archive holds the headline, publisher excerpt, coverage and discussion.
- Relationships use the article ID. Similar stories use the archive’s stored text vectors.

**Limits**

- Some articles have no Scribe context, recorded tags or relationships.
