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,0x1Eor0x51faulting atnt!ExpPoolTrackerChargeEntry+0x40, with.exrshowingc0000005and parameters(0, -1), raised throughnt!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.
| # | Date | Host | Uptime | BIOS / running uCode | Bugcheck | CPU | Tag | Charge | Caller |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Sep 2 | A | 00:00:56 | 01.02.04 / 0x118 | 0x1E (lsass.exe) | 17 | CMci | 0x40 (64 B) | nt!CmpCallCallBacksEx+0x206, no csagent frame |
| 2 | Sep 3 | A | 00:00:57 | 01.02.04 / 0x118 | 0x135 (Registry) | 17 | CMNb | 0x110 (272 B) | csagent+0xc6b6e -> nt!CmCallbackGetKeyObjectIDEx+0x236 |
| 3 | Sep 4 | A* | 21:11:22 | not recorded / 0x122 | 0x3B (WmiPrvSE.exe) | 17 | SM00 | 0x90 (144 B) | csagent+0x70858 -> nt!ExAllocatePoolWithTagPriority+0x11a |
| 4 | Sep 4 | A | 00:00:20 | 01.05.01 / 0x122 | 0x135 (Registry) | 17 | CMNb | 0x130 (304 B) | csagent+0xc6b6e |
| 5 | Sep 7 | A | 2d 23:52:37 | 01.05.01 / 0x122 | 0x135 (Registry) | 17 | CMNb | 0x170 (368 B) | csagent+0xc6b6e |
| 6 | Sep 16 | B (kernel) | 00:02:25 | 01.05.01 / 0x122 | 0x51 (Registry) | 7 (APIC 0x1A) | CMNb | 0x50 (80 B) | regfilter.sys -> nt!ObQueryNameString+0xe, zero csagent frames |
| 7 | Sep 18 | B (kernel) | 00:00:52 | 01.05.01 / 0x122 | 0x3B (WmiPrvSE.exe) | 7 (APIC 0x1A) | SM00 | 0x90 (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)
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
#GP(0)disguised as a read of0xffffffffffffffff. Every.exrshowsExceptionCode: c0000005,Parameter[0]: 0,Parameter[1]: ffffffffffffffff. That is not a page fault on-1. The raw kernel stack goes throughnt!KiGeneralProtectionFault+0x365with hardwareErrorCode = 0(#GP(0)), notnt!KiPageFault. A general-protection fault carries no faulting address, so Windows reports it as an access violation with the placeholder parameters(0, -1)..trapversus.cxr(ther14 = 0mirage). Running.trapon the trap frame warns about incomplete nonvolatile registers and, in the September 2 dump, displaysr14 = 0. The x64 trap frame does not saver12-r15; the saved.cxrcontext record does, and across all seven dumps it showsr14 = 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.- False
MEMORY_CORRUPTION_LARGEfrom!chkimg. On the September 40x3Bminidump,!analyze -vblamedMEMORY_CORRUPTION_LARGEbecause!chkimgsaw four changed bytes (00 de->80 ac) atnt!MmAllocateNonChargedSecurePages+0x118and+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!chkimgonExpPoolTrackerChargeEntry+0x40itself returned0 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
ExAllocateHeapPoolreadsgs:[1a4h], which is_KPRCB.Number(+0x24) in the_KPRCBthat starts atgs:[180h], just past the0x178-byte_KPCR, to index the per-processor table arraynt!ExPoolTagTables[cpu]. In both dumps,r8 - ExPoolTagTables[7]equaled0x2D410(0x90D * 0x50forCMNb) and0x1E0F0(0x603 * 0x50forSM00) respectively, both well insidePoolTrackTableSize = 0x1001(4,097 entries).- A negative per-CPU
PagedBytesvalue (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,182allocs,6,534,862frees,Used 18,112bytes;!poolused 1 CMNb:Used 234,144bytes). - 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+0x38targetsPagedAllocs(+0x28) in the same 64-byte cache line as thePagedBytesoperand 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+0x40faulted.
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 CPUs0, 1, 10, 11, 12, 13, 18, 19, APIC IDs0x00, 0x08, 0x20, 0x28, 0x30, 0x38, 0x50, 0x58(APIC stride 8). - 12 E-cores (
ArchitectureClass 0, in 4-core clusters): logical CPUs2-9and14-17, APIC IDs0x10..0x1Eand0x48..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).
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
0x135and0x3Bname the caller, not necessarily the culprit. The0x135reference 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 insideExAllocateHeapPoolcan wear an EDR badge in!analyze -v. Test with the sensor removed and compare cross-driver stacks before accepting a "driver conflict" verdict.- Never trust
.trapor an.exr-1blindly on#GP(0). Check whether the dispatch frame isKiGeneralProtectionFaultorKiPageFault, reconstruct operands from.cxrrather than.trap, and before believing!chkimg'sMEMORY_CORRUPTION_LARGE, check whether the changed bytes are immediates holding a randomized kernel region base such asPfnDataBase. - 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. - 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
!cpuinfoand!smt, stop hunting exclusively for filter-driver bugs, and engage the OEM and silicon vendor on microcode and BIOS updates.