Roger Federer is in the draw for the US Open, but it remains unclear whether he will be fit to take part in the final grand slam of the year.

The United States Tennis Association confirmed on Wednesday that Federer was one of six former men's champions to receive direct entry into the draw.

Federer this month withdrew from the Olympic Games, citing a setback with his knee, on which he had two surgeries in 2020.

The Swiss, though, expressed his desire to return the tour, with Flushing Meadows providing his last chance to add to his tally of 20 major titles in 2021.

A five-time winner in New York, Federer has not reached the final at the US Open since 2015.

In the women's singles draw, Naomi Osaka and Serena Williams have each received direct entries into the draw.

Reigning champion Osaka missed Wimbledon having withdrawn from the French Open after the first round to protect her well-being amid a fallout following her decision to not attend post-match media conferences.

Williams is still awaiting a record-tying 24th grand slam title, the 39-year-old forced to retire from her first-round match at Wimbledon because of an injury to her right leg.