InfinityCore README

项目的 README,来自 github.com/V4bel/InfinityCore。合并为一个 markdown 文件:README.md。

Infinity Core: Linux Kernel Core LPEs

tux

Abstract

This document describes six Linux kernel core vulnerabilities reported and patched by Hyunwoo Kim (@v4bel).

The vulnerabilities covered here affect Kernel Core subsystems that have historically seen relatively few security issues. They enable LPE and container escape on Linux distributions, and some also allow an attacker to gain full root privileges from the Android untrusted_app domain.

This document excludes areas where vulnerabilities are common, such as networking, sockets, perf, and BPF, as well as bugs that require a user namespace to trigger.

[!NOTE] After these vulnerabilities were reported to [email protected] and the agreed embargo ended, the vulnerability details were posted to oss-security and this Infinity Core document was published.

Vulnerability Summary

Subsystem CVE Impact Tested target Introduced Fixed
Timer CVE-2026-98260 LPE, Container escape, Android LPE Ubuntu 26.04 7.0.0-30-generic, Galaxy S26 Ultra S948NKSS4BZIG 55e8c8eb2c7b acb03d388181
Signal CVE-2026-98256 LPE, Container escape Ubuntu 26.04 7.0.0-30-generic fb3bbcfe344e d2710c8d938a
MM CVE-2026-89754 LPE, Container escape Ubuntu 26.04 7.0.0-30-generic 3b89863c3fa4 aedf2efd1897
Futex CVE-2026-80775 LPE, Container escape Ubuntu 26.04 7.0.0-30-generic d9b05321e21e bde023808364
Scheduler CVE-2026-98385 LPE, Container escape Arch Linux 7.2.4-arch1-2 df0d98475954 28f9c0e0a0b9, b636fef85bda
SLAB CVE-2026-97941 Kernel panic Arch Linux 7.2.4-arch1-2 ba7425312607 4a724bcf5d70

Technical Analysis

Timer (CVE-2026-98260): POSIX CPU timer UAF in exec()

demo

CVE-2026-98260 is a use-after-free vulnerability in the interaction between exec() in a thread other than the leader and POSIX CPU timer cleanup. If exec() fails after the TID of a thread with a CPU timer scoped to that thread has been exchanged, the node from the freed timer remains in the timerqueue of a live task. The node is referenced again during later task cleanup, corrupting kernel memory.

The public PoC turns this use-after-free into a full local privilege escalation. Starting as an unprivileged user, it exploits a vulnerable Ubuntu 26.04 7.0.0-30-generic system and launches a root shell.

This vulnerability can also be used to gain full root privileges on a Samsung Galaxy S26 Ultra, starting from the untrusted_app domain with no additional application privileges. The Android exploit will be published once the vulnerability has been patched on Galaxy devices or an unrelated third party has publicly released an exploit. (Android exploit hash: 713a294f72abc46b6e12633117d40e85629ca2b998698fd75c76e523e0d53253)

For the detailed technical information, see here.

Signal (CVE-2026-98256): sigqueue UAF in exec()

CVE-2026-98256 is a use-after-free vulnerability caused by a race between exec() in a thread other than the leader and cleanup of a private pending signal queue. While that thread inherits the old leader's TID, the path that flushes the dying leader's pending list without a lock and the path that follows the exchanged PID to link a signal entry into the new leader's queue can manipulate the same sigqueue concurrently. If the race corrupts the list links, the object containing the entry is freed while the entry remains on the new pending list. A later signal handling path references the freed entry again and corrupts kernel memory.

The public PoC uses the surviving entry as an oracle to detect when the freed object has been reclaimed, then exploits the path that dequeues the crafted signal queue to run a root shell from an unprivileged account.

For the detailed technical information, see here.

MM (CVE-2026-89754): OOB write in page table walk

CVE-2026-89754 is an out-of-bounds write vulnerability caused by retry state leaking from a lower level of the page table walker, which makes mincore() walk the same PUD range more than once. When a race with madvise(MADV_DONTNEED) removes a PTE table, the lower level walker returns without resetting ACTION_AGAIN. The upper level walker interprets it as a request to retry the current PUD and walks the same range again. Because the mincore() result cursor has already advanced, it writes past the temporary buffer, which occupies one page, and into adjacent kernel memory.

The public PoC turns the repeated walk results into a controlled pattern spanning 40 bytes and places a credential slab in the physical page immediately after the temporary buffer. This write sets the UID and GID fields of struct cred to zero and runs a root shell from an unprivileged account.

For the detailed technical information, see here.

Futex (CVE-2026-80775): Private hash UAF in prctl()

CVE-2026-80775 is a use-after-free vulnerability caused by a race between two tasks that share the same mm_struct while allocating the first reference counter for FUTEX_PRIVATE_HASH. If two tasks running through nested vfork() publish different per-CPU counter addresses to the same mm->futex_ref, a reference in the counter published first is lost from tracking. A live private futex hash is then freed during hash replacement, and a surviving bucket pointer is used to access the freed memory, corrupting kernel memory.

