Welcome to healthcaremagic,
one stone blocking a single kidney
can cause pyelonephritis
so severe that it can kill you. however, it shall not cortical thinning of other kidney. you shall have different etiology for kidney thinning such as vesicoureteric reflux. you sholud see a urologist
and sort out your stone problem and also find out the cause of your bilateral cortical thinning.