Yes, packet #9 contains corrupted data.
I’ve made some research.
I configured W5300 SOCKET0 in macraw only. No more sockets configured.
I configured W5300 MAC and IP adress. W5300 answers ICMP ping hardware.
I only receive macraw packets, make no send activity.
After I send any UDP packet from PC to IP address W5300 is configured the next ICMP answer data from W5300 was always corrupted.
ICMP reply data starting from ICMP Identifier field contains exacly UDP received packet data starting from IP Identification field.
Moreover when I only configured W5300 SOCKET0 in MACRAW mode, configured IP and halted CPU I got the same corrupted ICMP answer after every UDP packet was sent to W5300. W5300 process ICMP hardware, no software processing involved on MACRAW SOCKET0.
So there were no W5300 SOCKET0 activity and buffer operations but ICMP answer data corrupted always after UDP packet received by W5300.
I suppose you have problem with ICMP ping in macraw mode.