Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-98180 — Proof-of-concept and KASAN-confirmed KUnit reproducer for CVE-2026-98180, a drm/msm use-after-free of scheduler-containing ring and VM objects reachable via unprivileged SYNC_IOC_FILE_INFO. | Kitploit
Tools/GitHubGitHub/malhyuk/cve-2026-98180
Memory ForensicsVulnerability AnalysisExploitationFuzzingPapers & ResearchLearning & Education
GitHubmalhyuk/cve-2026-98180

CVE-2026-98180

Proof-of-concept and KASAN-confirmed KUnit reproducer for CVE-2026-98180, a drm/msm use-after-free of scheduler-containing ring and VM objects reachable via unprivileged SYNC_IOC_FILE_INFO.

View Repository
51 month agoNot yet reviewed
Share

CVE-2026-98180 — drm/msm: use-after-free of the scheduler-containing ring/VM objects

A drm_sched_fence exported to userspace keeps a raw pointer to the drm_gpu_scheduler that produced it. In drm/msm that scheduler is embedded in struct msm_ringbuffer and struct msm_gem_vm, both of which were freed with a plain kfree(). A finished fence held by userspace therefore outlives its scheduler, and a later SYNC_IOC_FILE_INFO — an unprivileged ioctl — makes drm_sched_fence_get_timeline_name() dereference freed slab memory.

BUG: KASAN: slab-use-after-free in drm_sched_fence_get_timeline_name
Read of size 8

Root cause

drm_sched_fence_get_timeline_name() is return fence->sched->name;.

The scheduler fence ops keep a .release callback, so the fence is not ops-detached when it signals. A signalled fence exported via sync_file or drm_syncobj keeps pointing at the embedded scheduler after the ring or VM is freed. Per the dma-fence lifetime contract the exporter must keep the data backing a signalled fence alive for an RCU grace period; drm/msm did not.

Fix01c8d1f385f7 — drm/msm: RCU-free the scheduler-containing ring and VM objects
Introduced by1d8a5ca436ee (drm/msm: Conversion to drm scheduler), 92395af63a99 (drm/msm: Add VM_BIND submitqueue)
Backported6.18-stable, 7.2-stable (Greg Kroah-Hartman, 2026-09-22)
Reachabilityunprivileged — SYNC_IOC_FILE_INFO on a fence fd
ImpactUAF read of freed slab (info-leak / arbitrary read of the freed object's name pointer)

The fix replaces kfree() with kfree_rcu() for both containing objects:

-	kfree(vm);
+	kfree_rcu(vm, rcu);
...
-	kfree(ring);
+	kfree_rcu(ring, rcu);

Reproduction

The bug is in generic drm/sched lifetime handling, so it reproduces without Adreno hardware using a KUnit mock scheduler. That is the evidence in evidence/kasan-report.txt.

cd poc && ./run-repro.sh            # applies 0001-…patch, builds KUnit + KASAN, runs
  • poc/0001-drm-sched-kunit-uaf-repro.patch — hardware-independent KUnit reproducer (KASAN-confirmed)
  • poc/poc_userspace_drm_sched_uaf.c — the unprivileged userspace ioctl sequence on an affected driver
  • poc/kunitconfig, poc/run-repro.sh — build/run harness
  • evidence/kasan-report.txt — the KASAN slab-use-after-free report

poc_userspace_drm_sched_uaf.c is written against AMD XDNA as the worked example because that device was available; the identical shape applies to msm (MSM_SUBMITQUEUE / VM_BIND export a finished fence through sync_file_create() + fd_install()) and to nouveau.

Related

The same dma-fence lifetime class was also fixed in the core: 3ed11c671ff7 — dma-buf/dma-fence: fix checking signaling bit for timeline and driver name v3 (authored by Christian König; reported and tested by the author of this repo).

Credit

Found and fixed by JongHyuk Kim(MalHyuk) — [email protected]. Patch signed off by Rob Clark and Greg Kroah-Hartman. Patchwork: https://patchwork.freedesktop.org/patch/750234/

License

Reproducer code is GPL-2.0, matching the kernel sources it derives from.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    974
  • 2

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    895
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    713
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    472
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    422
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    390

Explore all tools

Browse our collection of tools

View all tools →