NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/55333 (KASSERT "vrefcnt(vp) > 0")

The following reply was made to PR kern/55333; it has been noted by GNATS.

From: Andrew Doran <>
Subject: Re: kern/55333 (KASSERT "vrefcnt(vp) > 0")
Date: Thu, 11 Jun 2020 20:34:08 +0000

 There are two bugs here by the looks of it and they're both a bit absurd:
 - When the tmpfs is mounted, mp->mnt_vnodecovered gets set = rootvnode,
   which is perfect, except that it's set on the actual root file system and
   not the newly mounted fs.
 - vp is NULL and there was no fault taken when it was dereferenced.

Home | Main Index | Thread Index | Old Index