Kinetic ballooning mode (KBM) instability in tokamak plasmas is studied with gyrokinetic theory. It is extended and improved of the theory of higher order kinetic ballooning mode which is not subject to second stabilization [Hirose A, et al. 1994 Phys. Rev. Lett. 72 3993]. It is verified that increasing ion temperature gradient ($\eta_i$) significantly enhances the instability of KBMs, and causes extended instability in the second MHD stable regime. Especially when $\eta_i\gtrsim 1$, the mode is unstable almost in the whole $\beta$ space from an experimental point of view, here $\beta$ is the ratio of kinetic pressure to magnetic pressure. It is found that for the case with relatively low safety factor ($1\lesssim q \lesssim 2$) and $\eta_i\approx 0$, which is generally in central regions of a tokamak plasma, the KBM instability can also be extended to the region of $\beta$ or $\alpha$ far beyond the second MHD stability boundary due only to impurity effect, here $\alpha=-Rq^2 (d\beta/dr)$. It has characteristics similar to the extended instability induced by $\eta_i$, while its instability window is narrower than the latter. From the observations, the unstable window of extended instability is finite. As the safety factor $q$ and magnetic shear $\hat {s}$ ($\equiv rdq/qdr$) increases, the “theoretical” critical $\beta$ of the second stable regime decreases and the $\alpha$ threshold increases. When the impurity effect is combined with the $\eta_i$ effect, the unstable window of the extended instability induced by $\eta_i$ can be greatly reduced by the former. In some cases, for instance as $\eta_i\gtrsim 1$ and $q$ is larger, and in the presence of impurity with mediate mass number, the impurity effect can even make the second stable regime of “experimental significance” re-appear in KBMs. The influence of $\eta_i$ and impurity effects on broadening mode structure of KBMs are smaller than $q$ and $\hat {s}$. The stability boundary based on $\hat {s}-\alpha$ plane conforms the above results.