REFERENCE_BY_POINTER (stop code 0x18) is one of the more cryptic blue screens Windows throws. The name sounds like a programming lecture, and honestly, it kind of is one — it means a driver messed up its internal bookkeeping of a system memory object. But you do not need to understand kernel reference counting to fix it. You just need to find the bad driver.
On Windows 11 24H2 this error has become more common because the update tightened driver behavior, exposing bugs in older drivers that previously flew under the radar. Here’s the practical path to a stable system.
Why this happens
- An outdated third-party driver: The classic cause — a driver written for older Windows mishandles object references under 24H2’s stricter rules.
- Network adapter drivers: Wi-Fi and Ethernet drivers are frequent offenders for this specific stop code, especially Realtek, Intel, and Killer/Qualcomm adapters.
- Antivirus or firewall filter drivers: Security software hooks deep into the kernel, and older versions are notorious for reference-count bugs.
- Recently updated drivers with regressions: A brand-new driver version can introduce the bug — “latest” does not always mean “most stable.”
- Corrupted driver files on disk: Partially updated or disk-damaged driver binaries behave unpredictably.
- Faulty RAM: Less common for this code, but bad memory cells can corrupt the reference counts Windows maintains.
- Overclocked or unstable system: Marginal CPU/RAM stability produces erratic driver behavior that surfaces as reference-count violations.
How to fix it
Work through these in order, starting at Fix 1. Identifying the driver first saves you from updating things blindly.
Fix 1: Identify the crashing driver from the minidump
Don’t guess — read the crash dump and let Windows tell you which driver failed.
- After a crash, boot back into Windows (use Safe Mode if normal boot blue-screens: interrupt startup three times to reach recovery).
- Press Win + R, type
%SystemRoot%\Minidump, and press Enter. - Open the newest
.dmpfile with BlueScreenView (free from NirSoft) — the lower pane highlights the driver, e.g.Netwtw10.sys(Intel Wi-Fi) orrtwlane.sys(Realtek). - Write down the exact file name. If the dump names
ntoskrnl.exeonly, the real culprit is hiding — proceed to Fix 5 for driver verification techniques.
Driver-caused crashes often travel together; if you also see IRQL errors, our IRQL_NOT_LESS_OR_EQUAL guide covers the sibling stop code.
Fix 2: Update the identified driver
Once you know the culprit, replace it with a current, clean version.
- Open Device Manager (Win + X > Device Manager) and locate the device.
- Right-click it and choose Update driver > Search automatically for drivers.
- If Windows finds nothing newer, download the driver manually: for Intel hardware use the Intel Driver & Support Assistant ; for your laptop model, check the manufacturer’s support page for 24H2-certified drivers.
- Install, restart, and use the laptop normally for a couple of days to confirm the crashes stop.
Fix 3: Roll back if a recent driver update triggered it
If the blue screens started within days of a driver or Windows update, the new driver is guilty until proven innocent.
- In Device Manager, right-click the device, open Properties, and go to the Driver tab.
- Click Roll Back Driver, select a reason, and confirm.
- Restart and monitor. Keep the older driver until the vendor releases a fixed version.
- To prevent Windows Update from pushing the bad driver again, check Settings > Windows Update > Advanced options > Optional updates and skip that driver version.
Fix 4: Remove or update third-party antivirus and VPN clients
Filter drivers from security software are disproportionately represented in 0x18 crashes.
- Go to Settings > Apps > Installed apps.
- Uninstall your third-party antivirus and any VPN client temporarily. Windows Security (Defender) activates automatically and protects you meanwhile.
- Restart and test for 24-48 hours of normal use.
- If the crashes stop, download the absolute latest version of that software from the vendor’s official site and reinstall — do not reinstall the old installer you had lying around.
Fix 5: Run Driver Verifier to catch the culprit (advanced)
If dumps only blame ntoskrnl.exe, use Driver Verifier briefly to force the real offender to reveal itself.
- Press Win + R, type
verifier, and press Enter. - Choose Create standard settings, then Select driver names from a list.
- Select only third-party (non-Microsoft) drivers related to your suspects — network, storage, antivirus.
- Click Finish and restart. Use the laptop normally; Verifier will blue-screen on the violating driver and name it in the dump.
- Important: After identifying the driver, boot into Safe Mode and run
verifier /resetto turn Verifier off. Never leave it running permanently — see our Driver Verifier violation guide for why.
Fix 6: Test memory and repair system files
Rule out hardware and corruption as contributing factors.
- Press Win + R, type
mdsched.exe, press Enter, and choose Restart now and check for problems. - After Windows boots, open Terminal (Admin) (Win + X > Terminal (Admin)) and run
sfc /scannow. - Follow with
DISM /Online /Cleanup-Image /RestoreHealthif SFC finds damage it cannot fix. - If the memory test reports errors, reseat or replace the RAM — no driver update will fix physically bad memory.
Fix 7: Update the BIOS/UEFI firmware
On 24H2, outdated firmware can cause driver-hardware miscommunication that manifests as reference-count crashes.
- Check your current BIOS version: press Win + R, type
msinfo32, press Enter, and note BIOS Version/Date. - Visit your laptop manufacturer’s support page, compare with the latest release, and read the changelog for stability or 24H2 compatibility fixes.
- Follow the manufacturer’s flashing instructions exactly — keep the charger plugged in and do not interrupt the process.
- After the BIOS update, retest for several days.
Closing
REFERENCE_BY_POINTER looks intimidating, but it is almost always one misbehaving driver — and the minidump usually names it outright. Read the dump, update or roll back that specific driver, and clear out old antivirus filter drivers, and the 0x18 crashes stop. On Windows 11 24H2 specifically, make sure every driver you install is certified for 24H2 rather than carried over from an older build, because that version gap is where most of these crashes are born.
