# GhostLock: A 15-Year-Old Linux Kernel Vulnerability Found in All Distributions

Original title: GhostLock, a stack-UAF that has existed in ALL Linux distributions for 15 years

> Hacker News story 48864969 · language: en · submitted 2026-07-10
> Web version: https://zeli.app/story/48864969
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 5 · by [djfergus](<https://news.ycombinator.com/user?id=djfergus>) · 💬 1
[original](<https://nebusec.ai/research/ionstack-part-2/>) · [HN discussion](<https://news.ycombinator.com/item?id=48864969>)

## Summary

I discovered GhostLock, a critical stack-use-after-free vulnerability hidden in the Linux kernel for over 15 years. This flaw affects every major distribution since 2011, allowing unprivileged attackers to escalate privileges and escape containers. By exploiting a logic error in the rtmutex rework, we turned this bug into a stable exploit, earning a $92,337 reward from Google.

## Key quote

> GhostLock was introduced in Linux 2.6.39 and fixed in Linux 7.1, existing in the Linux kernel for more than 15 years.

## HN discussion (1 comments)

### [dang](<https://news.ycombinator.com/item?id=48886986>)

> Comments moved to https://news.ycombinator.com/item?id=48834309, which was posted first. (Sorry! I still want to implement karma sharing so we can split credit between multiple submitters.)

### [ranger_danger](<https://news.ycombinator.com/item?id=48865970>)

> dupe of https://news.ycombinator.com/item?id=48834309

---

## Cite

- Page: https://zeli.app/story/48864969
- Date: 2026-07-10
- Source: nebusec.ai (https://nebusec.ai/research/ionstack-part-2/)
- Hacker News: https://news.ycombinator.com/item?id=48864969

## Other languages

- zh: https://zeli.app/zh/story/48864969 · markdown: https://zeli.app/zh/story/48864969.md
- ja: https://zeli.app/ja/story/48864969 · markdown: https://zeli.app/ja/story/48864969.md
- ko: https://zeli.app/ko/story/48864969 · markdown: https://zeli.app/ko/story/48864969.md
- de: https://zeli.app/de/story/48864969 · markdown: https://zeli.app/de/story/48864969.md
- es: https://zeli.app/es/story/48864969 · markdown: https://zeli.app/es/story/48864969.md
