Suppose $f: Y \to X$ is a projective birational morphism between two varieties with mild singularities. For example, we can assume $X$ is normal and kawamata log terminal, $Y$ is $\mathbb Q$-factorial. If needed, we can even assume $Y$ is smooth.
My problem is, suppose $L$ is a Cartier divisor on $Y$, which is $\mathbb Q$-linearly equivalent to a pullback of $\mathbb Q$-Cartier divisor (i.e. $mL = f^*D$ for $m \in \mathbb N$, $D$ Cartier on $X$), then when does $L$ a pullback of Cartier divisor?
The case I am aware of are related to the cone theorem. For example, let's consider a normal surface $X$ with minimal resolution $Y \to X$. Suppose $K_Y=f^*K_X$, then in order to show $K_X$ is Cartier, the way I can think of is to evoke the argument for the cone theorem: show $|nK_Y|$ is $f$-globally generated for any $n>m \gg 1$. Then $nK_Y=f^*D_1, (n+1)K_Y=f^*D_2$ with $D_i$ Cartier, thus $K_Y=f^*(D_2-D_1)$ and $K_X=D_2-D_1$ is also Cartier. My feeling is there should be some simple argument for this case!
Are there other criteria (besides the cone theorem) guarantees that $L$ is a pullback of a Cartier divisor? Or what are examples that this property false? (examples in the weaker case where $L$ is $f$-numerically trivial are also very appreciated!)