🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #594

[Bug 300954] Fatal trap NUM: page fault while in kernel mode in _vprintf

#594
From: bugzilla-noreply
Date: Sat, 21 Nov 2026 04:56
92 lines
5761 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300954

            Bug ID: 300954
           Summary: Fatal trap NUM: page fault while in kernel mode in
                    _vprintf
           Product: Base System
           Version: 15.1-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: r772577952@gmail.com

Hi FreeBSD maintainers,

When fuzzing freebsd kernel with our modified syzkaller, an issue is discovered
in the network interface subsystem, triggered via netmap. This issue is
reproducible on the latest release (release/15.1.0-p7, commit
bb03631fe3b7a8bfa8071e8063f554528d4e4618).

The kernel console output, kernel config, and syz/c reproducers can be found at
https://drive.google.com/drive/folders/1GnObPG7fXTVUp7kYX8YAdYj0yZTV1sVi?usp=sharing.
The issue report is also listed below (symbolized by our modified
syz-symbolize) to assist with the analysis:

```
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x0
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff817c4f31 kvprintf
sys/kern/subr_prf.c:788
stack pointer           = 0x28:0xfffffe0056c9d8c0
frame pointer           = 0x28:0xfffffe0056c9da70
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         = 1611 (syz-executor)
rdi: 0000000000000000 rsi: 0000000000000005 rdx: 0000000000000001
rcx: fffffe0002bfe6e8  r8: 0000000000000000  r9: 0000000000000000
rax: fffffe0000000000 rbx: 0000000000000000 rbp: fffffe0056c9da70
r10: 0000000000000000 r11: 0000000000000005 r12: fffffe0056c9dcde
r13: ffffffff817c66f0 r14: 0000000000000000 r15: 0000000000000025
trap number             = 12
panic: page fault
cpuid = 1
time = 1795187929
KDB: stack backtrace:
#0 0xffffffff817b1d89 at kdb_backtrace+0x119 sys/kern/subr_kdb.c:451
#1 0xffffffff816c2ab7 at vpanic+0x257 sys/kern/kern_shutdown.c:959
#2 0xffffffff816c2855 at panic+0xb5 sys/kern/kern_shutdown.c:887
#3 0xffffffff8239b914 at trap_pfault+0xc64 trap_fatal
sys/amd64/amd64/trap.c:1028 [inline]
#3 0xffffffff8239b914 at trap_pfault+0xc64 sys/amd64/amd64/trap.c:-1
#4 0xffffffff8239969a at trap+0x39a sys/amd64/amd64/trap.c:531
#5 0xffffffff82343db8 at calltrap+0x8 sys/amd64/amd64/exception.S:285
#6 0xffffffff817c79b6 at _vprintf+0x186 sys/kern/subr_prf.c:290
#7 0xffffffff817c7815 at vlog+0x55 sys/kern/subr_prf.c:321
#8 0xffffffff819f5fbb at if_printf+0x15b if_vlog sys/net/if.c:4055 [inline]
#8 0xffffffff819f5fbb at if_printf+0x15b sys/net/if.c:4066
#9 0xffffffff81a0a749 at ether_ifattach+0x359 sys/net/if_ethersubr.c:1017
#10 0xffffffff80d58fc7 at nm_os_vi_persist+0x327
sys/dev/netmap/netmap_freebsd.c:626
#11 0xffffffff80d7ab72 at netmap_vi_create+0x342
sys/dev/netmap/netmap_vale.c:1448
#12 0xffffffff80d7775e at netmap_get_pipe_na+0x40e
sys/dev/netmap/netmap_pipe.c:711
#13 0xffffffff80d40fb2 at netmap_get_na+0x3f2 sys/dev/netmap/netmap.c:1612
#14 0xffffffff80d48e12 at netmap_ioctl+0x23d2 sys/dev/netmap/netmap.c:2822
#15 0xffffffff80d640b9 at netmap_ioctl_legacy+0xa69
sys/dev/netmap/netmap_legacy.c:382
#16 0xffffffff80d473e8 at netmap_ioctl+0x9a8 sys/dev/netmap/netmap.c:3232
#17 0xffffffff80d5a5ea at freebsd_netmap_ioctl+0x14a
sys/dev/netmap/netmap_freebsd.c:1507
Uptime: 49s
Automatic reboot in 15 seconds - press a key on the console to abort
```

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

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-300954-227@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 300954] Fatal trap NUM: page fault while in kernel mode in
 _vprintf
Date: Sat, 21 Nov 2026 04:56:45 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-300954-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="2917"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795237004;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=srZSAOdETxgjf6RTqPPUMQZ4FeAj6IUtfEuJigIKx8E=;
	b=fWwW8p78lzzLjv/fg5nG/RzTSPbvpqEDQerkV1OlorB1Tbw2+8aADLiVYIFB4F4HleUrTw
	2ofXeCLLe1NHNlywX/rMjBaiF/N7xgBFGJM9uOJ94dm6DBA6eJrZcribvuLnCRLEycXXEs
	/X6DlGImXNGiZY3bR08i7YTCls4Aj5mbulplYjaKnmEgWe/Q2wg0tb0bCoS8T0rinbl1yP
	sD4ngfcuum+TK0TgaRJP8iwrtEjf6muuBK+ZRJ2NcXS/0Z8qwgW1ca5QzU5nGMeoj0MYZH
	i9weFSwQFcDYSBnZEXI/vFF0aRqfU5cAJNeHYxjkwXBAPb/+a14WSJ1dILUkXg==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes