fs: adjust position validation in reading methods
#42835
Merged
position validation in reading methods
#42835