Let me guess, you are using Big Sur 11.3 beta? See this thread.
If you are using 11.2.x, see this thread, and maybe report back more information on whether you are going through the same steps before the black pages appear. Are you using a ScanSnap scanner? Have you recently updated the ScanSnap software?
Oh, and welcome to the forum 