Cavalry can charge into massed infantry. They won't charge into formed and steady infantry.
At Borodino the final charge was aimed at the rear of the redoubt and was halted by massed musketry. Only after the redoubt was also assaulted by infantry to the front was the cavalry able to engage.
At The Battle of Shevardino Redoubt the attack was again a combined infantry / cavalry attack on an isolated position.