https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285025
Bug ID: 285025
Summary: CURVNET_SET_QUIET / CURVNET_RESTORE missing from
if_usie.c?
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: usb
Assignee: [email protected]
Reporter: [email protected]
I suspect that sys/dev/usb/net/if_usie.c is missing calls to
CURVNET_SET_QUIET and CURVNET_RESTORE. While fuzzing
if_usie.c, I get crashes here in netisr_dispatch_src() due to
curvnet being NULL:
#ifdef VIMAGE
if (V_netisr_enable[proto] == 0) {
And if I add calls to set/restore vnet around netisr_dispatch() calls
in usie_if_rx_callback(), the crashes go away. However, I don't know
if this problem could arise in real life, or if my fix is correct.
--
You are receiving this mail because:
You are the assignee for the bug.