Gogar nailed it.
My Fender jazz bass does the same thing but only when I turn one pickup down, with both pickups turned all the way up I don't get any buzz.
You may want to check the ground on your amp.
Some amps have a ground lift or reverse switch.