[Bug 250309] devmatch: panic: general protection fault: sysctl_devices() -> sysctl_root_handler_locked() in hw.bus.devices sysctl handler when plugging in USB mouse

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Sep 2022 00:30:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250309

--- Comment #3 from sigsys@gmail.com ---
Created attachment 236405
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=236405&action=edit
updated patch

Here's the refreshed patch in case it helps until a better fix is developed. 
Looking at it, I suspect it would be better to unlock before calling
kobj_delete() in device_delete_child()...  But I no longer have the
panic-inducing mouse to test it.  It gave out.

-- 
You are receiving this mail because:
You are on the CC list for the bug.