Does this race include evading obstacles, or is this an assumed straight unimpeded line?
I'd say Surfer via technicality, because iirc, Flash enters the Speedforce if he exceeds a certain speed limit which would be illegal given the thread's stips, whereas Surfer can travel multiples of light without needing to enter hyperspace or creating singularities.