NetBSD-Bugs archive

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

Re: kern/60104: vnd use-after-free bug



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

From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: Showta Ishizaki <zakinko%snowrabbit.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, imuwoto%gmail.com@localhost, mlelstv%NetBSD.org@localhost
Subject: Re: kern/60104: vnd use-after-free bug
Date: Thu, 26 Nov 2026 15:47:27 +0000

 Thanks, I am working on getting fss, cgd, and vnd fixed, uniformly.
 
 They are all slightly different, and I started with fss because it was
 a little simpler, but I'm working on reconciling them and reducing
 unnecessary complexity -- flags, state, code paths, &c. -- and fixing
 other issues that arise along the way.  I'm doing it piecemeal rather
 than in one giant commit to justify each change and make it easy to
 narrow down regressions by bisection if I make a mistake.  See the
 flurry of changes in PR kern/60986: fssconfig panics on bad backing
 store type <https://gnats.NetBSD.org/60986>.
 
 > Date: Fri, 27 Nov 2026 00:28:54 +0900 (JST)
 > From: Showta Ishizaki <zakinko%snowrabbit.org@localhost>
 > 
 > Separately, the MODULE() line of cgd.c does not list adiantum, so
 > cgd.kmod does not load on its own on a kernel without cgd built in.
 
 Unfortunately, adding the adiantum dependency back (again) would make
 everything much, much worse, as you will see by reading the commit
 history.  There should perhaps be a PR for the underlying problem
 described in the cgd.c rev. 1.145 commit message.
 



Home | Main Index | Thread Index | Old Index