Study of race condition: A privilege escalation vulnerability