I don’t believe that a wise engine designer would allow an event, like detonation, to occur just because an EGR system malfunctions. When I had an EGR valve go bad, it resulted in some light spark knock under acceleration. Detonation is catastrophic and can destroy an engine in short order.
EGR...