Kernel Token leak: win32kbase.sys keeps reference to token of exited processes (Toke pool growth)

Andrew 0 Reputation points
2026-12-01T19:46:58.0533333+00:00

Kernel Token object leak: win32kbase.sys keeps a reference to the primary token of exited processes. Windows 26H2 build 26300.9974, win32kbase.sys 10.0.26100.9818, latest update KB5132061. Symptom: pool tag Toke grows by 17-28 thousand objects per hour under workloads that start many short processes (git, bash, node, python, headless Chromium); about 4.4 million live Toke objects after 10 days of uptime, pools reach several GB, and only a reboot reclaims them. Evidence (WPR kernel trace with Pool, Object, Handle, ProcessThread keywords and ObjectReference/ObjectDeReference stacks, 12 minutes): 37,300 tokens created, 34,727 deleted. 412 processes exited with a token bound to their creation; for 160 of them the token was still alive more than 60 seconds after process exit. Net reference balance (references minus dereferences) on those 160 leaked tokens, by first non-ntoskrnl module on the call stack: win32kbase.sys +162 (about one per token), win32kfull.sys +7. Control group of 34,727 normally deleted tokens: win32kbase.sys +1984 and win32kfull.sys -1957, which cancel out. So on the leaked tokens win32kbase.sys takes a reference that win32kfull.sys never releases. Affected images: git.exe 63 of 137 exits, bash.exe 33 of 72, conhost.exe 23 of 103, chrome-headless-shell.exe 23 of 45. Already excluded: zombie processes (only 85 open process objects of exited processes), the MediaTek Bluetooth service and the NVIDIA nvpcf driver (leak continues with both stopped). The pool allocation stack of the leaked tokens is the token duplicated during process creation, with no third-party drivers on it. Happy to provide traces.

Windows for home | Windows 11 | Performance and system failures
0 comments No comments

1 answer

Sort by: Oldest
  1. AI answer

    2026-12-01T19:48:07.2466667+00:00

    Submit this as a Windows bug through Feedback Hub with the ETL trace and a minimal reproducer; KB5132061 does not document a fix or mitigation for a Toke token-object leak, and the available evidence does not support repeating generic driver troubleshooting. ^1^

    File the actionable defect report

    1. Press Windows+F, or open Start → Feedback Hub.
    2. Sign in so that you can search for existing reports and track your submission.
    3. Search for the existing report titled “Windows 11 25H2 (26200.8655): unbounded paged-pool leak in ‘Toke’ tag.”
    4. If no matching Feedback Hub item appears, select Give new feedback → Problem and use a title such as:

      Windows 11 26H2 26300.9974: unbounded Toke token-object growth after short-lived processes exit

    5. Include these discriminating facts:
      • OS build: 26300.9974
      • Update: KB5132061
      • win32kbase.sys: 10.0.26100.9818
      • Growth rate: 17,000–28,000 live Toke objects per hour
      • Long-run impact: approximately 4.4 million objects and several GB of pool after ten days
      • Recovery: reboot only
      • Workload and affected image counts
      • Trace duration and enabled WPR keywords
      • Created/deleted token counts
      • The 60-second post-exit survival criterion
      • Per-module reference/dereference balances for leaked and control tokens
      • Exclusions already established: exited-process objects, MediaTek service, NVIDIA nvpcf, and third-party allocation stacks
    6. Attach:
      • The smallest ETL that still demonstrates the imbalance
      • WPA screenshots or exported tables showing token lifetime and reference balance
      • A text file containing exact reproduction steps
      • winver and file-version screenshots
      • PoolMon samples from the beginning and end of the run

    Feedback Hub supports attaching files and recording reproduction steps; select Save a local copy of diagnostics and attachments before submitting. ^3^

    Review the ETL and attachments before submission because diagnostic material can contain device activity or memory-related data. Windows diagnostic controls are under Settings → Privacy & security → Diagnostics & feedback. ^4^

    Keep the reproduction minimal

    A compact process-churn reproducer makes regression testing easier. For example, run this from PowerShell while recording the relevant WPR profile:

    $rounds = 10000
    
    1..$rounds | ForEach-Object {
        $p = Start-Process cmd.exe `
            -ArgumentList '/c exit' `
            -WindowStyle Hidden `
            -PassThru
        $p.WaitForExit()
        $p.Dispose()
    }
    

    Record baseline and final Toke allocation/free counts. PoolMon groups kernel-pool usage by allocation tag and can filter for a specific tag; poolmon /iToke is suitable for this measurement. ^5^

    For the ETL, retain the WPR/WPA evidence already collected rather than substituting PoolMon alone. Microsoft’s documented pool-leak analysis uses Pool usage, then Memory → Pool, pivoted by Type, Paged, Pool Tag, Stack, with Count (Sum) and Impacting Size (MB). ^6^

    Current status and mitigation

    KB5132061 applies to Windows 11 26H2 and advances it to build 26300.9974, but its published fixes and known issues do not list this token leak. Therefore, no documented registry change, driver replacement, or permanent user-side repair is available from the cited servicing information. ^1^

    Until a servicing fix is published:

    • Schedule reboots before pool growth threatens stability.
    • Reduce avoidable short-lived GUI/console process creation where operationally possible.
    • Track the Feedback Hub item and future Windows servicing notes.
    • If immediate engineering assistance is required, open a Microsoft Support case and provide the Feedback Hub link plus the compact ETL. Feedback Hub is intended for bug reporting and tracking; direct troubleshooting requires Microsoft Support. ^3^

    Avoid Driver Verifier, clean-boot repetition, or further random driver removal unless Microsoft requests it for a specific hypothesis; the supplied object-reference trace is already the more relevant artifact, and the named third-party candidates have been excluded.


    References

    1. 10. marraskuuta 2026 – KB5132061 (käyttöjärjestelmän koontiversiot 26300.9974, 26200.9974 ja 26100.9974) | Microsoft Support
    2. Windows 11 25H2 (26200.8655): unbounded paged-pool leak in "Toke" tag - Microsoft Q&A
    3. Send feedback to Microsoft with the Feedback Hub app | Microsoft Support
    4. Diagnostics, feedback, and privacy in Windows | Microsoft Support
    5. PoolMon Examples
    6. Troubleshoot processes and threads by using WPR and WPA
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.