[PATCH 5.18 076/181] udmabuf: add back sanity check