Discussion:
[Bug 252608] [panic] [usb] [if_ure] Kernel fault on ure disconnect
b***@freebsd.org
2021-04-13 13:39:17 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252608

--- Comment #16 from Ali Abdallah <***@suse.com> ---
@Hans, is there is any change to get the patches committed to stable/13?
Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-04-13 13:45:17 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252608

--- Comment #17 from Hans Petter Selasky <***@FreeBSD.org> ---
Hi,

The issue is still being discussed at:

https://reviews.freebsd.org/D28136

It's been a bit slow to proceed.

--HPS
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-05-21 13:02:49 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252608

--- Comment #18 from commit-***@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 <***@FreeBSD.org>
AuthorDate: 2021-01-12 17:51:09 +0000
Commit: Hans Petter Selasky <***@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.
b***@freebsd.org
2021-05-21 13:03:55 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252608

--- Comment #19 from Hans Petter Selasky <***@FreeBSD.org> ---
There are two more commits coming and this issue can be closed!
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-06-02 12:25:30 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252608

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=9f98b3ea746f97b61d37f1c11d0e7abb3cd81305

commit 9f98b3ea746f97b61d37f1c11d0e7abb3cd81305
Author: Hans Petter Selasky <***@FreeBSD.org>
AuthorDate: 2021-01-12 17:51:09 +0000
Commit: Hans Petter Selasky <***@FreeBSD.org>
CommitDate: 2021-06-02 11:25: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@
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(-)
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...