Let $B$ be a commutative ring with $1$, let $A$ be a subring such that any unit of $B$ which belongs to $A$ is a unit of $A$, and let $\phi:F\to F'$ be a morphism of free $A$-modules such that $B\otimes_A\phi:B\otimes_AF\to B\otimes_AF'$ is an isomorphism.
Does this imply that $\phi$ is an isomorphism?
The answer is of course yes if $F$ and $F'$ have finite ranks, because we can use determinants.
The answer is also yes if $B$ is faithfully flat over $A$.