]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r337969:
authorkp <kp@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 20 Aug 2018 15:43:08 +0000 (15:43 +0000)
committerkp <kp@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 20 Aug 2018 15:43:08 +0000 (15:43 +0000)
commit5f1a6b144732c336f487b0c58b3cca95b9a98f0d
treeec676258cb57078f912454430f92c7800e20e423
parent616b9f3f4f5e4285fbbd4462ad4649e542e75314
MFC r337969:

pf: Limit the maximum number of fragments per packet

Similar to the network stack issue fixed in r337782 pf did not limit the number
of fragments per packet, which could be exploited to generate high CPU loads
with a crafted series of packets.

Limit each packet to no more than 64 fragments. This should be sufficient on
typical networks to allow maximum-sized IP frames.

This addresses the issue for both IPv4 and IPv6.

Security: CVE-2018-5391
Sponsored by: Klara Systems

git-svn-id: svn://svn.freebsd.org/base/stable/10@338106 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netpfil/pf/pf_norm.c