4 comments

[ 2.7 ms ] story [ 14.5 ms ] thread
My thought specifically was that "core networking code" is code that handles untrusted, unsolicited data potentially from the entire world, written in C, with special performance requirements that gives programmers a license to eliminate redundant bounds checks wherever possible..
Except this isn’t triggered with an ICMP packet. All it takes to trigger the crash is a specially formatted TCP packet.
Except it’s not a received ICMP packet that triggers the issue, it’s a TCP packet with large IP and TCP options. The crash occurs because the XNU kernel is sending an ICMP error in response to that received TCP packet.