Skip to content
KitploitKITPLOIT
도구익스플로잇블로그
Log in
제출
도구익스플로잇블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2026-98256-Analysis — Analysis and race-condition PoC for CVE-2026-98256, a Linux kernel signal subsystem use-after-free in non-leader exec(), with root-cause write-up and fix patch. | Kitploit
도구/GitHubGitHub/villager1314/cve-2026-98256-analysis
Memory ForensicsVulnerability AnalysisExploitationFuzzingPapers & ResearchLearning & EducationBinary Exploitation
GitHubvillager1314/cve-2026-98256-analysis

CVE-2026-98256-Analysis

Analysis and race-condition PoC for CVE-2026-98256, a Linux kernel signal subsystem use-after-free in non-leader exec(), with root-cause write-up and fix patch.

저장소 보기
22026년 10월 18일아직 검토되지 않음
공유
요청한 언어로 콘텐츠를 사용할 수 없습니다. 영어 버전을 표시합니다.

CVE-2026-98256 — Linux kernel signal subsystem race UAF during non-leader exec()

Reproducer / PoC (trigger verification): Linux & Android (NDK) This repository is solely for checking patch status and conducting research on your own test devices. It includes no privilege-escalation or exploitation primitives.

CVSS 3.1 CWE-416 Fix


1. Vulnerability overview

FieldDetails
CVE IDCVE-2026-98256
Titlesignal: Prevent exec() race
TypeUse-After-Free (CWE-416), race condition
CNAkernel.org (Linux CNA)
CVSS v3.17.8 High — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSSNo data available
CISA KEVNot listed (as of 2026-10; check the live record for updates)
Reservation date2026-09-25
Public disclosure date2026-10-06
Fix commit (mainline)d2710c8d938ae6a825a6463158e6e6f31eac792a
Introducing commit (Fixes:)fb3bbcfe344e (v6.15) — "exit: change the release_task() paths to call flush_sigqueue() lockless"
Fix authorThomas Gleixner <[email protected]>
Reporter/debuggerHyunwoo Kim <[email protected]>
Proposed approachEric W. Biederman <[email protected]>
Affected fileskernel/exit.c, kernel/signal.c

