Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Mar 2026 23:15:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 293701] GENERIC-KASAN fails to boot, #GP exception
Message-ID:  <bug-293701-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293701

            Bug ID: 293701
           Summary: GENERIC-KASAN fails to boot, #GP exception
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: amd64
               URL: https://github.com/freebsd/freebsd-src/pull/2069
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: kris@tranception.com

Created attachment 268665
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268665&action=edit
Screenshot of #GP exception raised by kernel during boot

16.0-RELEASE / GENERIC-KASAN kernel failed to boot on a Dell PowerEdge C6615
with an AMD EPYC 8224P CPU; UEFI BIOS caught a #GP exception (see attached
screenshot).

%RIP address from UEFI register dump pointed to kasan_memset() where %GS
relative pointer (curthread->td_pflags2) was dereferenced.

Investigation identified memset() call in wrmsr_early_safe_end() as culprit,
replacing call to memset() with direct assignment as per patch in github pull
request (see URL field in this bug report) resulted in a bootable GENERIC-KASAN
kernel.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

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