[Bug 282533] 14.2-STABLE Panic after executing procstat on a process using netmap

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 04 Nov 2024 09:09:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282533

            Bug ID: 282533
           Summary: 14.2-STABLE Panic after executing procstat on a
                    process using netmap
           Product: Base System
           Version: 14.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: sg@efficientip.com

After using a netmap process (i.e bridge) and executing 'procstat -v
<bridge-pid>' I got the following panic:

panic: page fault
cpuid = 6
time = 1730707662
KDB: stack backtrace:
#0 0xffffffff80b1f46d at kdb_backtrace+0x5d
#1 0xffffffff80ad6e61 at vpanic+0x131
#2 0xffffffff80ad6d23 at panic+0x43
#3 0xffffffff81001a7b at trap_fatal+0x40b
#4 0xffffffff81001ac6 at trap_pfault+0x46
#5 0xffffffff80fd8f3e at calltrap+0x8
#6 0xffffffff80b360c8 at propagate_priority+0x58
#7 0xffffffff80b36a41 at turnstile_wait+0x2a1
#8 0xffffffff80ab6830 at __mtx_lock_sleep+0x120
#9 0xffffffff80a7065a at dev_refthread+0x8a
#10 0xffffffff80abed73 at kern_proc_vmmap_out+0x313
#11 0xffffffff80ac0f5d at sysctl_kern_proc_vmmap+0x7d
#12 0xffffffff80ae6f14 at sysctl_root_handler_locked+0x84
#13 0xffffffff80ae6396 at sysctl_root+0x216
#14 0xffffffff80ae69d1 at userland_sysctl+0x151
#15 0xffffffff80ae6840 at sys___sysctl+0x60
#16 0xffffffff810022ba at amd64_syscall+0xda
#17 0xffffffff80fd985b at fast_syscall_common+0xf8

Issue start since commit cdc72c4960656d581fd566425de7bfa50b3ef654
After reverting it I have no more panic.

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