The public PoC reclaims the freed hash with a pipe ring, modifies a pipe_buffer flag, and overwrites the page cache of /usr/bin/passwd to achieve LPE.

For the detailed technical information, see here.

Scheduler (CVE-2026-98385): mm_struct UAF in scheduler cache accounting

CVE-2026-98385 is a use-after-free vulnerability caused by the scheduler cache accounting code updating per-CPU statistics that belong to a task's old mm_struct without protecting its lifetime. Even after exec() replaces the address space on another CPU and frees the old statistics, the scheduler continues writing through the address it saved and corrupts reused kernel memory. The vulnerable path runs only when CONFIG_SCHED_CACHE=y and sched_cache_active is enabled at runtime. The topmost SD_SHARE_LLC domain must contain more than one CPU and have a wider parent domain, and sysctl_sched_cache_user must be nonzero. The public PoC assumes a topology with four vCPUs in which CPUs 0 and 1 share one LLC and CPUs 2 and 3 share another.

The public PoC uses the stale statistics write to corrupt the reference counter of a private futex hash, reclaims the freed hash with a pipe ring, and overwrites the page cache of /usr/bin/newgrp to achieve LPE.

For the detailed technical information, see here.

SLAB (CVE-2026-97941): Partial list corruption in object refill

CVE-2026-97941 is an ABA race vulnerability caused by a race between optimistic freelist return and removal from a node partial list during SLUB object refill. While the refill CPU has detached a slab's freelist, another CPU can free and reallocate an object, allowing the slab to pass through the partial state and return to the same full state. The cmpxchg in the return path checks only the freelist and counters, so it does not detect that slab_list was linked into the node partial list in the meantime. It then links the same list node a second time, this time into the private list used by the refill path. When later removal from the partial list deletes the overwritten link, a stale entry remains in the node head and the list becomes corrupted. The next allocation removes the same entry again and dereferences a poison pointer.

The public PoC repeatedly creates this race with System V message objects, causing a poison pointer dereference and a fatal kernel panic. An LPE chain has not yet been written.

For the detailed technical information, see here.

InfinityCore (V4bel/InfinityCore)

正在搜索数据库…

这是什么?InfinityCore 是一份安全研究文档,介绍了安全研究员 Hyunwoo Kim(@v4bel)发现并修复的六个 Linux 内核核心漏洞(CVE),涉及定时器、信号、内存管理、futex、调度器和 SLAB 子系统。
这是一个可以运行的工具,还是漏洞分析报告?这是一份文档报告,不是可运行的软件:包含一张汇总每个 CVE 的表格,以及每个漏洞单独的技术分析章节,涵盖根本原因、受影响的子系统、测试的内核版本,以及引入和修复该漏洞的提交(commit)。
漏洞信息是如何组织的?汇总表列出了每个漏洞的子系统、CVE 编号、影响、测试的发行版和内核版本,以及引入和修复该漏洞的提交;表格之后,每个漏洞都有一节详细的技术分析。
这个仓库里包含可用的漏洞利用 PoC 吗?本文档不包含利用代码,每个条目只描述其公开 PoC 的行为。对于 SLAB 漏洞(CVE-2026-97941),作者指出尚未编写 LPE 利用链,因此目前只会导致内核恐慌。
这份内容对谁有用?适合关注 Linux 和 Android 内核安全的研究人员,他们可以从中深入了解内核核心子系统中较少被研究的、可被利用的本地提权(LPE)和容器逃逸漏洞的技术细节。
定时器漏洞(CVE-2026-98260)能在 Android 上被利用吗?可以。从 Android 的 untrustedapp 域出发,无需额外的应用权限,即可在 Galaxy S26 Ultra 上获得完整的 root 权限。公开的 Android 利用代码将在三星修复该漏洞,或第三方率先公开相关利用之后才会发布。
作者在发布前遵循了什么披露流程?这些漏洞先被私下报告给 [email protected],本文以及 oss-security 上的帖子只在约定的禁运期结束后才发布。
哪些子系统被有意排除在范围之外?作者排除了网络、套接字、perf 和 BPF 等常被攻击的领域,以及需要用户命名空间才能触发的漏洞,重点关注较少被研究的内核核心代码。
这六个漏洞都能导致完整的 root 权限提升吗?其中五个(定时器、信号、内存管理、futex、调度器)有公开的 PoC,可以获得 root shell;第六个 SLAB(CVE-2026-97941)目前只会触发内核恐慌,因为尚未构建出 LPE 利用链。
作者
V4bel
大小
12.1 MB
星标
224
更新
提交Oct 17
时长
1个月
提交 · 90 天