[Bug 294361] autofs: general protection fault while in kernel mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 Apr 2026 14:43:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294361

            Bug ID: 294361
           Summary: autofs: general protection fault while in kernel mode
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: rosenfeld@grumpf.hope-2000.org

This may or may not be related to bug #226413, but I'm seeing exactly the same
autofs warnings before it happens, and I'm using a wildcard in /etc/auto_home.

When shutting down the system, I sometimes get this panic:

WARNING: autofs_trigger_one: cv_wait_sig for /home/ failed with error -1
WARNING: autofs_trigger_one: cv_wait_sig for /home/ failed with error -1
WARNING: autofs_trigger_one: cv_wait_sig for /home/ failed with error -1


Fatal trap 9: general protection fault while in kernel mode
cpuid = 10; apic id = 0a
instruction pointer     = 0x20:0xffffffff83df4d06
stack pointer           = 0x28:0xfffffe01fe0907d0
frame pointer           = 0x28:0xfffffe01fe090850
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 7055 (tcsh)
rdi: fffff80106975ea0 rsi: 0000000000000004 rdx: fffff802390cf000
rcx: deadc0dedeadc0de  r8: fffff801f8ab5000  r9: ffffffff82264908
rax: deadc0dedeadc0de rbx: deadc0dedeadc0de rbp: fffffe01fe090850
r10: 0000000000000000 r11: 0000000000000001 r12: fffff801fc40b806
r13: 0000000000200000 r14: 0000000000000000 r15: fffff802390cf000
trap number             = 9
panic: general protection fault
cpuid = 10
time = 1775745385
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe01fe090550
vpanic() at vpanic+0x136/frame 0xfffffe01fe090680
panic() at panic+0x43/frame 0xfffffe01fe0906e0
trap_fatal() at trap_fatal+0x68/frame 0xfffffe01fe090700
calltrap() at calltrap+0x8/frame 0xfffffe01fe090700
--- trap 0x9, rip = 0xffffffff83df4d06, rsp = 0xfffffe01fe0907d0, rbp =
0xfffffe01fe090850 ---
autofs_trigger() at autofs_trigger+0xd6/frame 0xfffffe01fe090850
autofs_trigger_vn() at autofs_trigger_vn+0x98/frame 0xfffffe01fe0908b0
autofs_lookup() at autofs_lookup+0x20f/frame 0xfffffe01fe0909d0
VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0x57/frame 0xfffffe01fe090a00
vfs_lookup() at vfs_lookup+0x5aa/frame 0xfffffe01fe090a90
namei() at namei+0x35d/frame 0xfffffe01fe090af0
vn_open_cred() at vn_open_cred+0x54a/frame 0xfffffe01fe090c70
openatfp() at openatfp+0x2b7/frame 0xfffffe01fe090dd0
sys_openat() at sys_openat+0x3d/frame 0xfffffe01fe090e00
amd64_syscall() at amd64_syscall+0x169/frame 0xfffffe01fe090f30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe01fe090f30
--- syscall (499, FreeBSD ELF64, openat), rip = 0x708b64aa24a, rsp =
0x708b286e608, rbp = 0x708b286e700 ---
KDB: enter: panic
[ thread pid 7055 tid 101224 ]
Stopped at      kdb_enter+0x33: movq    $0,0x15e5d72(%rip)
db>

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