I would guess it is probably be worth doing. If I were a buyer, I would notice that for sure and be worried.
Taking up carpet and putting the same carpet back down isn’t really all that costly for a professional installer.
Possible to get to it from underneath? Remove the drywall on the ceiling, put in glue and shim shingles. Maybe some johnson paste wax and a grease gun.