A BGP speaker receives an UPDATE message containing a malformed attribute. According to BGP specifications, which action does the receiving router take?
BGP treats a malformed path attribute as a fatal error under RFC 4271. The receiving speaker must send a NOTIFICATION with the appropriate error code and subcode, then tear down the peering session rather than silently discard the UPDATE or retain the route.
Why this answer
A malformed attribute or critical error triggers a NOTIFICATION message with an appropriate error code, followed by session teardown.