Unable to run binary from fs-cifs mounted directory.

I am using QNX 6.2.1, and if I mount a windows drive using fs-cifs, when I try to run a binary that is stored on it I get the error:

sh: ./program.out: Bad file descriptor

If I copy that same program to other filesystem, then it works. What do I need to do?