I will show a counterexample for the infinite dimensional case. Let $V$ be $\mathcal l_2 (\mathbb N)$, $K$ the right-shift operator, defined as $K(a_1, a_2, \ldots)=(0, a_1, a_2, \ldots)$ and $L$ the left-shift operator, defined as $L(a_1, a_2, \ldots)=(a_2, a_3, \ldots)$; they are both linear, and of course $LK=1_V$. It is also clear that $KL$ is not the identity.
The statement is true in the finite dimensional case, because a surjective/injective endomorphism is also injective/surjective (for example, because it sends basis in basis), so it is invertible, and moreover the inverse is unique.