du = q + w
du = Cv.dT
q = T.ds
w = - p.dv
Cv.dT = T.ds - p.dV
Since this is an isothermal process, then dT = 0
T.ds = p.dv
ds = (p/T)dv
Since we are dealing with a perfect gas, then p/T = R/V
ds = (p/T)dv = (R/V)dv
=> ?S = R.ln(Vfinal/Vinitial)
Since we are dealing with an expansion process, then Vfinal > Vinitial
=> Vfinal/Vinitial > 1
=> ln(Vfinal/Vinitial) > 0
=> ?S > 0
The second law is not violated at all.