UBS overshot its credit and counterparty risk estimates for the rest of the year in the second quarter, and raised its forecast for the remainder of 2018.