Not a US ruling but in the EU courts in 2012 upheld that copyright exhaustion happens even if a piece of software is "licensed not sold". Though many questions still remain and the ruling is pretty old now. [1]
Seems there was also some movement on this in France in 2019[2], though a french ruling I don't see why the same implementation wouldn't be applicable to all EU states based on the above.