[Bug 276426] amd64: microcode update caused a page fault trying to send data to the logger

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 18 Jan 2024 15:29:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276426

            Bug ID: 276426
           Summary: amd64: microcode update caused a page fault trying to
                    send data to the logger
           Product: Base System
           Version: 13.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: linimon@FreeBSD.org

(bugmeister note: I am forking this PR from 266730.  They may, or may not, be
related.)

Originally from  John F. Carr 2023-07-25 00:46:35 UTC:

I saw what may be the same crash on amd64 running 12.4-CURRENT, first boot
after upgrading from 12.3.  I started the microcode_update service and the
system promptly crashed.

#4  0xffffffff810d66af in trap_fatal (frame=<value optimized out>, 
    eva=<value optimized out>) at /data/freebsd/12/sys/amd64/amd64/trap.c:921
#5  0xffffffff810d66ff in trap_pfault (frame=0xfffffe002f78f9e0, 
    signo=<value optimized out>, ucode=<value optimized out>) at pcpu_aux.h:55
#6  0xffffffff810aec68 in calltrap ()
    at /data/freebsd/12/sys/amd64/amd64/exception.S:289
#7  0xffffffff810d2b73 in copyout_nosmap_std ()
    at /data/freebsd/12/sys/amd64/amd64/support.S:805
#8  0xffffffff80c29f2d in uiomove_faultflag (cp=0xfffffe002686a000, n=98, 
    uio=0xfffffe002f78fba0, nofault=<value optimized out>)
    at /data/freebsd/12/sys/kern/subr_uio.c:254
#9  0xffffffff80c32333 in pipe_read (fp=0xfffff80012598550, 
    uio=0xfffffe002f78fba0, active_cred=<value optimized out>, 
    flags=<value optimized out>, td=<value optimized out>)
    at /data/freebsd/12/sys/kern/sys_pipe.c:712
#10 0xffffffff80c2f3a5 in dofileread (td=<value optimized out>, fd=0, 
    fp=<value optimized out>, auio=0xfffffe002f78fba0, 
    offset=<value optimized out>, flags=<value optimized out>) at file.h:317
#11 0xffffffff80c2ef20 in sys_read (td=0xfffff8001cade740, uap=Unhandled dwarf
expression opcode 0xa3
)
    at /data/freebsd/12/sys/kern/sys_generic.c:289
#12 0xffffffff810d7267 in amd64_syscall (td=0xfffff8001cade740, traced=0)
    at subr_syscall.c:144
#13 0xffffffff810af58e in fast_syscall_common ()
    at /data/freebsd/12/sys/amd64/amd64/exception.S:582

The active process was "logger".

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