The motherboard. Both are actually fine, but the motherboard needs a bios update. So return the motherboard and get a x470 chipset motherboard and it will work like a champ.
The x470 is a more mature platform anyway and memory support is much better. You will save yourself some more potential headaches by replacing the motherboard with a x470 instead of using the AMD CPU loaner program to update the b350.