Re: Kernel panic in networking code
On Thu, Dec 9, 2021 at 12:35 PM Shawn Webb wrote: > > On Thu, Dec 09, 2021 at 12:05:30PM -0500, Mark Johnston wrote: > > On Thu, Dec 09, 2021 at 10:20:10AM -0500, Shawn Webb wrote: > > > Hey all, > > > > > > It looks like there's a potential deadlock in some networking code, > > > specifically with ipv4 jails. I can reproduce by running Poudriere on > > > 14-CURRENT. > > > > > > I am using HardenedBSD 14-CURRENT, but we don't have any changes to > > > any point in the code paths that would trigger/cause this kind of > > > kernel panic. > > > > > > I've uploaded the crash.txt file here: > > > https://hardenedbsd.org/~shawn/2021-12-09_crash-01.txt > > > > There is some WIP to address this in https://reviews.freebsd.org/D9 > > and its followup revision. > > Awesome. Thanks for the response! I'll follow along. I'm happy to test > out the patch before it lands if needed/wanted. I've been running glebius's revised D9 patch from Friday on my HardenedBSD -CURRENT box since he posted it, and I haven't had any jail related issues since. Granted I'm not running pourdriere builds either, but I guess I could kick one off... -Dustin
Re: Kernel panic in networking code
On Thu, Dec 09, 2021 at 12:05:30PM -0500, Mark Johnston wrote: > On Thu, Dec 09, 2021 at 10:20:10AM -0500, Shawn Webb wrote: > > Hey all, > > > > It looks like there's a potential deadlock in some networking code, > > specifically with ipv4 jails. I can reproduce by running Poudriere on > > 14-CURRENT. > > > > I am using HardenedBSD 14-CURRENT, but we don't have any changes to > > any point in the code paths that would trigger/cause this kind of > > kernel panic. > > > > I've uploaded the crash.txt file here: > > https://hardenedbsd.org/~shawn/2021-12-09_crash-01.txt > > There is some WIP to address this in https://reviews.freebsd.org/D9 > and its followup revision. Awesome. Thanks for the response! I'll follow along. I'm happy to test out the patch before it lands if needed/wanted. Thanks, -- Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc signature.asc Description: PGP signature
Re: Kernel panic in networking code
On Thu, Dec 09, 2021 at 10:20:10AM -0500, Shawn Webb wrote: > Hey all, > > It looks like there's a potential deadlock in some networking code, > specifically with ipv4 jails. I can reproduce by running Poudriere on > 14-CURRENT. > > I am using HardenedBSD 14-CURRENT, but we don't have any changes to > any point in the code paths that would trigger/cause this kind of > kernel panic. > > I've uploaded the crash.txt file here: > https://hardenedbsd.org/~shawn/2021-12-09_crash-01.txt There is some WIP to address this in https://reviews.freebsd.org/D9 and its followup revision.