If a master cylinder or piston shows any damage, replace them.

If a cup is worn, damaged softened (rotted), or swollen, the piston assembly should be replaced to renew the cups.
If fluid leakage is noted at the brake lever, the piston assembly should be replaced to renew the cups.
If they are damaged, replace them.
If the springs are damaged, replace them.
If the relief port becomes plugged, the brake pads will drag on the disc. Blow the ports clean with compressed air.
Front Master Cylinder [I] Rear Master Cylinder [J]

Rear Master Cylinder Installation
Brake DiscValve Removal
Remove the cylinder head (see Cylinder Head Removal).
Remove the valve lifter and shim.
Mark and record the valve lifter and shim locations so they
can be installed in their original positions.
Using the valve spring compressor assembly, remove the
valve.
Special Tools - Valve ...
Release Shaft Installation
Apply grease to the oil seal lips on the upper ridge of the
clutch cover.
Apply engine oil to the needle bearings in the hole of the
clutch cover.
Applymolybdenum disulfide grease to the pusher-holding
portion [A] on the release shaft.
Install the washer [B] and spring [C].
...
Stem, Stem Bearing Removal
Remove:
Upper Fairing Assembly (see Upper Fairing Assembly
Removal in the Frame chapter)
Front Fender (see Front Fender Removal in the Frame
chapter)
Front Wheel (see Front Wheel Removal in the
Wheels/Tires chapter)
Steering Stem Head with Handlebars (see Handlebar
Removal)
Fron ...