Hi All,
I am receiving DRIVER_CORRUPTED_EXPOOL (c5), BAD_POOL_CALLER & IRQL_NOT_LESS_OR_EQUAL crashes with my driver. Frustratingly I am not able to make any thing out of the crash dump. Kindly suggest any way to go further. I am putting here what all I have observed yet.
Here is the dump.
DRIVER_CORRUPTED_EXPOOL (c5)
An attempt was made to access a pageable (or completely invalid) address at an
interrupt request level (IRQL) that is too high. This is
caused by drivers that have corrupted the system pool. Run the driver
verifier against any new (or suspect) drivers, and if that doesn’t turn up
the culprit, then use gflags to enable special pool.
Arguments:
Arg1: 30003600, memory referenced
Arg2: 00000002, IRQL
Arg3: 00000000, value 0 = read operation, 1 = write operation
Arg4: 8054b96d, address which referenced memory
Debugging Details:
BUGCHECK_STR: 0xC5_2
CURRENT_IRQL: 2
FAULTING_IP:
nt!ExDeferredFreePool+b4
8054b96d 8b10 mov edx,[eax]
CUSTOMER_CRASH_COUNT: 1
DEFAULT_BUCKET_ID: DRIVER_FAULT
LAST_CONTROL_TRANSFER: from 8054b96d to 804dbaac
STACK_TEXT:
f78c6bb8 8054b96d badb0d00 891e1000 f78c6ba8 nt!KiTrap0E+0x238
f78c6c6c 8054bac7 00000000 8054b1e6 89194008 nt!ExDeferredFreePool+0xb4
f78c6cac 8054b3e3 89194008 00000000 f78c6cc8 nt!ExFreePoolWithTag+0x47f
f78c6cbc f7b547bb 89194008 f78c6ce4 f7b52481 nt!ExFreePool+0xf
f78c6cc8 f7b52481 f7b71e20 89194008 00000000 Ntfs!ExFreeToPagedLookasideList+0x1e
f78c6ce4 f7b52666 89194008 00000001 00000000 Ntfs!NtfsCleanupIrpContext+0x10d
f78c6cfc f7b7c414 89194008 00000000 00000000 Ntfs!NtfsCompleteRequest+0x35
f78c6d7c 804dd3b5 00000000 00000000 897da3c8 Ntfs!NtfsFspClose+0x1a5
f78c6dac 8056f128 00000000 00000000 00000000 nt!ExpWorkerThread+0xef
f78c6ddc 804e7781 804dd2f1 00000000 00000000 nt!PspSystemThreadStartup+0x34
00000000 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x16
We have a encryption/decryption minifilter driver & this bug is occurring only when I am trying to view a folder which contains files with really big names. I did review my IRP_MJ_DIRECTORY_CONTROL many times.
Few things I noticed further is every time Argument 3 value is 1 i.e. write operation. & some times it displays IRQL level as FF.
Any clues?
Aditya