Anecdotally, at least two recovered people who were hospitalized with covid told me that they are in a mental fog several months after release with memory being significantly affected. This sucks.
This is absolutely my story. Brain fog took several years to clear up. My working memory and attention/ability to focus are still impaired about 10 years after (insert unknown virus here) infection (not SARS-CoV-2).