Ba has made just three appearances for Sunderland, and he has admitted that his future is still not decided.
He said: “I don’t know what is going to happen. In football, you can never fix your plans. Sunderland are a good club and I enjoyed the year I spent there. It went well.
“But it depends on what happens over the next few months with the clubs, the negotiations and the coach.”
Ba has spent the season on loan with Bastia, although a series of injuries have restricted him to just seven appearances for the Ligue 1 side.
He originally arrived on Wearside at the start of last season, making a goalscoring debut in an FA Cup victory over Carlisle. He featured in the next round against Kidderminster, and made his Premier League debut on the last day of the season as a substitute - registering 16 minutes of action against Swansea City.
However, he was sent out on loan this season with first-team chances looking unlikely. Due to his injuries - he broke his leg last October - he has done little to impress, although he could feature in Bastia’s last few games of the campaign.
His loan deal included an option for Bastia to make the deal permanent this summer, although his lack of football is likely to see them turn down that option.
So far, it appears as if next season will be spent at the Stadium of Light, hoping to break into the first-team. If relegation ensues it is likely that many first-team players leave the club, potentially giving Ba a chance to impress. If not, he will probably spend the season on another loan deal away from the club, rounding off his short career as a Sunderland player.