Does this wall look sound?

I want to hang pegboard and some French cleats on my garage walls, which have some cracks in the masonry. Are these likely to be cosmetic or structural defects? Assuming I hang everything from the studs, can I safely mount stuff on these walls?

enter image description here

enter image description here