Sounds like you have a clogged main drain line. Usually, these things don't block everything, but will slowly let some of the waste run by. So, upstairs has the full veritcal height of the pipe to fill up before you'd notice a problem. The clog is below the lower floors drains. Don't try chemicals to clean it out, you need a proper snake to clear it out.