How remove mask texture
The brush you have selected has it's type set to mask and there is no image chosen as the stencil image. Most likely you selected the mask brush.

To get out of it, you need to select a stencil image, then you can change the brush or the brush type. You then need to remove the stencil image from the slots menu or by disabling the "Mask" checkbox.