[Bug 252608] [panic] [usb] [if_ure] Kernel fault on ure disconnect

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 21 13:02:50 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252608

--- Comment #18 from commit-hook at FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=4eac63af23ddafc2b1dfb2aad2896f4513c37cdd

commit 4eac63af23ddafc2b1dfb2aad2896f4513c37cdd
Author:     Hans Petter Selasky <hselasky at FreeBSD.org>
AuthorDate: 2021-01-12 17:51:09 +0000
Commit:     Hans Petter Selasky <hselasky at FreeBSD.org>
CommitDate: 2021-05-21 12:59:19 +0000

    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@
    MFC after:      1 week
    Sponsored by:   Mellanox Technologies // NVIDIA Networking

 sys/dev/usb/net/uhso.c         | 2 +-
 sys/dev/usb/net/usb_ethernet.c | 9 ++++++---
 2 files changed, 7 insertions(+), 4 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-usb mailing list