kern/153938: [run] [panic] [patch] Workaround for
use-after-free panic
PseudoCylon
moonlightakkiy at yahoo.ca
Sun Jan 23 07:40:09 UTC 2011
The following reply was made to PR kern/153938; it has been noted by GNATS.
From: PseudoCylon <moonlightakkiy at yahoo.ca>
To: bug-followup at freebsd.org, Juergen Lock <nox at jelal.kn-bremen.de>
Cc: Juergen Lock <nox at jelal.kn-bremen.de>
Subject: Re: kern/153938: [run] [panic] [patch] Workaround for use-after-free panic
Date: Sat, 22 Jan 2011 23:35:14 -0800 (PST)
----- Original Message ----
> From: Juergen Lock <nox at jelal.kn-bremen.de>
> To: PseudoCylon <moonlightakkiy at yahoo.ca>
> Cc: bug-followup at freebsd.org; Juergen Lock <nox at jelal.kn-bremen.de>
> Sent: Fri, January 21, 2011 11:21:20 AM
> Subject: Re: kern/153938: [run] [panic] [patch] Workaround for use-after-free
>panic
>
> It's possible this was triggered by the first DPRINTFN() in
> run_node_cleanup() (that I turned into a device_printf() and meanwhile
> have disabled, maybe it caused a taskswitch)
Your bt says no.
> #5 0xffffffff8117839b in run_node_cleanup (ni=0xffffff8000f83000)
> at
>/data2v/home/nox/src-r81/src/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:1719
>
> 1719 RUN_LOCK(sc);
> (kgdb) l
run_node_cleanup() was called with node lock held. Happens all the time.
> - but in any case I'd
> say this is not safe i.e. needs to be fixed. :)
>
Yes. Here is fix. This one shall work.
http://gitorious.org/run/run/trees/fifo_fix/dev/usb/wlan
AK
More information about the freebsd-net
mailing list