Linux has a bug! Well, it's an "intentional bug" -- that is, Linus is aware of the issue, but chooses to not fix it, because it makes certain things faster. (I tried to find the specific discussion of this bug online and couldn't; if anyone does, please let me know!).
You can run this on a different operating system and it behaves as expected.