I believe "gash" was originally a Naval term for rubbish or slops as in " heaving the gash over the side" (or words to that effect). In the RAF it came to mean anything with no owner, something available for use by anyone who wanted it, un-allocated time or space.
Mike W