# Linux security vunerability

**URL:** <https://gramps.discourse.group/t/linux-security-vunerability/9705>\
**Category:** Development\
**Created:** [July 13, 2026, 11:09am UTC](https://gramps.discourse.group/t/linux-security-vunerability/9705 "2026-07-13T11:09:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuck](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@stuck](https://gramps.discourse.group/u/stuck)\
**Post date:** [July 13, 2026, 11:09am UTC](https://gramps.discourse.group/t/linux-security-vunerability/9705/1 "2026-07-13T11:09:17Z")

</div>

I’ve categorised this as ‘Development’ but it’s not about Gramps, it’s about the Linux kernel:

> **[AI Agent Discovers 15-Year-Old Linux Kernel Privilege Escalation Bug Named...](https://www.ghacks.net/2026/07/13/ai-agent-discovers-15-year-old-linux-kernel-privilege-escalation-bug-named-ghostlock/)**
>
> A 15-year-old Linux kernel vulnerability called GhostLock allows local privilege escalation to root, with the only fix being a patched kernel.

---

<div class="post-metadata">

**Author:** ![romjerome](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/romjerome/32/1489_2.png) [@romjerome](https://gramps.discourse.group/u/romjerome)\
**Post date:** [July 13, 2026, 2:07pm UTC](https://gramps.discourse.group/t/linux-security-vunerability/9705/2 "2026-07-13T14:07:10Z")

</div>

> GhostLock requires local access for exploitation, which serves as a mitigating factor. An attacker must first gain some level of access to the system before using GhostLock to escalate privileges.

Well, and Gramps should fix any possible GhostLock issue during a local session?

---

<div class="post-metadata">

**Author:** ![stuck](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@stuck](https://gramps.discourse.group/u/stuck)\
**Post date:** [July 13, 2026, 5:42pm UTC](https://gramps.discourse.group/t/linux-security-vunerability/9705/3 "2026-07-13T17:42:10Z")

</div>

I know nothing about Linux but my understanding of the article is that the **only** fix for GhostLock is to update the Linux kernel to v7.1.

---

<div class="post-metadata">

**Author:** ![romjerome](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/romjerome/32/1489_2.png) [@romjerome](https://gramps.discourse.group/u/romjerome)\
**Post date:** [July 13, 2026, 9:11pm UTC](https://gramps.discourse.group/t/linux-security-vunerability/9705/4 "2026-07-13T21:11:39Z")

</div>

What about offline desktop? Sure, one could also knock on your door, push you out of your chair for having one local access and run its bad code. Note, you are also free to run any kernel (custom or not)…

So, by **only safe with** kernel 7.1, you often need to add exceptions under Linux.

---

<div class="post-metadata">

**Author:** ![romjerome](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/romjerome/32/1489_2.png) [@romjerome](https://gramps.discourse.group/u/romjerome)\
**Post date:** [July 13, 2026, 9:27pm UTC](https://gramps.discourse.group/t/linux-security-vunerability/9705/5 "2026-07-13T21:27:02Z")

</div>

> The bug was introduced by `8161239a8bcc` in **v2.6.39** (2011) and fixed in **v7.1** by [`3bfdc63936dd`](https://github.com/torvalds/linux/commit/3bfdc63936dd4773109b7b8c280c0f3b5ae7d349) (rtmutex: Use waiter::task instead of current in remove\_waiter()). Because it dates to 2.6.39, the practical exploitable window is **every kernel from 2.6.39 through 7.0** ; distro adoption of the backport is tracked below.

> **[GitHub - suominen/ghostlock](https://github.com/suominen/ghostlock/tree/main/)**
>
> main/

Great, I still have very old kernel versions… 🫩

> - fix 3bfdc63936dd (first in v7.1); introduced 8161239a8bcc (v2.6.39), so every kernel 2.6.39 through 7.0 is in-window - stable backports 6.1.177, 6.6.144, 6.12.95, 6.18.36, 7.0.13; 5.15.y and 5.10.y not backported

> <https://github.com/suominen/ghostlock/blob/main/site/content/_index.md>

etc.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [August 12, 2026, 9:27pm UTC](https://gramps.discourse.group/t/linux-security-vunerability/9705/6 "2026-08-12T21:27:15Z")

</div>

Closed on August 12, 2026, 9:27pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
