[Bug 292172] Nmap causes Fatal trap 12: page fault while in kernel mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 04 Jan 2026 02:06:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292172

            Bug ID: 292172
           Summary: Nmap causes Fatal trap 12: page fault while in kernel
                    mode
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: budijanto@studiokaraoke.co.id
             Flags: maintainer-feedback?(cy@FreeBSD.org)
          Assignee: cy@FreeBSD.org

Hi Folks,

# nmap 192.168.0.103

The server crashed and rebooted by itself. Here some information may be needed:

---cut
Jan  4 02:24:30 SPT-DB-P1 kernel: Fatal trap 12: page fault while in kernel
mode
Jan  4 02:24:30 SPT-DB-P1 kernel: cpuid = 10; apic id = 0a
Jan  4 02:24:30 SPT-DB-P1 kernel: fault virtual address = 0x10007
Jan  4 02:24:30 SPT-DB-P1 kernel: fault code        = supervisor read data,
page not present
Jan  4 02:24:30 SPT-DB-P1 kernel: instruction pointer   =
0x20:0xffffffff80ca2540
Jan  4 02:24:30 SPT-DB-P1 kernel: stack pointer         =
0x28:0xfffffe00d6479d70
Jan  4 02:24:30 SPT-DB-P1 kernel: frame pointer         =
0x28:0xfffffe00d6479db0
Jan  4 02:24:30 SPT-DB-P1 kernel: code segment      = base 0x0, limit 0xfffff,
type 0x1b
Jan  4 02:24:30 SPT-DB-P1 kernel:           = DPL 0, pres 1, long 1, def32 0,
gran 1
Jan  4 02:24:30 SPT-DB-P1 kernel: processor eflags  = interrupt enabled,
resume, IOPL = 0
Jan  4 02:24:30 SPT-DB-P1 kernel: current process       = 12 (irq128: re0)
Jan  4 02:24:30 SPT-DB-P1 kernel: rdi: fffffe00c2d28800 rsi: 000000000000ffff
rdx: fffff802c954e000
Jan  4 02:24:30 SPT-DB-P1 kernel: rcx: fffffe00c2d28e90  r8: 000000000000008a 
r9: 0000000000000014
Jan  4 02:25:33 SPT-DB-P1 syslogd: kernel boot file is /boot/kernel/kernel
Jan  4 02:25:33 SPT-DB-P1 kernel: rax: 0000000000000000 rbx: fffff80102c4c780
rbp: fffffe00d6479db0
Jan  4 02:25:33 SPT-DB-P1 kernel: r10: 0000000000000001 r11: fffffe00c2d2b000
r12: 000000000000ffff
Jan  4 02:25:33 SPT-DB-P1 kernel: r13: 0000000000004000 r14: 0000000000000000
r15: 0000000000008803
Jan  4 02:25:33 SPT-DB-P1 kernel: trap number       = 12
Jan  4 02:25:33 SPT-DB-P1 kernel: panic: page fault
Jan  4 02:25:33 SPT-DB-P1 kernel: cpuid = 10
Jan  4 02:25:33 SPT-DB-P1 kernel: time = 1767468270
Jan  4 02:25:33 SPT-DB-P1 kernel: KDB: stack backtrace:
Jan  4 02:25:33 SPT-DB-P1 kernel: #0 0xffffffff80bbe1ed at kdb_backtrace+0x5d
Jan  4 02:25:33 SPT-DB-P1 kernel: #1 0xffffffff80b71576 at vpanic+0x136
Jan  4 02:25:33 SPT-DB-P1 kernel: #2 0xffffffff80b71433 at panic+0x43
Jan  4 02:25:33 SPT-DB-P1 kernel: #3 0xffffffff81079f69 at trap_pfault+0x3c9
Jan  4 02:25:33 SPT-DB-P1 kernel: #4 0xffffffff8104ff18 at calltrap+0x8
Jan  4 02:25:33 SPT-DB-P1 kernel: #5 0xffffffff8087a0ef at re_rxeof+0x4bf
Jan  4 02:25:33 SPT-DB-P1 kernel: #6 0xffffffff80877d53 at re_intr_msi+0xf3
Jan  4 02:25:33 SPT-DB-P1 kernel: #7 0xffffffff80b2b2d9 at ithread_loop+0x239
Jan  4 02:25:33 SPT-DB-P1 kernel: #8 0xffffffff80b2786b at fork_exit+0x7b
Jan  4 02:25:33 SPT-DB-P1 kernel: #9 0xffffffff81050f3e at fork_trampoline+0xe
---cut

# freebsd-version -kru
15.0-RELEASE
15.0-RELEASE
15.0-RELEASE-p1

# pkg info nmap
nmap-7.94_3
Name           : nmap
Version        : 7.94_3
Installed on   : Sat Dec 20 02:27:59 2025 WIB
Origin         : security/nmap
Architecture   : FreeBSD:15:amd64
Prefix         : /usr/local
Categories     : security
Licenses       : NPSL
Maintainer     : cy@FreeBSD.org
WWW            : https://nmap.org/
Comment        : Port scanning utility for large networks
Options        :
        DOCS           : on
        NLS            : on
        PCAP           : off
        SSH2           : on
        SSL            : on
Shared Libs required:
        libc++.so.1
        libc.so.7
        libcrypto.so.35
        libcxxrt.so.1
        libgcc_s.so.1
        libm.so.5
        libpcap.so.8
        libssl.so.35
        libz.so.6
Annotations    :
        FreeBSD_version: 1500068
        build_timestamp: 2025-12-04T01:08:38+0000
        built_by       : poudriere-git-3.4.4-7-gd0e6e138
        cpe            : cpe:2.3:a:nmap:nmap:7.94:::::freebsd15:x64:3
        port_checkout_unclean: no
        port_git_hash  : e3fa556c9a509b3bc0e615815d8368b663c95dc3
        ports_top_checkout_unclean: no
        ports_top_git_hash: a5736339d01a59fcbee9a4225e63418e34132655
        repo_type      : binary
        repository     : FreeBSD-ports
Flat size      : 26.0MiB
Description    :
Nmap is a utility for network exploration and security auditing.
It supports various types of host discovery (determine which hosts
are up), many port scanning techniques for different protocols,
version detection (determine service protocols and application
versions listening behind ports), and TCP/IP stack fingerprinting
(remote host OS or device identification).  Nmap also offers
flexible target and port specification, decoy/stealth scanning,
sunRPC scanning, and much more.

Also included is Ncat, the nc(1) work-a-like of the Nmap project.
Refer to the separate port security/zenmap for those parts of the
Nmap toolset which depend on python.  The translated manual pages
for Nmap are contained in security/nmap-i18n-man.

See the web page and the Phrack Magazine article (Volume 7, Issue 51
September 01, 1997, article 11 of 17) https://nmap.org/p51-11.html


Thanks

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