Article View: muc.lists.freebsd.bugs
Article #595[Bug 300955] Fatal trap NUM: page fault while in kernel mode in devfs_kqfilter_f
From: bugzilla-noreply
Date: Sat, 21 Nov 2026 05:09
Date: Sat, 21 Nov 2026 05:09
88 lines
5593 bytes
5593 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300955
Bug ID: 300955
Summary: Fatal trap NUM: page fault while in kernel mode in
devfs_kqfilter_f
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/c reproducers can be found at
https://drive.google.com/drive/folders/19eTP3fYLB3lYxqZriVPIABPIeYRTEhjD?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 = 0xb0
fault code = supervisor write data, page not present
instruction pointer = 0x20:0xffffffff80d5aae9 netmap_kqfilter
sys/dev/netmap/netmap_freebsd.c:1473
stack pointer = 0x28:0xfffffe0056ba3000
frame pointer = 0x28:0xfffffe0056ba3170
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 = 1631 (syz-executor)
rdi: 00000000000000b0 rsi: 0000000000000000 rdx: 0000000000000000
rcx: fffffe0002bfe6e8 r8: 0000000000000000 r9: 0000000000000001
rax: fffffe0000000000 rbx: fffffe006e3dedc0 rbp: fffffe0056ba3170
r10: 0000000000000000 r11: fffffe0058548cd0 r12: 0000000000000000
r13: 1fffffc00ad74604 r14: fffffe0056ba3100 r15: dffff7c000000000
trap number = 12
panic: page fault
cpuid = 0
time = 1795167117
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 0xffffffff812e4643 at devfs_kqfilter_f+0x153 sys/fs/devfs/devfs_vnops.c:1017
#7 0xffffffff815d2128 at kqueue_register+0x11b8 sys/kern/kern_event.c:1851
#8 0xffffffff815d5519 at kqueue_kevent+0x1b9 sys/kern/kern_event.c:1505
#9 0xffffffff815d519f at kern_kevent+0x1df kern_kevent_fp
sys/kern/kern_event.c:1536 [inline]
#9 0xffffffff815d519f at kern_kevent+0x1df sys/kern/kern_event.c:1476
#10 0xffffffff815d4714 at kern_kevent_generic+0x174 sys/kern/kern_event.c:1332
#11 0xffffffff815d442f at sys_kevent+0x1ef sys/kern/kern_event.c:1305
#12 0xffffffff8239c88e at amd64_syscall+0x45e syscallenter
sys/amd64/amd64/../../kern/subr_syscall.c:193 [inline]
#12 0xffffffff8239c88e at amd64_syscall+0x45e sys/amd64/amd64/trap.c:1267
#13 0xffffffff823446ab at fast_syscall_common+0xf8
sys/amd64/amd64/exception.S:570
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-300955-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 300955] Fatal trap NUM: page fault while in kernel mode in devfs_kqfilter_f Date: Sat, 21 Nov 2026 05:09:28 +0000 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <bug-300955-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="12979"; 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=1795237768; 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=IiDsMmYg33I/9m3zo/SykXwT9TG2zq0RiC3niV4wDhU=; b=Di6qkLxZPow92w4U+UxqQG0taz/45xD4R/ut7IKXbQyR5hzieZGunp7U0IPjNwslVGBZj7 NeEBz8sxe9z1HWh8UKQyjMuXyjqR4KhlWVED0yTagePqX9rf+h1oBfjlQcogu351/SCbQh jNKsKyWFBsnxvBtgF1bE6Iy7AbHbsqvWy6IwMHTgF/8r/eOXi596XiS/IZuf1OzdtlPKau 39BjiHWunzOqHN8o8OflSxWxKBy9rctiA1UI8+v4sFXxe22W2ALZoLGrXbX66SNFiXwiEa LGrNNDVxv+9g/PbO7rIBbMArSmrQY7pQtXfYo4d2zElfC5TkKxSo6t6q7YRbtA== 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