Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2011 07:40:09 GMT
From:      PseudoCylon <moonlightakkiy@yahoo.ca>
To:        freebsd-net@FreeBSD.org
Subject:   Re: kern/153938: [run] [panic] [patch] Workaround for use-after-free panic
Message-ID:  <201101230740.p0N7e98A074643@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/153938; it has been noted by GNATS.

From: PseudoCylon <moonlightakkiy@yahoo.ca>
To: bug-followup@freebsd.org, Juergen Lock <nox@jelal.kn-bremen.de>
Cc: Juergen Lock <nox@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@jelal.kn-bremen.de>
 > To: PseudoCylon <moonlightakkiy@yahoo.ca>
 > Cc: bug-followup@freebsd.org; Juergen Lock <nox@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
 
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101230740.p0N7e98A074643>