Given a matrix $M\in A^{n\times n}$, where $A$ is a commutative ring different from $\{0\}$, then we know that if there exists a vector $x\in A^n$ such that $Mx=0$, then $\det M$ must be a zero divisor.
The converse is true? That is, if $\det M$ is a divisor of zero, is it true that his kernel is non-trivial? And if $\det M=0$?
The only thing I obtained is that it's true for Principal Ideal Domains, thanks to the Smith Form.