HomeFreeBSD

Disallow TUN and TAP character device IOCTLs to modify the network device

Description

Disallow TUN and TAP character device IOCTLs to modify the network device
type to any value. This can cause page faults and panics due to accessing
uninitialized fields in the "struct ifnet" which are specific to the network
device type.

MFC after: 1 week
Found by: jau@iki.fi
PR: 223767
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS326361: Remove unused include.
Branches
Unknown
Tags
Unknown