HomeFreeBSD

tests: Test for an epair panic

Description

tests: Test for an epair panic

if_epair abused the ifr_data field to insert its second interface in
IFC_IFLIST. If userspace provides a value for ifr_data it would get
dereferenced by the kernel leading to a panic.

Reported by: Ilja Van Sprundel <ivansprundel@ioactive.com>
MFC after: 3 days

Details

Provenance
kpAuthored on
Parents
rS357233: epair: Do not abuse params to register the second interface
Branches
Unknown
Tags
Unknown