[Linux-stable-mirror] [PATCH 3.18 03/52] futex: Prevent overflow by strengthen input validation