The vfs flags could have any random value from stack. This bug was introduced back in 7723dac337
7723dac337