  The measurement of $K^*(892)^0$ resonance production via its $K^+ \pi^-$
decay mode in inelastic p+p collisions at beam momenta 40--158 GeV/c
($\sqrt{s_{NN}}$=8.8--17.3 GeV) is presented. The data were recorded by the
NA61/SHINE hadron spectrometer at the CERN Super Proton Synchrotron. The
analysis of $K^*(892)^0$ was done with the template method. The results include
the double differential spectra $d^2 n/(dydp_T)$, $d^2 n/(m_T dm_T dy)$ as well
as dn/dy spectra.
