As long as there is no mold or funny smell then black bananas are perfectly fine to use.  Take note that you may need more bananas because as they ripen they lose volume. So a large banana that has ripened to the point that it is black in color will probably only be about ¼-⅓ cup when mashed, whereas a large banana that is soft and brown will probably be about ½ cup mashed.