HomeFreeBSD

MFC r337969:

Description

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

Details

Provenance
kpAuthored on
Parents
rS338105: Remove extra M_ZERO from NG_MKRESPONSE() argument.
Branches
Unknown
Tags
Unknown