Home / Writing / Windows

The Case of the Phantom Protection Fault: Chasing an Arrow Lake-HX BSOD Through csagent.sys to a Firmware Update

2026.11.25 · Windows
The Case of the Phantom Protection Fault: Chasing an Arrow Lake-HX BSOD Through csagent.sys to a Firmware Update

A customer's freshly imaged HP ZBook Fury G1i 16 mobile workstations (Intel Core Ultra 7 265HX, Arrow Lake-HX, Family 6, Model 198 / 0xC6, Stepping 2, 20 logical processors, 64 GiB non-ECC RAM) running Windows 11 25H2 with virtualization-based security (VBS) and HVCI enabled started blue-screening at random: sometimes within 20 seconds to under two and a half minutes of boot, sometimes after hours or days, often under heavy compiler and CAD/CAM workloads.

Running !analyze -v on the first batch of five Windows triage minidumps (TRIAGE_DUMP64) from WORKSTATION-A pointed four of them at CrowdStrike Falcon (csagent.sys): three 0x135 (REGISTRY_FILTER_DRIVER_EXCEPTION) crashes naming the registry callback at csagent+0xc4d00 (bug check parameter 3), and one 0x3B (SYSTEM_SERVICE_EXCEPTION) returning into csagent+0x70858. The fifth, a 0x1E (KMODE_EXCEPTION_NOT_HANDLED) in lsass.exe, had no csagent frame at all.

The initial theories split along familiar vendor lines: blame csagent.sys, or blame a registry-callback coexistence conflict between csagent.sys and Microsoft Defender (WdFilter.sys). Yet updating csagent.sys from a May 2026 build to a September 2026 build changed nothing, and removing CrowdStrike completely for more than a week still left workstations crashing under compiler and CAD workloads.

At a glance

  • Signature: any of 0x135, 0x3B, 0x1E or 0x51 faulting at nt!ExpPoolTrackerChargeEntry+0x40, with .exr showing c0000005 and parameters (0, -1), raised through nt!KiGeneralProtectionFault.
  • Do first: switch affected machines to kernel memory dumps, and note the processor number of every crash.
  • Avoid: blaming the EDR because it is on the stack. Check the BIOS version and ask the OEM for firmware.

Hostnames and a second third-party registry filter driver's name in the excerpts below are sanitized (WORKSTATION-A, WORKSTATION-B, and regfilter.sys). The five triage minidumps report KUSER_SHARED_DATA.NtBuildNumber = 26200 with ntkrnlmp.exe 10.0.26100.9168; the two kernel dumps on WORKSTATION-B report kernel build 26100 MP at the identical function offsets. Everything was debugged in cdb.exe against public symbols from msdl.microsoft.com.

Four bugchecks, one instruction, and three debugger traps

