HomeFreeBSD

Fix for use-after-free by if_ioctl() calls from user-space in USB drivers by

Description

Fix for use-after-free by if_ioctl() calls from user-space in USB drivers by
detaching the ifnet before the miibus.

PR: 252608
Suggested by: jhb@
Sponsored by: Mellanox Technologies // NVIDIA Networking

(cherry picked from commit 4eac63af23ddafc2b1dfb2aad2896f4513c37cdd)

Details

Provenance
hselaskyAuthored on Jan 12 2021, 5:51 PM
Parents
rG71370d8c7fc3: Properly define EPOCH(9) function macro.
Branches
Unknown
Tags
Unknown