The canker sore doesn't have to be caused by a bacterial infection or be infected for salt water rinses to be effective. Salt water helps shrink the mucosal membranes which can help with the helping process in addition to its antibacterial actions. I also don't think it matters whether or not it was caused by foreign bacteria or from normal flora because salt causes an osmotic shift and I don't think bacteria have a resistance mechanism to it.
