There's a tool called cdparanoia[1] whose goal is to babysit the CD drive and ensure that it gets a complete, perfect, uninterrupted stream of bits off the drive, and will use a lot of tricks to go back and re-read any data that didn't come back cleanly. I always used it with abcde[2], which was a wrapper around it with album lookup, tagging, and ffmpeg support. I highly recommend anyone amassing a CD rip collection take a look at it, both are still packaged in present-day Ubuntu.
[1] https://www.xiph.org/paranoia/faq.html [2] https://abcde.einval.com/wiki/