ZwReadFile failed with STATUS_INVALID_PARAMETER

Hi all

I use ZwReadFile and ZwWriteFile functions in my driver. Everything
work fine, but sometimes I recieve STATUS_INVALID_PARAMETER error. All
parameters are correct and memory buffers aligned. This error occures
only when I read from Secure Digital card. The same operations with
hard drive allways return STATUS_SUCCESS. Can you help me? What can be
wrong?

P.S. IRP tracing shows, that STATUS_INVALID_PARAMETER returned from
USB Mass Storage device.

P.P.S. This error occures without any order, sometimes after several
thounds of read/write operations

Regards. Evgeny