Hey did you find a solution? I maybe found something that could interest you !
Complementing @thebrain anwser, I totally wiped and fixed bad sectors on a old SSD drive I fought was borked because of alot of unallocated pending sectors. (In/out errors)
Keep in mind this is advanced stuff and could not work in your case and EVEN brick your hard drive. You will lost all your data and everything will be rewriten.
Manually rewrite sectors
https://leo.leung.xyz/wiki/Hdparm
Full wipe with "--security-erase-enhanced"
https://tinyapps.org/docs/wipe_drives_hdparm.html
This can take some time (3hours in my case) and it looks like your terminal is stuck, don't worry just wait until it finishes !
Again this can be DANGEROUS ! Only attempt such mesure if you don't care to lose your hard drive.