In the Linux kernel, the following vulnerability has been resolved: futex: Use correct exit on failure from futexhashallocatedefault() copyprocess() uses the wrong error exit path from futexhashallocatedefault(). After exiting from futexhashallocatedefault(), neither tasklistlock nor siglock has been acquired. The exit label badforkcorefree unlocks both of these locks which is wrong. The next exit label, badforkcancelcgroup, is the correct exit. schedcgroupfork() did not allocate any resources that need to freed. Use badforkcancelcgroup on error exit from futexhashallocate_default().