Ryzen stock coolers are not meant for overclocking. They are designed to cool the CPU at stock speeds. If overclocking is your thing, go for a beefy cooler with a large heatsink to keep the temperatures under control.