HomeFreeBSD

pf: improve ASCONF chunk validation

Description

pf: improve ASCONF chunk validation

When processing an ASCONF chunk we failed to verify that the chunk
length was at least 8 bytes. As a result we might end up passing a
negative length to pf_multihome_scan(). Fortunately this merely meant
the function did nothing, but we should discard such invalid packets, so
explicitly check for this.

MFC after: 1 week
Reported by: Mark Johnston
Sponsored by: Orange Business Services

Details

Provenance
kpAuthored on Apr 28 2026, 8:54 AM
Parents
rG7c450d1127c7: bnxt_en: Address review comments for core SR-IOV support
Branches
Unknown
Tags
Unknown