🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

[Bug 300941] Fatal trap NUM: page fault while in kernel mode in xpt_release_ccb

#582
From: bugzilla-noreply
Date: Fri, 20 Nov 2026 08:43
85 lines
5397 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300941

            Bug ID: 300941
           Summary: Fatal trap NUM: page fault while in kernel mode in
                    xpt_release_ccb
           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 C/syz reproducers can be found at
https://drive.google.com/drive/folders/1Ce7GBvMe4wfYOrq68i0teSf9a7T6FWz2?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   = 0x20c
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff8202f244 cache_uz_flags
sys/vm/uma_int.h:303 [inline]
instruction pointer     = 0x20:0xffffffff8202f244 uma_zfree_arg
sys/vm/uma_core.c:4536
stack pointer           = 0x28:0xfffffe00568fcad0
frame pointer           = 0x28:0xfffffe00568fcb60
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: 000000000000020c rsi: fffffe006b7f37b8 rdx: 0000000000000000
rcx: fffffe0002bfe6e8  r8: 0000000000000000  r9: 0000000000000001
rax: fffffe0000000000 rbx: 0000000000000080 rbp: fffffe00568fcb60
r10: 0000000000000000 r11: fffffe0058558550 r12: 0000000000000000
r13: 0000000000000000 r14: fffffe006b7f37b8 r15: fffffe0053a53800
trap number             = 12
panic: page fault
cpuid = 1
time = 1795161422
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 0xffffffff8039e2f1 at xpt_release_ccb+0x91 uma_zfree sys/vm/uma.h:409
[inline]
#6 0xffffffff8039e2f1 at xpt_release_ccb+0x91 xpt_free_ccb
sys/cam/cam_xpt.c:4561 [inline]
#6 0xffffffff8039e2f1 at xpt_release_ccb+0x91 sys/cam/cam_xpt.c:3850
#7 0xffffffff803a1688 at xpt_done_process+0xad8 sys/cam/cam_xpt.c:5378
#8 0xffffffff803a691c at xpt_done_td+0x36c sys/cam/cam_xpt.c:5433
#9 0xffffffff816004ae at fork_exit+0xde sys/kern/kern_fork.c:1200
#10 0xffffffff82344dde at fork_trampoline+0xe sys/amd64/amd64/exception.S:1065
Uptime: 47s
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-300941-227@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.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!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.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 300941] Fatal trap NUM: page fault while in kernel mode in
 xpt_release_ccb
Date: Fri, 20 Nov 2026 08:43:45 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-300941-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="53059"; 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=1795164225;
	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=U8DKkmHDUvSqVL7Ll9voSQcl8u8vjWmmOEbXwRi2sKc=;
	b=Mk8bFdB+GQhyMqScLu5JCHyxgMWZNCiH7pvA/Z2MQJ3lc3UACbfvM8vRFCcgSfU9fZJiOO
	Adq39EASJioGJ7iA/m9hRVp6LFiaezPLOxBnJ6jqoJ9PJU/rH9kLIAYTOgeXlEUegR2Wj4
	Rm0lO7EldbCfGh6Z5m3DH3psgkj72H8LFQlJ0/BJgefL8QGsIiUMo3ko8k+S3iZxZnAby8
	5V99y/crOSI5CewxnO7NRSb9GXSwzc8hnPUyjCCggqg6jqpWmy+vpqOmErGOSlLmTO9sju
	LfSI0ccb7531XBu+zBCRoQa/TAcsq1sRhRbs55lC6Je+L1+zpLtg1hV9L5MjSQ==
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