Article View: muc.lists.freebsd.bugs
Article #597[Bug 300958] Fatal trap NUM: page fault while in kernel mode in netmap_ioctl
From: bugzilla-noreply
Date: Sat, 21 Nov 2026 05:17
Date: Sat, 21 Nov 2026 05:17
90 lines
5766 bytes
5766 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300958
Bug ID: 300958
Summary: Fatal trap NUM: page fault while in kernel mode in
netmap_ioctl
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 netmap subsystem. This issue is reproducible on the latest release
(release/15.1.0-p7, commit bb03631fe3b7a8bfa8071e8063f554528d4e4618).
The kernel console output, kernel config, and syz reproducers can be found at
https://drive.google.com/drive/folders/1D_ytiKodOdJvqTZT6Yma6KkQV1Xagrxy?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 = 0; apic id = 00
fault virtual address = 0xfffffdfc53afc828
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff80d79f08 netmap_vale_list
sys/dev/netmap/netmap_vale.c:375
stack pointer = 0x28:0xfffffe0056bdae60
frame pointer = 0x28:0xfffffe0056bdafd0
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 = 1622 (syz-executor)
rdi: fffffdfc53afc828 rsi: 0000000080000000 rdx: fffffe0058170000
rcx: fffffe0002bfe6e8 r8: 0000000000000000 r9: 0000000000000001
rax: fffffe0000000000 rbx: fffffe0053afc828 rbp: fffffe0056bdafd0
r10: 000000000000020d r11: fffffe0058170550 r12: fffffe0056bdaee0
r13: 0000000000000000 r14: fffffdfc53afc828 r15: ffffffff80000000
trap number = 12
panic: page fault
cpuid = 0
time = 1795185089
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 0xffffffff80d47e31 at netmap_ioctl+0x13f1 sys/dev/netmap/netmap.c:3060
#7 0xffffffff80d5a5ea at freebsd_netmap_ioctl+0x14a
sys/dev/netmap/netmap_freebsd.c:1507
#8 0xffffffff812e31d7 at devfs_ioctl+0x267 sys/fs/devfs/devfs_vnops.c:964
#9 0xffffffff81993f32 at vn_ioctl+0x432 VOP_IOCTL
usr/obj/usr/src/amd64.amd64/sys/RNFREEBSD/./vnode_if.h:633 [inline]
#9 0xffffffff81993f32 at vn_ioctl+0x432 sys/kern/vfs_vnops.c:1900
#10 0xffffffff812e4289 at devfs_ioctl_f+0x69 sys/fs/devfs/devfs_vnops.c:895
#11 0xffffffff8180d1d0 at kern_ioctl+0x5b0 fo_ioctl sys/sys/file.h:388 [inline]
#11 0xffffffff8180d1d0 at kern_ioctl+0x5b0 sys/kern/sys_generic.c:811
#12 0xffffffff8180cb29 at sys_ioctl+0x2e9 sys/kern/sys_generic.c:716
#13 0xffffffff8239c88e at amd64_syscall+0x45e syscallenter
sys/amd64/amd64/../../kern/subr_syscall.c:193 [inline]
#13 0xffffffff8239c88e at amd64_syscall+0x45e sys/amd64/amd64/trap.c:1267
#14 0xffffffff823446ab at fast_syscall_common+0xf8
sys/amd64/amd64/exception.S:570
Uptime: 45s
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-300958-227@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.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 300958] Fatal trap NUM: page fault while in kernel mode in netmap_ioctl Date: Sat, 21 Nov 2026 05:17:38 +0000 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <bug-300958-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="18863"; 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=1795238259; 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=sY7KDkz8wI8uSkvvU6RgKlL+c3AgNbWkxLSB2wPWHvg=; b=MDWcHEtZMEh5FxLZ8zgo2cDFEdoEVS0XmDKq7vrhQ9Esu+gPHyO/Zc8Hc2RHrYaiMk82sX zA8UzT5LfiIRvQGRge78BUvc+LhoDy5LETvE2md2OLi0sK9SrLEdxxjrNQwxg5sgbi5G/+ xQPFgONVBeNJhuBus3pIVOIlIjjrYHz1r7r9GXwAZ1wVsSxqHAQVK1BmMVmIXacfsjudQt Hcx+No6DrVBxJPAIYwnqsSaCiQnr7UcYiVaBAsR5V4ymr296xO31gnlcBdVtsQ8H/j0PfZ VW1Ix6sywIG+h1e9UJ5ciBWDECre1DhBcMn3TundxTQ/WBTZntBp3TLf+S691Q== 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