🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

[Bug 300971] Fatal trap NUM: page fault while in kernel mode in free

#611
From: bugzilla-noreply
Date: Sat, 21 Nov 2026 08:18
88 lines
5490 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300971

            Bug ID: 300971
           Summary: Fatal trap NUM: page fault while in kernel mode in
                    free
           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 CAM 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/1jovsz9l4WctQwFJbYVwculY0iAIUOfHU?usp=sharing.
Note that the reproducer is flaky and may occasionally trigger a different
issue instead.

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   = 0x28
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff81801a1a bt_rembusy
sys/kern/subr_vmem.c:565 [inline]
instruction pointer     = 0x20:0xffffffff81801a1a vmem_xfree
sys/kern/subr_vmem.c:1614
stack pointer           = 0x28:0xfffffe00568fca40
frame pointer           = 0x28:0xfffffe00568fcb20
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         = 4 (doneq0)
rdi: 0000000000000028 rsi: fffffe006f9297b8 rdx: 0000000000000000
rcx: fffffe0002bfe6e8  r8: 000000000cef6a00  r9: 00000000000000ff
rax: fffffe0000000000 rbx: fffffe006f9297b8 rbp: fffffe00568fcb20
r10: 0000000000001700 r11: fffffe005815d550 r12: fffff80006001000
r13: 1fffffc00ad1f950 r14: 0000000000000000 r15: fffffe0057e9f000
trap number             = 12
panic: page fault
cpuid = 1
time = 1795230088
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 0xffffffff816521cc at free+0xdc _free sys/kern/kern_malloc.c:972 [inline]
#6 0xffffffff816521cc at free+0xdc sys/kern/kern_malloc.c:990
#7 0xffffffff8039e2cd at xpt_release_ccb+0x6d xpt_free_ccb
sys/cam/cam_xpt.c:4563 [inline]
#7 0xffffffff8039e2cd at xpt_release_ccb+0x6d sys/cam/cam_xpt.c:3850
#8 0xffffffff803a1688 at xpt_done_process+0xad8 sys/cam/cam_xpt.c:5378
#9 0xffffffff803a691c at xpt_done_td+0x36c sys/cam/cam_xpt.c:5433
#10 0xffffffff816004ae at fork_exit+0xde sys/kern/kern_fork.c:1200
#11 0xffffffff82344dde at fork_trampoline+0xe sys/amd64/amd64/exception.S:1065
Uptime: 55s
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-300971-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-mail

Show 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 300971] Fatal trap NUM: page fault while in kernel mode in free
Date: Sat, 21 Nov 2026 08:18:07 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-300971-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="50259"; 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=1795249087;
	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=ytld65yJ0ttnRf/jDPKbjUuB/LOk1i345hzGNAipuNM=;
	b=a4KyD+ib11+94Z1CWBFadVRmmRBHKefAothc5yL3acNskzLhGS+cCe+0dX30pnUvDa2ZoA
	39NTONjyWcXmdFSizZ9T2ObVsiSwQV131/srgShQOfV0LxDqyn1pfH3Dw5t6V8RwpSoYSn
	vonmt//jM3GX9Z0bhPPN95te8XZdhRlxLeVCkNlxHTMP8siAze6FsC+K2OvsmdA/mEvRrc
	nEfbBQOYHuPYschzDPk9of3VpVS8XtCBJBFkarv6gS0B5H2GyHOb4dXbWPDs66VyaHxTcY
	vAJjs7Z6JTzRv65qshzgcz2IuOx4MwNSg3Cgnbudg1Clwmg89yZMyMAkkT6yZw==
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