Like everything about ChatGPT, the fake citation issue is complicated. Yes, it often makes them up. But it has memorized the details of millions of real papers, so it's an excellent tool — better than search — for finding papers you've encountered long ago and vaguely remember.