Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jun 2021 12:25:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 252608] [panic] [usb] [if_ure] Kernel fault on ure disconnect
Message-ID:  <bug-252608-19105-4Vp8kLKkYs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252608-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-252608-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252608

--- Comment #20 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D9f98b3ea746f97b61d37f1c11d0e7abb3=
cd81305

commit 9f98b3ea746f97b61d37f1c11d0e7abb3cd81305
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2021-01-12 17:51:09 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2021-06-02 11:25:19 +0000

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

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

    (cherry picked from commit 4eac63af23ddafc2b1dfb2aad2896f4513c37cdd)

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252608-19105-4Vp8kLKkYs>