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 DiscFuse Box Fuse Removal
Remove the left upper inner fairing (see Upper Inner Fairing
Removal in the Frame chapter).
Unlock the hook [A] to take off the fuse box 1 [B].
Unlock the hook [C] to lift up the lid.
Pull the fuses [A] straight out of the fuse box 1 with needle
nose pliers.
Fuse Box 2
...
CAN Communication (Transmission)/CAN Bus OFF Monitor Inspection (Service Code
b 57) CAN Communication (Reception) Monitor Inspection (Service Code b 58)
Remove:
Seat (see Seat Removal in the Frame chapter)
Immobilizer (Equipped Models)/Kawasaki Diagnostic
System Connector Cap [A]
Measure the CAN communication line resistance.
Immobilizer (Equipped Models)/Kawasaki Diagnostic
System Connector [A]
GY/BL Terminal [B]
LB Ter ...
Exhaust Butterfly Valve Actuator Resistance Inspection
Turn the ignition switch to OFF.
Disconnect the exhaust butterfly valve actuator lead connector
(2 pins connector) [A].
Set the hand tester to the × 1 Ω range and connect it to
the exhaust butterfly valve actuator connector.
Special Tool - Hand Tester: 57001-1394
Measure ...