tmpfs(4) did not clear the set-group-ID bit when a file was created by a user who was not a member of the file's group. An unprivileged local user with write access to a tmpfs(4) directory owned by a group they do not belong to can create a set-group-ID executable for that group, and so gain that group's privileges. For example, where /tmp is a tmpfs(4) mount, any local user can obtain the privileges of the wheel group, which owns /tmp.