Take a branch from the Release branch code i.e. sprint 2 in this case. Fix bug in this new branch, locally test and once bug is tested by QA team marge this new branch back to the Sprint 2 and sprint 6. We need to merge fix code in sprint 6 as well because if we not then in future releases same bug will re produce.