See the screenshots of the same operations done on JPEG and linked RAW layer.
Steps to reproduce:
1. Get a linked RAW layer (I didn't try embedded or just the legacy, maybe the same bug happens in those scenarios as well)
2. Get a rectangle layer and change the blend mode to exclusion
3. (Adjust the HSL color wheel if you wish, and then) change the opacity of the rectangle layer to something like 15%
4. See the result