There's A Bug With NTFS In Windows 7 And 8.1 That Can Freeze Your PC

Image: Supplied

If you really want to make Windows crash, it's not that hard. Fire up Photoshop and resize an image by a billion per cent. Done. There are other ways that don't require third-party software of course, thanks to bugs in the operating system's core code and in the case of pre-Windows 10 platforms, the NT file system.

As Ars Technica's Peter Bright explains, exploiting the bug is easy. Just try and open the following "file":

c:\$MFT\123

OK, don't actually do that if you're running Vista, Windows 7 or 8.1.

Why does it make Windows blow up? Turns out $MFT is to blame. It's a hidden file containing metadata used by the file system and is usually protected from interference by the OS.

Except when you try and use it like a folder. Bright elaborates:

...the NTFS driver takes out a lock on the file and never releases it. Every subsequent operation sits around waiting for the lock to be released. Forever. This blocks any and all other attempts to access the file system, and so every program will start to hang, rendering the machine unusable until it is rebooted.

A more technical explanation of the bug can be found on Russian blog Habrahabr, which traces its origin all the way to the "NtfsCommonCreate" method of NTFS.

Apparently Microsoft knows about the bug. I'm sure a patch will materialise eventually.

[Habrahab, via Ars Technica]


Comments

    Bah, amateur hour...

    Try this bug on for size:
    1. Open a command prompt
    2. Type format c:
    3. Follow the prompts...

      Yeah thanks, now my PC won't start up at all. I thought I was going to change from my PC format to a Mac format.

        Lucky I didn't tell you walking off the nearest cliff with your laptop also causes it to crash...

          I don't believe that one, so I'm going to go test it out. It's an older laptop, so I don't care if it's permanently damaged.

        You weren't mistaken at all.
        Mac's not-booting function is a feature, not a bug :)

    This a bug...
    And your car is flawed because it is possible to slash the tires...

      If you hit your car with a sledgehammer it will break too!

      Wait! That one works on computers as well!! We could be onto some sinister conspiracy here...

        What happens if you hit your computer with a car?

          Careful!!!

          You could be opening a wormhole with talk like that...

Join the discussion!