Not WW2, but during WW1 UB4 was sunk by HM armed smack Inverlochy* (about 50' on deck, if she was typical of her type):
http://www.gwpda.org/naval/ub4.htm
In WW2 - don't /think/ there were any claims of U-boat sinkings by MA/SB before they were converted to MGB - though it's possible that one did manage it (MA/SB were, IIRC, 60'

. Again, I don't /think/ there were any successes against U-boats by armed drifters (generally less than 80'

, but a number were sunk by ASW trawlers, most of which were significantly smaller than the big 165' cutters.
* Probably also the only sailing warship to sink a submarine.