I walked all seven dumps: five triage minidumps from the first bundle (four correlated to WORKSTATION-A via Windows Error Reporting events, and the September 4 0x3B shipped in the same host's diagnostic bundle without a matching WER record) plus two 2.4 GB kernel memory dumps (kernel bitmap format) from a second physical machine, WORKSTATION-B, including a 0x51 (REGISTRY_ERROR). CrowdStrike was installed when all seven were captured. The table is the whole case in miniature.

Seven dumps across two machines, all faulting at nt!ExpPoolTrackerChargeEntry+0x40
#DateHostUptimeBIOS / running uCodeBugcheckCPUTagChargeCaller
1Sep 2A00:00:5601.02.04 / 0x1180x1E (lsass.exe)17CMci0x40 (64 B)nt!CmpCallCallBacksEx+0x206, no csagent frame
2Sep 3A00:00:5701.02.04 / 0x1180x135 (Registry)17CMNb0x110 (272 B)csagent+0xc6b6e -> nt!CmCallbackGetKeyObjectIDEx+0x236
3Sep 4A*21:11:22not recorded / 0x1220x3B (WmiPrvSE.exe)17SM000x90 (144 B)csagent+0x70858 -> nt!ExAllocatePoolWithTagPriority+0x11a
4Sep 4A00:00:2001.05.01 / 0x1220x135 (Registry)17CMNb0x130 (304 B)csagent+0xc6b6e
5Sep 7A2d 23:52:3701.05.01 / 0x1220x135 (Registry)17CMNb0x170 (368 B)csagent+0xc6b6e
6Sep 16B (kernel)00:02:2501.05.01 / 0x1220x51 (Registry)7 (APIC 0x1A)CMNb0x50 (80 B)regfilter.sys -> nt!ObQueryNameString+0xe, zero csagent frames
7Sep 18B (kernel)00:00:5201.05.01 / 0x1220x3B (WmiPrvSE.exe)7 (APIC 0x1A)SM000x90 (144 B)csagent+0x70d08 (newer Sep 10 sensor build)

*Dumps 1, 2, 4 and 5 match WORKSTATION-A Windows Error Reporting records; Dump 3 came from the same host's diagnostic archive without a matching WER entry, and its BIOS string was not recorded (microcode 0x122 places it after the update to 01.05.01). The csagent offsets in the Caller column are return addresses on the stack; the 0xc4d00 above is the callback routine the 0x135 names in parameter 3.

Four different stop codes are just four different ways of reporting the same underlying fault. nt!CmpCallbackFatalFilter raises 0x135; nt!CmpQueryKeyName$filt$0 hands off to nt!CmpFatalFilter and raises 0x51; the system service dispatcher's handler raises 0x3B; and on the lsass.exe stack nothing claimed the exception, so the kernel's dispatcher raised 0x1E. Which one you get depends only on which handler, if any, claims the exception first while the dispatcher searches the stack. Because the bug check fires during that search, before any unwinding, the faulting frames are still there in every dump. Every dump localized the fault to the same symbol-relative offset, nt!ExpPoolTrackerChargeEntry+0x40 (with the six opcode bytes physically captured in the 0x1E, 0x3B, and kernel dumps, and disassembled from the matched 26100.9168 kernel image in the three stripped 0x135 triage dumps):

nt!ExpPoolTrackerChargeEntry+0x10:
+10  movsxd  rsi, ecx                       ; 1 selects the NonPaged counters
+13  mov     r14d, 8                        ; +0x08 NonPagedBytes
+19  cmp     esi, 1
+1c  mov     ecx, 20h                       ; +0x20 PagedBytes
+21  mov     eax, 10h                       ; +0x10 NonPagedAllocs
+26  mov     rdi, r8                        ; r8 = _POOL_TRACKER_TABLE entry
+29  cmovne  r14d, ecx
+2d  mov     r15, rdx
+30  mov     ecx, 28h                       ; +0x28 PagedAllocs
+35  cmovne  eax, ecx
+38  lock inc  qword ptr [rax+r8]           ; precedes +0x40 (+0x28, same cache line)
+3d  mov     rbp, rdx                       ; rbp = byte charge
+40  lock xadd qword ptr [r14+r8], rbp      ; f0 4b 0f c1 2c 06 -> #GP(0)
Diagram showing four callers converging on nt!ExAllocateHeapPool and nt!ExpPoolTrackerChargeEntry: 0x135 from csagent.sys via CmCallbackGetKeyObjectIDEx, 0x51 from regfilter.sys via ObQueryNameString with no csagent frame, 0x3B from WmiPrvSE.exe via csagent and the nt pool allocator, and 0x1E from lsass.exe via CmpCallCallBacksEx with no csagent frame. Below, lock inc at +0x38 precedes lock xadd at +0x40 on the straight-line path, the operand is canonical, aligned and inside one cache line, and both kernel dumps show a valid writable PTE.
Four stop codes, four callers, one LOCK XADD offset. The operand is canonical and aligned (and mapped in both kernel dumps), yet +0x40 raises #GP(0).

Three WinDbg traps that send triage off a cliff

  1. #GP(0) disguised as a read of 0xffffffffffffffff. Every .exr shows ExceptionCode: c0000005, Parameter[0]: 0, Parameter[1]: ffffffffffffffff. That is not a page fault on -1. The raw kernel stack goes through nt!KiGeneralProtectionFault+0x365 with hardware ErrorCode = 0 (#GP(0)), not nt!KiPageFault. A general-protection fault carries no faulting address, so Windows reports it as an access violation with the placeholder parameters (0, -1).
  2. .trap versus .cxr (the r14 = 0 mirage). Running .trap on the trap frame warns about incomplete nonvolatile registers and, in the September 2 dump, displays r14 = 0. The x64 trap frame does not save r12-r15; the saved .cxr context record does, and across all seven dumps it shows r14 = 0x20 (_POOL_TRACKER_TABLE.PagedBytes). That makes [r14+r8] a canonical (bits 63:48 = 0xffff, bit 47 = 1), 16-byte-aligned 8-byte operand that crosses neither a 4 KiB page nor a 64-byte cache line.
  3. False MEMORY_CORRUPTION_LARGE from !chkimg. On the September 4 0x3B minidump, !analyze -v blamed MEMORY_CORRUPTION_LARGE because !chkimg saw four changed bytes (00 de -> 80 ac) at nt!MmAllocateNonChargedSecurePages+0x118 and +0x165. Disassembling those two instructions (mov rax, 0FFFFAC8000000000h) against the dump header (PfnDataBase = ffffac80`00000000) showed they hold the runtime fixup for the randomized PFN database base rather than arbitrary byte corruption, while !chkimg on ExpPoolTrackerChargeEntry+0x40 itself returned 0 errors.

What the two kernel dumps showed - and why csagent.sys was the caller, not the cause

Triage minidumps (9-12 MB) hit a brick wall. ExPoolTagTables pages and the hardware page tables are not captured (Unable to get PXE), so from minidumps alone you cannot tell whether [r14+r8] was paged out, unmapped, corrupted, or valid. Reconfiguring crash dumps to Kernel memory dumps (MEMORY.DMP, about 2.4 GB) on WORKSTATION-B captured kernel-mode memory and settled two questions.

1. Capturing the identical fault with no CrowdStrike frame on the stack

In the September 16 0x51 kernel dump, csagent.sys was loaded (fffff805`455f0000) with zero frames on the recovered call stack. Instead, a second, unrelated third-party registry filter (regfilter.sys) called nt!ObQueryNameString -> nt!CmpConstructNameFromKeyNodes -> nt!ExAllocatePool2, and hit the exact same lock xadd at ExpPoolTrackerChargeEntry+0x40. In dump 1 (0x1E), Windows faulted at CmpCallCallBacksEx+0x206 while allocating context before calling the next callback, so no filter driver was the active caller. Together with the crashes that continued after CrowdStrike was uninstalled, this points to csagent.sys being on the stack simply because registry and process filter drivers allocate tagged pool so often during boot and builds.

2. Checking the public pool-expansion use-after-free hypothesis

A public Microsoft Learn Q&A thread, "Recurring 0x1E bugcheck in nt!ExpPoolTrackerChargeEntry on Windows 11 25H2 (26100.8655), not fixed by KB5094135", collects the same ExpPoolTrackerChargeEntry+0x40 signature from owners of other Intel Arrow Lake-HX laptops: Core Ultra 7 265HX, Core Ultra 9 275HX and Core Ultra 9 285HX systems from Alienware and Dell, Acer, ASUS, Lenovo, MSI and HP. The thread's original poster proposed a race between a lock-free cached PoolTrackTable reader and reclamation of an old PoolTrackTableExpansion buffer, citing implausible NonPagedBytes values such as fffffffffdff47d0 and ffffffffffff9e20. Other contributors pointed out that the tracker tables are per processor and that a block can be freed on a different processor than the one that allocated it, and reported from full kernel dumps that the expansion table was unused, the faulting address was mapped and writable, and crashes clustered on single cores. The two WORKSTATION-B kernel dumps let me repeat those checks on the customer's hardware:

; 16 Sep 0x51 dump (Tag "CMNb", CPU 7)          ; 18 Sep 0x3B dump (Tag "SM00", CPU 7)
R8  = ffffa481`13bc1410                         R8  = ffffd381`211b20f0
EA  = ffffa481`13bc1430 (page offset 0x430)     EA  = ffffd381`211b2110 (page offset 0x110)

!pte ffffa481`13bc1430                          !pte ffffd381`211b2110
PXE / PPE / PDE: ---DA--KWEV                    PXE / PPE / PDE: ---DA--KWEV
PTE:             -G-DA--KW-V (Valid, Writable)  PTE:             -G-DA--KW-V (Valid, Writable)

dq @r8 L7 (excerpt):
+00 Key        = 00000000`624e4d43 ("CMNb")     +00 Key        = 00000000`30304d53 ("SM00")
+20 PagedBytes = 00000000`0002a5c0              +20 PagedBytes = ffffffff`ffffc210 (-15,856)
+28 PagedAllocs= 00000000`000b0cb3              +28 PagedAllocs= 00000000`00042866
+30 PagedFrees = 00000000`000b03f7              +30 PagedFrees = 00000000`000428fa
  • ExAllocateHeapPool reads gs:[1a4h], which is _KPRCB.Number (+0x24) in the _KPRCB that starts at gs:[180h], just past the 0x178-byte _KPCR, to index the per-processor table array nt!ExPoolTagTables[cpu]. In both dumps, r8 - ExPoolTagTables[7] equaled 0x2D410 (0x90D * 0x50 for CMNb) and 0x1E0F0 (0x603 * 0x50 for SM00) respectively, both well inside PoolTrackTableSize = 0x1001 (4,097 entries).
  • A negative per-CPU PagedBytes value (ffffffff`ffffc210) is normal, not freed memory. A block allocated on CPU A and freed on CPU B decrements CPU B's local shard below zero while the sum across all 20 tables stays positive (!poolused 1 SM00: 6,535,182 allocs, 6,534,862 frees, Used 18,112 bytes; !poolused 1 CMNb: Used 234,144 bytes).
  • Every page-table level down to the leaf PTE in both kernel dumps was Valid (V), Dirty (D), Accessed (A) and Kernel-Writable (W). With VBS on, these are the guest's page tables as recorded in the dump. Two instructions earlier, lock inc qword ptr [rax+r8] at +0x38 targets PagedAllocs (+0x28) in the same 64-byte cache line as the PagedBytes operand at +0x20, as it does in every 16-byte-aligned entry (both tables are page-aligned). Because x86 faults are precise, if execution came through +0x38, that locked write to the same cache line and page had already completed two instructions before +0x40 faulted.

That is the part no driver can explain. In 64-bit mode, LOCK XADD raises #GP(0) only when its memory address is non-canonical; a freed, unmapped or read-only page produces a page fault (#PF) instead. The recomputed address was canonical, aligned, inside one page and one cache line, and mapped writable, and the tracker entry sat inside an in-range ExPoolTagTables[7] shard, which also rules out a stale PoolTrackTableExpansion pointer in both kernel dumps.

One logical processor per machine

!cpuinfo and !smt in the two WORKSTATION-B kernel dumps added the strongest platform clue. The Intel Core Ultra 7 265HX is a hybrid 20-logical-processor chip without SMT, and the debugger's 8/12 ArchitectureClass split (class 1 = performance core, class 0 = efficiency core) plus the APIC ID layout align with its eight performance cores and twelve efficiency cores:

  • 8 P-cores (ArchitectureClass 1): logical CPUs 0, 1, 10, 11, 12, 13, 18, 19, APIC IDs 0x00, 0x08, 0x20, 0x28, 0x30, 0x38, 0x50, 0x58 (APIC stride 8).
  • 12 E-cores (ArchitectureClass 0, in 4-core clusters): logical CPUs 2-9 and 14-17, APIC IDs 0x10..0x1E and 0x48..0x4E (APIC stride 2).

All seven dumps landed on a single logical processor per machine. In both WORKSTATION-B kernel dumps it is logical CPU 7, APIC 0x1A, ArchitectureClass 0. All five minidumps from WORKSTATION-A's bundle report logical CPU 17. Triage minidumps do not carry the ArchitectureClass table; on the same CPU model's topology, CPU 17 is APIC 0x4E, also an efficiency core. None of the seven landed on any other processor. The crashes also spanned two shipping BIOS and microcode combinations: X96 Ver. 01.02.04 (01/29/2026, microcode 0x118) and X96 Ver. 01.05.01 (07/16/2026, microcode 0x122).

Topology diagram of the Intel Core Ultra 7 265HX showing 8 ArchitectureClass 1 performance cores (APIC 0x00, 0x08, 0x20, 0x28, 0x30, 0x38, 0x50, 0x58) and 12 ArchitectureClass 0 efficiency cores, with all seven dumps on one logical processor per machine: CPU 7 in both kernel dumps and CPU 17 in all five triage dumps. Below, a firmware timeline from HP BIOS X96 01.02.04 (microcode 0x118) and 01.05.01 (microcode 0x122), both crashing, to a newer HP firmware update with no BSODs so far on the test workstation.
All seven dumps hit one logical processor per machine: CPU 7 in both kernel dumps (ArchitectureClass 0) and CPU 17 in all five triage dumps. Two shipping BIOS generations crashed; a newer firmware update has not.

Workarounds vs. the firmware update

On the customer's ZBook Fury G1i workstations, disabling Turbo Boost in the HP BIOS did not stop the crashes. Throttling 20-core mobile workstations bought for heavy compiler builds and CAD assemblies was not a viable long-term answer anyway.

The Microsoft Learn Q&A thread also collects community workarounds. A Core Ultra 9 275HX laptop owner reported that disabling Intel Turbo Boost together with a 70 W PL1/PL2 cap stopped their crashes, and later posters reported that disabling Turbo Boost alone helped. If you want to try the Windows side of that, the hidden PERFBOOSTMODE power setting controls processor boost, and Configure-ProcessorBoost.ps1 in my endpoint-toolkit repo sets it for AC and battery on the active power plan from an elevated session. Run it without parameters first and note the AC and DC modes it displays, then use -Disable for the test. -Enable writes mode 1 rather than restoring your previous mode; put the noted value back with -Configure, or with powercfg directly if your AC and DC values differed.

Keeping the escalation with Microsoft, Intel and HP anchored on hard evidence: (1) crashes continued for more than a week with CrowdStrike completely uninstalled, (2) two captured stacks had no csagent.sys frame at all, and (3) both kernel dumps raised #GP(0) on LOCK XADD against a canonical address with valid, writable mappings, on one efficiency core. That pushed the investigation down to the platform layer.

HP then provided a newer firmware update for these workstations. On an affected test workstation it apparently fixed the issue: no BSODs so far, and a rollout to the rest of the fleet is planned. Because the crashes struck at random, the customer is watching the fleet before calling it closed.

What I'm keeping in my WinDbg notebook

  1. 0x135 and 0x3B name the caller, not necessarily the culprit. The 0x135 reference tells you to identify the offending driver from parameter 3, and usually that is right. But high-frequency filter drivers (csagent.sys, WdFilter.sys, third-party registry filters) sit on hot allocation paths, so a platform or firmware fault inside ExAllocateHeapPool can wear an EDR badge in !analyze -v. Test with the sensor removed and compare cross-driver stacks before accepting a "driver conflict" verdict.
  2. Never trust .trap or an .exr -1 blindly on #GP(0). Check whether the dispatch frame is KiGeneralProtectionFault or KiPageFault, reconstruct operands from .cxr rather than .trap, and before believing !chkimg's MEMORY_CORRUPTION_LARGE, check whether the changed bytes are immediates holding a randomized kernel region base such as PfnDataBase.
  3. Switch from minidumps to kernel dumps early. A 10 MB-class triage dump omits the page tables and ExPoolTagTables; a 2.4 GB kernel dump immediately shows whether an atomic read-modify-write hit a freed page or a valid, writable per-CPU shard. And remember that per-CPU pool tracker byte counters legitimately go negative.
  4. Record the processor number of every crash. When crashes cluster on one logical processor, or on one core type of a hybrid Intel chip, check !cpuinfo and !smt, stop hunting exclusively for filter-driver bugs, and engage the OEM and silicon vendor on microcode and BIOS updates.