This has happened to me a few times now. I try to rip a CD on my main machine (a Macbook Pro M1 Max) with an external DVD drive and there will be a certain track that it gets stuck on. I usually rip with iTunes/Music for simplicity, but when this happens I also try using XLD and it gets stuck on the same track that iTunes did. But then if I plug the exact same external DVD drive into my old 2015 Macbook Air (Intel i5) the CD rips with no issues at all.
Why would this happen? The drive is a random brand (Froibetz) usb drive from amazon.
As you can imagine the two machines are on different OS, but I don't think that's the issue because the Air is currently on Monterey, and I believe the MBP which is now on Sonoma was having the same issue back when it was running Monterey.