Let $V$ be a $n$-dimensional vector space over a field $F$, let $A\in \text{End}(V)$.
Let $q\in F[x]$ be an irreducible polynomial and $$ V_q:=\{x∈V:q(A)x=0\}. $$
I wish to prove that $V_q$ is not trivial iff $q$ divides the characteristic polynomial $\chi$ of the operator $A$.
Let $\mu(x)$ be the minimal polynomial of $A$ (i.e. the polynomial of least degree such that $\mu(A)=0$). Suppose $q$ is irreducible. Then $q$ divides $\chi$ if and only if $q$ divides $\mu$ (since $\mu$ and $\chi$ have the same irreducible factors).
Now suppose $\mu(x)=p(x)q(x)$ and let $V_q=\ker q(A)$. Suppose $V_q$ is trivial, then since $V$ is finite dimensional, $q(A)$ is an isomorphism. Also since $\mu(A)=0$ and $q(A)$ is an isomorphism, one finds that $p(A)=0$. Due to minimality of $\mu$ this cannot happen unless $\deg q(x)=0$.