Weeeellllll, it depends.
What brass? what steel? what conditions? Galvanic corrosion is a chemical reaction, and like most chemical reactions is subject to a lot of variables. And not all alloys react the same. The term "stainless steel" covers a lot of turf. For knives, I'll take it to mean ~14% chromium. For other uses I'd say stainless steel was in excess of 14% and could be in excess of 18% chromium.
The boat is an extreme case. You have electric currents from batteries and engines on boats and you are in salt water. You also have a very dynamic environment with fasteners rubbing against the fittings that hold them. This is a worst case scenario. You get problems there that you will not see anywhere else. (But I'm not sure that I would have a problem using brass and stainless even there. I suppose it would depend on what stainless someone wanted to use as some of the lower chromium grades might have problems. I would have problems big time if somebody wanted to use brass with galvanized carbon steel though. )
For galvanic corrosion to occur you need three things.
+ two metals that do not have the same electronegativity. We call these "dissimilar metals". The more dissimilar they are, the more stronger the drive toward corrosion.
+ contact between them. If the brass or bronze is coated, that coating might act as an insulator and might have to be penetrated.
+ moisture. Doesn't need to be a lot, but more moisture is worse than just a little. Salt makes the moisture worse. But remember that stainless steel has an outer oxide layer that protects it. Water has to get through that oxide layer and contact the actual metal.
There are a number of types of brass, but if I look in a galvanic series table, I see that the most common forms brass is dissimilar from most of the stainless steel alloys. But it's not tremendously dissimilar. The differenence is right about at the limit for what is considered acceptable. Titanium is far more dissimilar, yet we have no tales of knives dissintegrating when made with Ti liners.
I don't think brass rivets or liners causing corrosion would be an issue in any knife that is used away from a saltwater environment. And it might not be an issue then. Depends on exactly what grade of steel and exactly what grade of brass or bronze. Hmm. I'm repeating myself. That must mean I'm done now.