Tell me please, is this is a ray shadow bug?
I render this scene:
and give that strange result for all types of ligh (e.g. sun, lamp, etc) when ray shadow used, and give right result for buffered shadow or shadow turned off.
Depends of camera position this artefact can different kind:
Or with no artefacts at all: