[PATCH 5.15 619/731] binfmt_misc: fix shift-out-of-bounds in check_special_flags