🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

[Bug 300959] Fatal trap NUM: page fault while in kernel mode in uma_zfree_arg

#600
From: bugzilla-noreply
Date: Sat, 21 Nov 2026 05:23
91 lines
5736 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300959

            Bug ID: 300959
           Summary: Fatal trap NUM: page fault while in kernel mode in
                    uma_zfree_arg
           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/1lN6DR8AtCU_cugW-_CfHx3_nffE_XOTY?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   = 0xfffff7bfffffed4a
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff8177ab72 kasan_shadow_8byte_isvalid
sys/kern/subr_asan.c:378 [inline]
instruction pointer     = 0x20:0xffffffff8177ab72 kasan_shadow_check
sys/kern/subr_asan.c:429 [inline]
instruction pointer     = 0x20:0xffffffff8177ab72 __asan_store8_noabort
sys/kern/subr_asan.c:1128
stack pointer           = 0x28:0xfffffe00568fca78
frame pointer           = 0x28:0xfffffe00568fca80
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: ffffffffffff6a50 rsi: 0000000000000206 rdx: 0000000000000007
rcx: 0000003fffffed4a  r8: 0000000000000000  r9: 0000000000000001
rax: fffff78000000000 rbx: fffffe000206e820 rbp: fffffe00568fca80
r10: 0000000000000000 r11: fffffe005852dcd0 r12: 0000000000000000
r13: ffffffffffffed48 r14: fffffe000206e810 r15: fffffe000206e828
trap number             = 12
panic: page fault
cpuid = 1
time = 1795192518
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 0xffffffff8202f605 at uma_zfree_arg+0x405 cache_bucket_push
sys/vm/uma_core.c:932 [inline]
#6 0xffffffff8202f605 at uma_zfree_arg+0x405 sys/vm/uma_core.c:4588
#7 0xffffffff81652191 at free+0xa1 _free sys/kern/kern_malloc.c:958 [inline]
#7 0xffffffff81652191 at free+0xa1 sys/kern/kern_malloc.c:990
#8 0xffffffff8039e2cd at xpt_release_ccb+0x6d xpt_free_ccb
sys/cam/cam_xpt.c:4563 [inline]
#8 0xffffffff8039e2cd at xpt_release_ccb+0x6d sys/cam/cam_xpt.c:3850
#9 0xffffffff803a1688 at xpt_done_process+0xad8 sys/cam/cam_xpt.c:5378
#10 0xffffffff803a691c at xpt_done_td+0x36c sys/cam/cam_xpt.c:5433
#11 0xffffffff816004ae at fork_exit+0xde sys/kern/kern_fork.c:1200
#12 0xffffffff82344dde at fork_trampoline+0xe sys/amd64/amd64/exception.S:1065
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-300959-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 300959] Fatal trap NUM: page fault while in kernel mode in
 uma_zfree_arg
Date: Sat, 21 Nov 2026 05:23:38 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-300959-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="23000"; 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=1795238618;
	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=g4zU7F5DtzFjr0MSrPtOv7vRMNe86cVjeaU77jGFiuE=;
	b=LY11fODMiqL+BT1NKhYmG4gcQ/+6aEjObZ8fZbdmID45Oe4cRBr8/Y1m43+epLnvroCJ+6
	TYjbLDh0Az4xybW+j71TiWwEoT9zm7gnzSo3+MJ4TJ4FwsRyM3ouxLvdp8DFQa6UI2uskk
	jVUadG1jreINGSsd25cyQ0dljF/UnkPgmhRu/UVsmy2xDxPUPNd9N+Vt7JX6bNClzowHcN
	WFjh+EG2HBvBYhV8J50QtvZcfF0o6PdTbi2Nrsv78T47VFgHU0fvbkyOmZZivIg2IThtg9
	9VBBxDBtAlVRiz7kxJQxwyPxWC8ra5GZBrdHlS/pT3m+XdcuYrEbx8RhnQrIfQ==
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