- Kernel crash with "PFN list corrupt".
- Current patch:
- ---- snip ----
- diff --git a/sys/nfs41_driver.c b/sys/nfs41_driver.c
- index 0368732..1b16a18 100644
- --- a/sys/nfs41_driver.c
- +++ b/sys/nfs41_driver.c
- @@ -1632,7 +1632,7 @@ NTSTATUS unmarshal_nfs41_rw(
- DbgP("unmarshal_nfs41_rw: returned len %lu ChangeTime %llu\n",
- cur->buf_len, cur->ChangeTime);
- #endif
- -#if 1
- +#if 0^M
- /* 08/27/2010: it looks like we really don't need to call
- * MmUnmapLockedPages() eventhough we called
- * MmMapLockedPagesSpecifyCache() as the MDL passed to us
- ---- snip ----
- Microsoft (R) Windows Debugger Version 10.0.25921.1001 AMD64
- Copyright (c) Microsoft Corporation. All rights reserved.
- Loading Dump File [C:\cygwin64\home\roland_mainz\tmp\nfsd_as_per_user_service_pfn_list_corrupt_20231016_002_MEMORY.DMP]
- Kernel Bitmap Dump File: Kernel address space is available, User address space may not be available.
- ************* Path validation summary **************
- Response Time (ms) Location
- Deferred srv*
- Symbol search path is: srv*
- Executable search path is:
- Windows 10 Kernel Version 19041 MP (6 procs) Free x64
- Product: WinNt, suite: TerminalServer SingleUserTS
- Edition build lab: 19041.1.amd64fre.vb_release.191206-1406
- Kernel base = 0xfffff802`46c00000 PsLoadedModuleList = 0xfffff802`4782a360
- Debug session time: Mon Oct 16 16:03:22.549 2023 (UTC + 2:00)
- System Uptime: 0 days 0:46:22.273
- Loading Kernel Symbols
- ...............................................................
- ................................................................
- ..............................................................
- Loading User Symbols
- PEB is paged out (Peb.Ldr = 00000000`00fd0018). Type ".hh dbgerr001" for details
- Loading unloaded module list
- ......
- For analysis of this file, run !analyze -v
- nt!KeBugCheckEx:
- fffff802`46ffd640 48894c2408 mov qword ptr [rsp+8],rcx ss:0018:ffffc708`88f23f00=000000000000004e
- 4: kd> !analyze -v
- *******************************************************************************
- * *
- * Bugcheck Analysis *
- * *
- *******************************************************************************
- PFN_LIST_CORRUPT (4e)
- Typically caused by drivers passing bad memory descriptor lists (ie: calling
- MmUnlockPages twice with the same list, etc). If a kernel debugger is
- available get the stack trace.
- Arguments:
- Arg1: 000000000000009a,
- Arg2: 0000000000018e15
- Arg3: 0000000000000006
- Arg4: 0000000000000002
- Debugging Details:
- ------------------
- KEY_VALUES_STRING: 1
- Key : Analysis.CPU.mSec
- Value: 4311
- Key : Analysis.Elapsed.mSec
- Value: 4328
- Key : Analysis.IO.Other.Mb
- Value: 0
- Key : Analysis.IO.Read.Mb
- Value: 5
- Key : Analysis.IO.Write.Mb
- Value: 16
- Key : Analysis.Init.CPU.mSec
- Value: 1515
- Key : Analysis.Init.Elapsed.mSec
- Value: 46006
- Key : Analysis.Memory.CommitPeak.Mb
- Value: 99
- Key : Bugcheck.Code.KiBugCheckData
- Value: 0x4e
- Key : Bugcheck.Code.LegacyAPI
- Value: 0x4e
- Key : Failure.Bucket
- Value: 0x4E_9a_nt!MiDeleteNonPagedPoolPte
- Key : Failure.Hash
- Value: {aec87dc6-8e5e-ffb2-0aed-142948a6cbb3}
- Key : Hypervisor.Enlightenments.Value
- Value: 12576
- Key : Hypervisor.Enlightenments.ValueHex
- Value: 3120
- Key : Hypervisor.Flags.AnyHypervisorPresent
- Value: 1
- Key : Hypervisor.Flags.ApicEnlightened
- Value: 0
- Key : Hypervisor.Flags.ApicVirtualizationAvailable
- Value: 0
- Key : Hypervisor.Flags.AsyncMemoryHint
- Value: 0
- Key : Hypervisor.Flags.CoreSchedulerRequested
- Value: 0
- Key : Hypervisor.Flags.CpuManager
- Value: 0
- Key : Hypervisor.Flags.DeprecateAutoEoi
- Value: 1
- Key : Hypervisor.Flags.DynamicCpuDisabled
- Value: 0
- Key : Hypervisor.Flags.Epf
- Value: 0
- Key : Hypervisor.Flags.ExtendedProcessorMasks
- Value: 0
- Key : Hypervisor.Flags.HardwareMbecAvailable
- Value: 0
- Key : Hypervisor.Flags.MaxBankNumber
- Value: 0
- Key : Hypervisor.Flags.MemoryZeroingControl
- Value: 0
- Key : Hypervisor.Flags.NoExtendedRangeFlush
- Value: 1
- Key : Hypervisor.Flags.NoNonArchCoreSharing
- Value: 0
- Key : Hypervisor.Flags.Phase0InitDone
- Value: 1
- Key : Hypervisor.Flags.PowerSchedulerQos
- Value: 0
- Key : Hypervisor.Flags.RootScheduler
- Value: 0
- Key : Hypervisor.Flags.SynicAvailable
- Value: 1
- Key : Hypervisor.Flags.UseQpcBias
- Value: 0
- Key : Hypervisor.Flags.Value
- Value: 536632
- Key : Hypervisor.Flags.ValueHex
- Value: 83038
- Key : Hypervisor.Flags.VpAssistPage
- Value: 1
- Key : Hypervisor.Flags.VsmAvailable
- Value: 0
- Key : Hypervisor.RootFlags.AccessStats
- Value: 0
- Key : Hypervisor.RootFlags.CrashdumpEnlightened
- Value: 0
- Key : Hypervisor.RootFlags.CreateVirtualProcessor
- Value: 0
- Key : Hypervisor.RootFlags.DisableHyperthreading
- Value: 0
- Key : Hypervisor.RootFlags.HostTimelineSync
- Value: 0
- Key : Hypervisor.RootFlags.HypervisorDebuggingEnabled
- Value: 0
- Key : Hypervisor.RootFlags.IsHyperV
- Value: 0
- Key : Hypervisor.RootFlags.LivedumpEnlightened
- Value: 0
- Key : Hypervisor.RootFlags.MapDeviceInterrupt
- Value: 0
- Key : Hypervisor.RootFlags.MceEnlightened
- Value: 0
- Key : Hypervisor.RootFlags.Nested
- Value: 0
- Key : Hypervisor.RootFlags.StartLogicalProcessor
- Value: 0
- Key : Hypervisor.RootFlags.Value
- Value: 0
- Key : Hypervisor.RootFlags.ValueHex
- Value: 0
- Key : SecureKernel.HalpHvciEnabled
- Value: 0
- Key : WER.OS.Branch
- Value: vb_release
- Key : WER.OS.Version
- Value: 10.0.19041.1
- BUGCHECK_CODE: 4e
- BUGCHECK_P1: 9a
- BUGCHECK_P2: 18e15
- BUGCHECK_P3: 6
- BUGCHECK_P4: 2
- FILE_IN_CAB: nfsd_as_per_user_service_pfn_list_corrupt_20231016_002_MEMORY.DMP
- BLACKBOXBSD: 1 (!blackboxbsd)
- BLACKBOXNTFS: 1 (!blackboxntfs)
- BLACKBOXPNP: 1 (!blackboxpnp)
- BLACKBOXWINLOGON: 1
- PROCESS_NAME: cl.exe
- STACK_TEXT:
- ffffc708`88f23ef8 fffff802`47077795 : 00000000`0000004e 00000000`0000009a 00000000`00018e15 00000000`00000006 : nt!KeBugCheckEx
- ffffc708`88f23f00 fffff802`46f302d2 : ffffc9c2`c7a73520 ffffc708`88f24070 ffff858f`00000002 ffffc9e4`00000000 : nt!MiDeleteNonPagedPoolPte+0x147395
- ffffc708`88f23f70 fffff802`46ec0f8e : 001200a9`00000000 001200a9`00000300 ffffc708`88f24320 00000000`00000008 : nt!MiClearNonPagedPtes+0x162
- ffffc708`88f241a0 fffff802`46ec0db2 : 00000000`00000000 ffffc708`88f24311 ffffffff`ffffffff 00000000`00004000 : nt!MmFreePoolMemory+0x1aa
- ffffc708`88f24220 fffff802`46ec0d46 : 00000000`00000000 ffff858f`4e6a4000 00000000`00001000 00000000`00004000 : nt!RtlpHpEnvFreeVA+0x12
- ffffc708`88f24250 fffff802`46e92f83 : ffff858f`43402100 ffffffff`ffffffff ffff858f`45de006b 00000000`00000000 : nt!RtlpHpFreeVA+0x3a
- ffffc708`88f24290 fffff802`46e92c2e : ffffffff`ffffff00 00000000`ffffffff 00000000`00000040 00000000`ffffffff : nt!RtlpHpSegMgrCommit+0x1e3
- ffffc708`88f24360 fffff802`46e9212b : 00000000`00000001 ffff858f`4e600c80 ffff858f`00000040 00000000`00000001 : nt!RtlpHpSegPageRangeCommit+0x1ee
- ffffc708`88f24400 fffff802`46f46b89 : ffffc708`88f24590 00000000`00040000 00000000`00040000 00000000`00000000 : nt!RtlpHpSegAlloc+0x14b
- ffffc708`88f24460 fffff802`46f46b0c : ffff858f`43402340 00000000`00000000 00000000`00040000 ffff858f`43402340 : nt!RtlpHpSegSubAllocate+0x3d
- ffffc708`88f244b0 fffff802`46f1a081 : ffff858f`43402340 00000000`00000000 00000000`00000016 00000000`00000001 : nt!RtlpHpSegLfhAllocate+0x1c
- ffffc708`88f244f0 fffff802`46e12c4e : 00000000`00000170 ffffffff`00000013 ffffc708`00000000 fffff802`00000013 : nt!RtlpHpLfhSubsegmentCreate+0x135
- ffffc708`88f24580 fffff802`46e11611 : ffff858f`43402340 ffff858f`43404080 ffff858f`434041c0 00000000`00000170 : nt!RtlpHpLfhSlotAllocate+0xcbe
- ffffc708`88f246d0 fffff802`475b8074 : ffff858f`00000000 ffffa68d`8e93b5a0 00000000`4678744e 00000000`00000000 : nt!ExAllocateHeapPool+0x2b1
- ffffc708`88f24810 fffff802`48ce391e : 003d0000`000077cb 00000000`00000008 00000000`00000160 00000000`00000000 : nt!ExAllocatePoolWithTag+0x64
- ffffc708`88f24860 fffff802`48df5430 : 003d0000`000077cb 00000000`00000000 00000000`00000000 00000000`00000000 : Ntfs!NtfsAllocateNonpagedFcb+0x1e
- ffffc708`88f24890 fffff802`48ded146 : ffff858f`4bbe68a8 ffff858f`45e031a0 ffffa68d`78e8a000 003d0000`000077cb : Ntfs!NtfsCreateFcb+0x2a0
- ffffc708`88f249d0 fffff802`48db18f3 : ffff858f`4bbe68a8 ffffa68d`7fce2170 ffffa68d`8df67a70 ffffc708`88f25170 : Ntfs!NtfsCreateNewFile+0xae6
- ffffc708`88f24d80 fffff802`48dabe6b : ffff858f`4d0f1af0 ffffc708`88f25170 ffff858f`4d0f1af0 00000000`00000000 : Ntfs!NtfsCommonCreate+0x14b3
- ffffc708`88f25060 fffff802`46e10665 : ffff858f`45e03050 ffff858f`4d0f1af0 ffffc708`88f25300 ffff858f`4e025740 : Ntfs!NtfsFsdCreate+0x1db
- ffffc708`88f252e0 fffff802`42b2710f : ffff858f`4e025700 ffffc708`88f253d0 ffffc708`88f253d9 fffff802`42b25f7a : nt!IofCallDriver+0x55
- ffffc708`88f25320 fffff802`42b59f54 : ffffc708`88f253d0 ffff858f`4e025798 ffff858f`456d4950 00000000`00000000 : FLTMGR!FltpLegacyProcessingAfterPreCallbacksCompleted+0x28f
- ffffc708`88f25390 fffff802`46e10665 : 00000000`00000000 ffff858f`4573c080 00000000`00000000 00000000`00000000 : FLTMGR!FltpCreate+0x324
- ffffc708`88f25440 fffff802`46e0b674 : 00000000`00000003 ffff858f`4d0f1af0 ffff858f`6d4e6f49 fffff802`46e0b5e3 : nt!IofCallDriver+0x55
- ffffc708`88f25480 fffff802`471edf3b : ffffc708`88f25740 ffff858f`4573c080 ffff858f`4e0257d8 00000000`00000000 : nt!IoCallDriverWithTracing+0x34
- ffffc708`88f254d0 fffff802`47206647 : ffff858f`4573c080 ffff858f`4573c050 ffff858f`43b6d010 ffffa68d`78e75101 : nt!IopParseDevice+0x11bb
- ffffc708`88f25640 fffff802`471fd5fa : ffff858f`43b6d001 ffffc708`88f258a8 00000000`00000042 ffff858f`43adff00 : nt!ObpLookupObjectName+0x1117
- ffffc708`88f25810 fffff802`4726d46b : ffff858f`00000000 00000000`00dbecf0 00000000`00000001 00000000`00000000 : nt!ObOpenObjectByNameEx+0x1fa
- ffffc708`88f25940 fffff802`4726c129 : 00000000`00dbe420 00000000`c0100080 00000000`00dbecf0 00000000`00dbe438 : nt!IopCreateFile+0x132b
- ffffc708`88f25a00 fffff802`47010ef5 : ffff858f`4cf04080 00000000`00dbe448 00000000`00000000 ffff858f`00000008 : nt!NtCreateFile+0x79
- ffffc708`88f25a90 00007ffe`5c0eda84 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceCopyEnd+0x25
- 00000000`00dbe3a8 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x00007ffe`5c0eda84
- SYMBOL_NAME: nt!MiDeleteNonPagedPoolPte+147395
- MODULE_NAME: nt
- STACK_COMMAND: .cxr; .ecxr ; kb
- IMAGE_NAME: ntkrnlmp.exe
- BUCKET_ID_FUNC_OFFSET: 147395
- FAILURE_BUCKET_ID: 0x4E_9a_nt!MiDeleteNonPagedPoolPte
- OS_VERSION: 10.0.19041.1
- BUILDLAB_STR: vb_release
- OSPLATFORM_TYPE: x64
- OSNAME: Windows 10
- FAILURE_ID_HASH: {aec87dc6-8e5e-ffb2-0aed-142948a6cbb3}
- Followup: MachineOwner
- ---------
kernel crash "PFN list corrupt" with |MmUnmapLockedPages()| disabled
Posted by Anonymous on Mon 16th Oct 2023 15:09
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.