[PATCH 5.4 387/658] binfmt_misc: fix shift-out-of-bounds in check_special_flags