nday
CVE-2026-98260

exec: Cleanup POSIX timers right after de_thread()

Linux / Linux

披露后第 42 天出现公开 PoC。本站尚未获取修复依据,不能据此认为没有补丁。PoC 来源中 github 已收录(1/4)。尚未列入 CISA KEV。

标签 攻击途径本地无需用户交互 产品Linux kernel 产品类型操作系统
这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

本地
编号分配方 Linux 给出的 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1)中的 AV:L
无需用户交互
编号分配方 Linux 给出的 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1)中的 UI:N
Linux kernel
CVE 记录列出的受影响产品:Linux · Linux
操作系统
CVE 记录列出的受影响产品:Linux · Linuxnday 产品登记表中 Linux kernel 的产品类型
当前阶段
POC
披露
披露到公开 PoC
T+42d POC 为日精度
CVSS
7.8 HIGH v3.1

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
10-06T08:45Z
PAT补丁
尚无记录
ANA分析
10-16T16:00Z
POCPoC
11-17 日精度
ITW在野
尚无记录
KEVKEV
尚无记录

摘要

In the Linux kernel, the following vulnerability has been resolved:

exec: Cleanup POSIX timers right after de_thread()

A per-thread CPU timer holds a reference to the PID of the thread it is attached to and, while it is armed, its node is queued in that thread's posix_cputimers. The task is looked up by that PID.

When a non-leader thread exec()s, de_thread() changes which task owns that PID. pid_task(timer->it.cpu.pid, PIDTYPE_PID) then returns NULL, but the node is still queued on tsk, which is alive. timer_lock_sighand() takes a failed lookup to mean that the node is already dequeued, so it has nothing to undo.

begin_new_exec() calls posix_cpu_timers_exit(me) right after exec_task_namespaces() and that removes the leftover node, so the state normally stays invisible. But bprm->point_of_no_return is set before de_thread(), so if unshare_files(), set_mm_exe_file(), exec_mmap() or exec_task_namespaces() fails, the task dies before it gets there. exit_itimers() then frees the k_itimer while its node is still queued, and reaping tsk later erases that freed node from the rbtree.

In short:

    the non-leader thread B           the parent

timer_create(CLOCK_THREAD_CPUTIME_ID)
timer_settime()
  arm_timer()            // the node is queued on B
execve()
  de_thread(B)
    exchange_tids(B, leader)  // B's PID now belongs to the leader
    release_task(leader)
      __exit_signal(leader)
        posix_cpu_timers_exit(leader)  // cleans leader's queue, not B's
        __unhash_process(leader)  // that PID has no task anymore
  exec_mmap()
    mmap_read_lock_killable(old_mm)
                              kill(B, SIGKILL)
    // -EINTR
get_signal()
  do_exit()
    exit_itimers()
      posix_timer_delete()
        posix_cpu_timer_del()
      posix_timer_unhash_and_free()  // freed while still queued
                              wait4()
                                release_task(B)
                                  posix_cpu_timers_exit(B)
                                    cleanup_timerqueue()
                                      timerqueue_del()  // use-after-free

Move the POSIX timer cleanup right after de_thread() before any of the later failure conditions brings the task into do_exit().

[ tglx: Move the cleanup right after de_thread() ]

以上是 CVE 记录(cvelist)中的原文,未经改写。

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:L
本地:需要本地或 SSH 会话,或诱使用户在本机上操作
攻击复杂度 AC:L
低:不依赖特殊条件,攻击者可预期重复成功
所需权限 PR:L
低:普通用户权限
用户交互 UI:N
无:除攻击者外不需要任何人配合

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS 3.1 向量,来自 CVE 记录,由 CNA Linux 评定。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 Linux。CVSS 7.8,高危。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "id": 457556,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-98260",
  "occurred_at": "2026-10-06T08:45:24.711Z",
  "observed_at": "2026-11-13T05:40:20.493151Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 7.8,
      "base_severity": "HIGH"
    },
    "state": "PUBLISHED",
    "date_published": "2026-10-06T08:45:24.711Z",
    "assigner_short_name": "Linux"
  }
}
+ANA技术分析

oss-security 邮件列表发帖:“Infinity Core: Linux Kernel Core LPEs”。

来源 osssec 2026/q4/211 · 本站 实时观测 · 原始记录
{
  "id": 495524,
  "type": "analysis_published",
  "source": "osssec",
  "url": "https://seclists.org/oss-sec/2026/q4/211",
  "occurred_at": "2026-10-16T16:00:19Z",
  "observed_at": "2026-11-20T08:13:28.642196Z",
  "is_backfill": false,
  "dedupe_key": "2026/q4/211",
  "detail": {
    "list": "oss-security",
    "author": "Hyunwoo Kim",
    "subject": "Infinity Core: Linux Kernel Core LPEs",
    "is_reply": false
  }
}
2026-11-17日精度,来源给出
+POC公开 PoC

GitHub 上的 PoC 仓库:yxc0915/cve-2026-98260-ppg-an00。日期为仓库的创建日。

来源 github 1461985364 · 本站 实时观测 · 原始记录
{
  "id": 497961,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/yxc0915/cve-2026-98260-ppg-an00",
  "occurred_at": "2026-11-17T21:21:32Z",
  "observed_at": "2026-11-20T00:00:00Z",
  "is_backfill": false,
  "dedupe_key": "1461985364",
  "detail": {
    "url": "https://github.com/yxc0915/cve-2026-98260-ppg-an00",
    "title": "yxc0915/cve-2026-98260-ppg-an00",
    "precision": "day"
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。