A vulnerability in the Linux kernel's 9p filesystem implementation caused incorrect handling of access mode flags. The issue arose because access mode flags were ORed together instead of being replaced, leading to incorrect permission checks. This caused privileged operations such as chown by root to fail due to the use of an invalid user ID. The flaw has been fixed by clearing the access mask before applying user-specified access modes.