fixed race for for concurrent read access of byte buffers from vfs
(cherry picked from commit 0491567b19450dcc39b74520dd6f0ffa79f73ccb)