Windows 10

Microsoft has fixed a Windows 10 bug that could cause NTFS volumes to become corrupted by merely accessing a particular path or viewing a specially crafted file.

Last month, BleepingComputer reported on a new Windows bug that allows any users, including those with low privileges, to mark an NTFS volume as dirty. All a Windows user had to do to trigger the bug was to try to access a special path, shown in the image below.

Accessing path marks drive as corrupted
Accessing path marks drive as corrupted

Once Windows tried to access the path, it would state that the "The file of directory is corrupted and unreadable." and then marks the drive letter as corrupted and in need of repair.

Windows then prompts the user to reboot the computer and run chkdsk to fix the corruption.

Microsoft has said that the drive is not actually corrupted and Windows chkdsk will fix the problem. Unfortunately, in one of our tests and others, chkdsk did not fix the issue, and Windows 10 refused to boot again.

Microsoft fixes Windows 10 NTFS corruption bug

After the bug was disclosed, there was a hope that Microsoft would push out a fix as part of the February Patch Tuesday.

When that did not happen, Mozilla Firefox 85.0.1 added a check to prevent the path from being accessed, and OSR released an unofficial patch that blocked the path in Windows.

With this week's release of Windows 10 Insider build 21322, Microsoft has included an undocumented fix that prevents the path from being accessed.

Now when you attempt to access the path path, Windows 10 will report "The directory name is invalid," as shown below, and no longer marks the NTFS volume as corrupted.

NTFS corruption bug fixed in Windows 10 'Dev' channel
NTFS corruption bug fixed in Windows 10 'Dev' channel

Unfortunately, this fix has only landed in the Windows 10 Insider 'Dev' channel and not the Windows 10 21H1 'Beta' preview, the next feature update to be released this spring.

Unless Microsoft uplifts this fix to a Windows version being released sooner, we will likely be stuck with this bug for some time.

Related Articles:

Microsoft fixes bug behind incorrect BitLocker encryption errors

Microsoft April 2024 Patch Tuesday fixes 150 security flaws, 67 RCEs

Windows 10 KB5036892 update released with 23 new fixes, changes

New Windows driver blocks software from changing default web browser

Recent Windows updates break Microsoft Connected Cache delivery