⚠️ Note: some intelligence aggregators (such as VulDB) describe this as a remote vulnerability with CVSS 9.9, contrary to the official CVE record. The official record gives a local 7.8 High rating (reachable only through local system calls; see the CNA's scoring-scenario explanation). This document follows the official record.

Affected versions

The issue was introduced by commit fb3bbcfe344e in v6.15. That commit moved flush_sigqueue() in the release_task() path outside the sighand lock, making the call lockless:

BranchAffectedFixed version (≥)Fix commit
6.15 ~ 6.17All affected— (all EOL; backport required)—
6.18~ 6.18.536.18.54621c36573982
7.2~ 7.2.77.2.8934bd95f1a64
mainline< 7.3-rc47.3-rc4d2710c8d938a

Android relevance

Android GKI kernels are currently based on 5.10 / 5.15 / 6.1 / 6.6 / 6.12 LTS. All are below 6.15 and are outside the affected range. Only devices using a 6.15+ kernel, such as a future 6.18 GKI, need attention. Check the device kernel version with adb shell cat /proc/version.


2. Technical details

2.1 Background: SIGEV_THREAD_ID timers and lockless sigqueue flush

A POSIX timer created with timer_create() in SIGEV_THREAD_ID mode delivers its signal to a specific thread (PIDTYPE_PID). When the timer expires, posixtimer_send_sigqueue() locates the target task through pid_task(), acquires sighand->siglock, and links k_itimer->sigq into the task->pending list.

Commit fb3bbcfe344e, merged into v6.15 in 2026, moved the flush_sigqueue() operation on tsk->pending in release_task() outside the sighand lock, creating a lockless flush. The rationale was that the task had already been removed from the PID list, so nobody could touch ->pending again. This assumption does not hold when a non-leader thread executes exec, creating this CVE's race window.

2.2 Race scenario: non-leader thread exec and a blocked timer signal

When a non-leader thread calls execve(), de_thread() calls exchange_tids() before release_task(leader):

  • The struct pid held by a SIGEV_THREAD_ID timer originally created for the old leader tid now refers to the thread calling execve(), which becomes the new leader. pid_task() returns that thread, and lock_task_sighand() succeeds.
  • If the timer signal is blocked, its sigqueue remains linked to the old leader's task::pending. The next expiry can coincide with the lockless flush in release_task().

posixtimer_send_sigqueue() uses an ordinary list_empty() check to determine whether the sigqueue is already queued; it reads only list_head::next. Meanwhile, list_del_init() is not atomic: INIT_LIST_HEAD() writes next before prev, so the check can pass between those writes. list_add_tail() then links the entry to the live thread's task::pending, while the flush-side write to list_head::prev overwrites the prev link that list_add_tail() just established.

__flush_itimer_signals() cannot recover the situation either. The entry's prev points to itself, so list_del_init() merely writes the same values and does not remove the entry from the list. After the last reference is released and the timer is freed through RCU, the entry remains linked in the list. A subsequent tgkill() operation's list_add_tail() can follow this dangling prev and write into the freed k_itimer:

 BUG: KASAN: slab-use-after-free in __send_signal_locked+0xb27/0xba0
 Write of size 8 at addr ffff888007ed80c8 by task poc/79
 Call Trace:
  __send_signal_locked+0xb27/0xba0
  do_send_sig_info+0xa7/0x160
  do_send_specific+0x76/0xa0
  __x64_sys_tgkill+0x193/0x270
 Allocated by task 80: do_timer_create ...
 Freed by task 12:   kvfree_rcu_bulk / kfree_rcu_work ...
 Last potentially related work creation:
  kvfree_call_rcu → __flush_itimer_signals → flush_itimer_signals → begin_new_exec

The result is an 8-byte kernel heap write to a freed object in __send_signal_locked(), which KASAN can reliably observe. It can corrupt the list and potentially be used to construct a privilege-escalation primitive.

2.3 Discussion of weakly ordered architectures

During review, Frederic Weisbecker and others considered whether a third-party sender on a weakly ordered system might observe the PID write in transfer_tids() (#D) without observing the old leader flush's list_del_init() write (#A). The conclusion was that the exit_state write and the PID write are separated by the tasklist lock's UNLOCK+LOCK handoff (RCtso, providing store ordering). Together with the LOAD-to-LOCK data dependency in get_target(), this ensures that the read in list_empty() observes #A. That path is therefore safe; the issue lies specifically in the lockless flush window described in 2.2.

2.4 Fix approach

Eric W. Biederman proposed the approach: there is no reason to defer flushing task::pending until release_task(); it should be done in exit_signals(). Nothing should subsequently collect or deliver signals on the dying task's private queue. The key is to prevent any further enqueueing, using the PF_EXITING flag set by exit_signals():

  1. Add task_can_queue_signal() checks to __send_signal_locked() and posixtimer_send_sigqueue(). If the target task has PF_EXITING set, reject enqueueing of PIDTYPE_PID (task-private) signals.
  2. Ensure that all paths through exit_signals(), including the empty-thread-group and group-exit fast paths, set PF_EXITING while holding the sighand lock.
  3. Flush task::pending immediately in exit_signals(): while locked, use sigqueue_dequeue_pending() and list_splice_init() to move the entire list to a stack list head; after unlocking, free entries individually with flush_sigqueue_list().
  4. Stop flushing p->pending in release_task(). Only flush the group leader's signal->shared_pending without the lock; at that point sighand is NULL and nothing can enqueue signals.

The complete diff is in patches/d2710c8d938a.patch.


3. PoC description: trigger verification, not a privilege-escalation exploit

도구 다운로드

관련 도구

  • volatility3

    휘발성 메모리(RAM) 샘플에서 디지털 아티팩트를 추출하기 위한 고급 프레임워크로, Windows, Linux 및 macOS에서 시스템 런타임 상태에 대한 심층 포렌식 분석을 가능하게 합니다.

  • avml

    포렌식 및 침해 대응을 위한 휴대용 Linux RAM 수집 도구로, 선택적 압축 및 원격 스트리밍을 지원하며 LiME 호환 이미지를 캡처합니다.

  • velociraptor

    더 깊이 파고들기....

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

  • 1

    Callisto

    jetp1ane/callisto

    Ghidra를 통해 실행 파일을 디컴파일하고, Semgrep으로 의사 C 코드를 스캔하며, GPT-3.5-Turbo를 사용하여 결과를 검증해 거짓 양성을 줄이는 자동화된 바이너리 취약점 분석 도구입니다.

    2.3k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # GhostLock 원탭 실행 앱 (CVE-2026-43499)

    811
  • 3

    DFRoot

    a2333c/dfroot

    삼성 Galaxy S25 Ultra(SM-S938B)용 Android 루트 도구로, DirtyFrag CVE-2026-43284와 CVE-2026-43499를 연쇄하여 KernelSU를 통해 부팅 시 자동으로 루트 권한을 획득합니다.

    448
  • 4

    ARTEX

    baarai/artex

    LLM 멀티 에이전트 자율 침투 테스트 플랫폼으로, 플래너/워커 에이전트, 자산 및 탐색 그래프, MITM 트래픽 기록, 취약점 재테스트 기능을 제공합니다.

    391
  • 5

    faraday

    infobyte/faraday

    공격적 보안, 취약점 관리, 자율 펜테스팅을 위한 오픈소스 및 AI 기반 사이버보안 도구. 라틴 아메리카의 해커들이 만들고 전 세계에서 사용됩니다.

    345
  • 6

    OsintHunter

    letox4/osinthunter

    🎯 궁극의 OSINT 툴킷: 조사 그래프, 신뢰도 점수 산정, 별칭 패밀리, 지도, 타임라인 및 보고서. 49개 모듈, 400개 이상 사이트, API 키 불필요.

    334

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →