K 10 svn:author V 6 gordon K 8 svn:date V 27 2023-09-06T17:38:31.555849Z K 7 svn:log V 1095 pf: handle multiple IPv6 fragment headers With 'scrub fragment reassemble' if a packet contains multiple IPv6 fragment headers we would reassemble the packet and immediately continue processing it. That is, we'd remove the first fragment header and expect the next header to be a final header (i.e. TCP, UDP, ICMPv6, ...). However, if it's another fragment header we'd not treat the packet correctly. That is, we'd fail to recognise the payload and treat it as if it were an IPv6 fragment rather than as its actual payload. Fix this by restarting the normalisation on the reassembled packet. If there are multiple fragment headers drop the packet. Reported by: Enrico Bassetti bassetti@di.uniroma1.it (NetSecurityLab @ Sapienza University of Rome) Approved by: so Security: FreeBSD-SA-23:10.pf Security: CVE-2023-4809 Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit 76afcbb52492f9b3e72ee7d4c4ed0a54c25e1c48) (cherry picked from commit 8922b9ac0b48749be42689ea959e6a1664f96b12) Git Hash: 0692341b263e1baa17f5bbbe1d957b7e94eb647b Git Author: kp@FreeBSD.org END