[PATCH 6.14 240/311] udmabuf: fix a buf size overflow issue during udmabuf creation