[BLUE] Add IOCTL buffers validation. Addendum to commit bfd8a848.