You can delete the form from your return and you should be able to e-file.
To remove Form 8582, please follow these steps:
Form 8582 is not showing in tools but when I attempt to file my state taxes I'm getting the error message for form 8582
Form 8582 is used to figure the amount of any passive activity loss.
If this is in your Maryland tax return, our team is working to resolve an error message in some Maryland state returns that gives an error message about Form 8582 needing an update, even if there are no passive losses to report.
Please sign up for notifications in this TurboTax Help article.
Notifications Maryland Form 8582 error
If the federal forms are all finalized and it is ready to e-file, you can choose to file just the federal return at this time, then come back when your state forms are ready and then e-file that return.
Note, if you don't e-file them together, you do have to wait until the federal is accepted before you can e-file the state. Sometimes this takes a day or even two.
Here is a TurboTax Help article with directions for when you return to file your state return.
File State after the Federal is Filed
If this is not a Maryland state return error message, please let us know if it is in the federal return or a different state. This will help us investigate the message.