You can absolutely sell the car with a lien on it, but the lien needs to be paid off before the title transfers to the new owner. The bank holds the title as security for your loan, so they won't release it until that $8k is settled. The good news is you don't have to pay it all yourself upfront - the buyer's funds can cover it as part of the closing process.
Here's how it typically works: you coordinate with your lender and the buyer's financing company (or a title company if you're doing a private sale). The buyer's lender pays your lender directly, you get the difference, and the title gets released clean to the new owner. This all happens at closing, usually at a title office or dealership. You'll need to contact your bank now to get a payoff quote - that number can change daily with interest, so get it in writing and with a deadline. Let them know you're selling and ask about their process for lien releases; most banks have a department that handles this regularly.
One thing to watch: make sure the payoff amount is less than or equal to what the buyer's financing will cover plus any cash they're bringing. If you're underwater on the loan, that's a different situation - you'd need to bring cash to closing to cover the gap. But in your case with an $8k loan on a 2022 Civic, you should be fine. Set up that call with your bank this week and you'll be good to go for closing next week.