Bug Check 0xCB: DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS – Causes and Troubleshooting
Quick Answer DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS (Bug Check 0xCB) is a Windows Blue Screen of Death (BSOD) error indicating that a device driver or the Windo...
Quick Answer
DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS (Bug Check 0xCB) is a Windows Blue Screen of Death (BSOD) error indicating that a device driver or the Windows I/O Manager failed to release memory pages that had been locked during an input/output (I/O) operation.
Windows uses locked memory pages when drivers need to access specific memory regions during operations such as data transfers. If these pages are not properly unlocked after the operation, Windows can detect the problem and generate a system bug check.
The error generally points towards a driver-level memory management problem rather than an ordinary application error. The responsible driver must be identified through crash dump analysis before attempting corrective action.
What Is DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS?
DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS is a Windows kernel bug check with the hexadecimal stop code 0x000000CB.
A Windows device driver sometimes needs to lock physical memory pages temporarily so that they remain available during an I/O operation. This is particularly important when hardware devices or kernel components transfer data directly to or from system memory.
Windows uses a structure called a Memory Descriptor List (MDL) to describe these memory pages.
After the operation is completed, the driver or the relevant Windows component must release the locked pages correctly. If the pages remain locked when they should have been released, Windows can detect the condition and issue Bug Check 0xCB.
Microsoft documents this bug check as a driver or I/O Manager failure to release locked pages following an I/O operation.
What Causes Error 0xCB?
The underlying problem is related to incorrect memory-page management during an I/O operation. Several driver-related situations may contribute to this condition.
1. Faulty or Incompatible Device Drivers
A device driver may contain a programming defect that prevents it from properly releasing memory pages after completing an operation.
This can happen with outdated, incompatible, corrupted or defective drivers. The particular device cannot be identified from the stop code alone.
2. Incorrect Memory Locking and Unlocking
Windows drivers must follow specific rules when locking and unlocking memory pages.
If a driver fails to unlock pages it previously locked, or incorrectly manages the associated MDL, the memory-management system may detect the problem.
3. Faulty I/O Operations
Drivers communicate with hardware and other system components through I/O operations. An incomplete operation or incorrect cleanup procedure may leave memory pages locked longer than intended.
4. Third-Party Hardware Drivers
Drivers supplied by hardware manufacturers and third-party software developers may also be involved.
Depending on the system configuration, investigation may include drivers associated with:
- Graphics and video devices.
- Network adapters.
- Storage controllers.
- USB devices and peripherals.
- Audio and multimedia hardware.
- Specialized capture and data-transfer devices.
These are possible areas for investigation, not confirmed causes of every 0xCB crash.
Understanding the 0xCB Bug Check Parameters
Windows records four parameters when this bug check occurs. These values help developers and system administrators investigate the memory-management failure.
| Parameter | Description |
|---|---|
| Parameter 1 | Address of the internal lock tracking structure. |
| Parameter 2 | Reserved value (0). |
| Parameter 3 | Address of the MDL containing the locked pages. |
| Parameter 4 | Number of locked memory pages. |
These parameters are primarily intended for kernel debugging. They are not ordinary Windows settings and should not be modified manually.
Important: Why Does Windows Generate Bug Check 0xCB Instead of 0x76?
Microsoft documents an important distinction between two related Windows bug checks:
- 0x76 – PROCESS_HAS_LOCKED_PAGES: Indicates that a process has locked memory pages that were not properly released, or that a driver attempted to unlock pages that were not locked.
- 0xCB – DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS: Provides additional tracking information about the locked pages and helps identify the responsible driver.
According to Microsoft, Bug Check 0xCB is issued when the following registry value is configured as a DWORD with a value of 1:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
TrackLockedPages = 1
When this tracking setting is not enabled, Windows may issue the less-informative Bug Check 0x76 instead.
Bug Check 0xCB can also be generated by Driver Verifier when its Pool Tracking option is enabled.
How to Troubleshoot DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS (0xCB)
The recommended approach is to identify the driver responsible for the memory-management problem before making changes to Windows.
1. Identify the Driver Responsible for the Crash
Start by examining the Windows crash dump file. A memory dump may contain information about the driver and the operations involved when the system crashed.
Windows may store crash dump files in the following locations:
C:\Windows\Minidump– Small memory dump files.C:\Windows\MEMORY.DMP– Kernel or complete memory dump, depending on the configured dump type.
These files may not exist if crash dump collection was disabled or the system could not create a dump.
Microsoft WinDbg can be used to examine supported Windows crash dump files.
2. Analyse the Dump Using WinDbg
Install WinDbg and open the relevant crash dump file.
In the debugger command window, execute:
!analyze -v
This command displays detailed bug check information, including the stop code, parameters, available driver information and other diagnostic details.
Pay particular attention to:
BUGCHECK_CODE– Confirms the bug check code.BUGCHECK_P1throughBUGCHECK_P4– Displays the four bug check parameters.MODULE_NAME– Identifies a module associated with the crash analysis, when available.IMAGE_NAME– Shows the image associated with the identified module, when available.Probably caused by– Provides a preliminary indication of the suspected driver or component.
Important: A module listed in the analysis is not automatically proven to be the root cause. The complete debugging information and driver activity should be examined before assigning responsibility.
3. Use the !lockedpages Debugger Extension
Microsoft specifically recommends using the !lockedpages debugger extension to display locked Memory Descriptor Lists (MDLs) for the current process.
This is an advanced kernel-debugging procedure and requires appropriate debugging symbols and a suitable debugging environment.
The results can help an experienced debugger investigate which memory pages remain locked and identify the driver involved.
4. Check Recently Installed or Updated Drivers
If the blue screen started appearing after a hardware installation, driver update or software change, investigate the recently modified components.
- Open Device Manager by running
devmgmt.msc. - Expand the relevant hardware categories.
- Identify devices whose drivers were recently installed or updated.
- Check the driver provider, version and installation date.
- Visit the hardware manufacturer's official support website to check for a compatible driver.
If a specific driver is identified as responsible, consider installing a verified compatible version or rolling back to a previously working version.
Avoid updating or replacing every driver unnecessarily. Focus on the component supported by the crash evidence.
5. Disconnect Recently Added External Devices
If the crash began after connecting a new USB device, external storage device, capture device or other peripheral, temporarily disconnect it.
Restart Windows and check whether the problem occurs again.
This is a diagnostic step and does not establish that the disconnected device is defective. Its driver and related software may also need investigation.
6. Check Windows Update and Manufacturer Support
Install applicable Windows updates and check the device manufacturer's support website for compatible driver updates.
For business systems, servers and production computers, review driver compatibility and maintenance requirements before deploying changes.
Do not install unofficial or modified drivers from unverified websites.
Advanced Troubleshooting for Driver Developers
Bug Check 0xCB is particularly useful when investigating Windows kernel drivers and their memory-management behaviour.
Developers investigating this error should examine the following areas:
- Whether memory pages were locked and subsequently unlocked correctly.
- Whether the associated MDL was managed throughout the complete I/O operation.
- Whether cleanup routines execute correctly after successful and failed operations.
- Whether cancellation, timeout and error-handling paths release locked pages.
- Whether driver unloading or process termination leaves outstanding memory references.
Driver Verifier
Microsoft Driver Verifier is a Windows utility designed to monitor kernel-mode and graphics drivers for certain programming errors.
It can help developers identify driver-related violations during testing. Pool Tracking is one of the options relevant to investigating locked-page problems.
However, Driver Verifier can intentionally trigger a system crash when it detects a violation. It should be used carefully, preferably on a test machine or under the supervision of an experienced administrator.
Do not enable Driver Verifier indiscriminately on a production computer. Before using it, understand how to identify and disable the verification settings, and ensure that recovery access is available if Windows fails to start normally.
Can Error 0xCB Be Caused by Faulty RAM?
Bug Check 0xCB specifically identifies a locked-memory-page cleanup problem involving a driver or the Windows I/O Manager.
It does not directly indicate that physical RAM is defective.
Although hardware problems may contribute to wider system instability, memory replacement should not be considered the primary solution for this particular stop code without supporting diagnostic evidence.
How to Prevent DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS
Although this error may originate from a driver programming defect that cannot be corrected by an ordinary Windows user, the following practices can reduce driver-related compatibility problems:
- Install drivers from official hardware manufacturer websites.
- Keep Windows and supported device drivers updated.
- Avoid installing multiple third-party driver-management utilities.
- Remove unnecessary or obsolete hardware drivers carefully.
- Check compatibility before installing new hardware.
- Maintain reliable system backups and recovery options.
- Investigate recurring BSOD errors using crash dump analysis.
- Test newly developed kernel drivers with appropriate debugging tools before production deployment.
Frequently Asked Questions
1. What does DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS mean?
It means that a Windows driver or the I/O Manager failed to release memory pages that had been locked during an I/O operation. Windows identifies this condition through Bug Check 0xCB.
2. Is DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS a hardware or software problem?
It is primarily a driver-level memory-management error. The responsible driver may interact with hardware, but the stop code alone does not establish that the physical hardware is defective.
3. Can updating drivers fix error 0xCB?
Updating or rolling back a driver may resolve the problem if a driver defect or compatibility issue is responsible. However, the correct driver should be identified before making changes.
4. What is the difference between Bug Check 0xCB and 0x76?
Both are associated with locked memory pages. Microsoft documents 0xCB as the more informative bug check when locked-page tracking is enabled. Without the relevant tracking configuration, Windows may issue 0x76 instead.
5. Which tool can analyse a 0xCB crash dump?
Microsoft WinDbg can analyse Windows crash dump files. The !analyze -v command provides general bug check information, while the !lockedpages extension helps investigate locked MDLs.
6. Should I reinstall Windows to fix this error?
Reinstalling Windows is not a recommended first step. The error is associated with driver-level memory management, so identifying and correcting the responsible driver is a more appropriate starting point.
Official Microsoft References
- Microsoft Learn – Bug Check 0xCB: DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS
- Microsoft Learn – Interpreting Bug Check 0xCB
- Microsoft Learn – Bug Check 0x76: PROCESS_HAS_LOCKED_PAGES
- Microsoft Learn – Windows Debugging Documentation
Key Takeaways
DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS (0xCB) is a Windows kernel bug check associated with memory pages that were not properly released after an I/O operation.
The most useful approach is to examine the crash dump, identify the suspected driver and investigate its memory-management behaviour. WinDbg and the !lockedpages debugger extension provide additional information for advanced diagnosis.
Avoid unnecessary Windows reinstallation, RAM replacement or indiscriminate driver updates. The actual cause should be established through appropriate debugging and system-specific evidence.
Was this guide useful?
Your answer helps us keep BISONKB accurate and practical.