Subject: Re: kernel panic in nfs_reclaim (kern/17107)
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: tech-kern
Date: 10/01/2002 09:14:48
vnodes are never freed. Perhaps the NFS mount code needs the vnode vreffed
to not have it reclaimed for something else behind its back?

Jaromir

der Mouse wrote:
[ Charset ISO-8859-1 unsupported, converting... ]
> > This carsh confuses me a little - if filesystem is unmounted,
> > shouldn't all vnodes associated with it be gone?  If so, then how
> > comes this particular rogue vnode was still around?
> 
> It seems likely to me that the problem is that the vnode *isn't* still
> around, but a pointer to it is.  Is there code already in place to
> optionally have kernel malloc fill data blocks with junk in free()?
> It's a little more expensive, but it's usually effective at turning up
> use-after-free bugs like what I speculate this is.
> 
> /~\ The ASCII				der Mouse
> \ / Ribbon Campaign
>  X  Against HTML	       mouse@rodents.montreal.qc.ca
> / \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
> 


-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-