Cuda::bitwise_and not working

My version is 4.5.2 and also seen a post for 4.5.3. cuda::bitwise_and() is apprently not working.
I passed a correct mask with same size and CV_8UC1 type into it.

small example snippet w. synthetic data would be helpful to reproduce it