Patch "ray_cs: Avoid reading past end of buffer" has been added to the 4.9-stable tree