Article View: muc.lists.freebsd.bugs
Article #615[Bug 300979] Fatal trap NUM: page fault while in kernel mode in link_elf_load_file
From: bugzilla-noreply
Date: Sat, 21 Nov 2026 11:40
Date: Sat, 21 Nov 2026 11:40
191 lines
11476 bytes
11476 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300979
Bug ID: 300979
Summary: Fatal trap NUM: page fault while in kernel mode in
link_elf_load_file
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 (release/15.1.0-p6, commit
95719d8a895bf8170851e9844d9b4092b1d2b6fe) with our modified syzkaller, an issue
is discovered in the kernel linker subsystem. Unfortunately, we don't have a
reproducer for this issue. We are working to analyze the root cause of this
issue and will provide updates as we make progress.
The kernel console output and kernel config can be found at
https://drive.google.com/drive/folders/1DqiYo3mTZyHIe-3zygPc2xcPqVpFPJGg?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 = 0xffffffff85009670
fault code = supervisor write data, protection violation
instruction pointer = 0x20:0xffffffff8500967c
stack pointer = 0x28:0xfffffe0056b24f18
frame pointer = 0x28:0xfffffe0056b24f50
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 = 1612 (syz-executor)
rdi: ffffffff82534c06 rsi: 0000000000080001 rdx: 000000000007ffff
rcx: fffffe0071e00000 r8: 0000000000000000 r9: fffffe0002bfe6e8
rax: fffffe006ae949c0 rbx: ffffffff85009670 rbp: fffffe0056b24f50
r10: 0000000000000001 r11: 0000000000000007 r12: ffffffff8561e160
r13: 0000000000000000 r14: 00000000000000ce r15: ffffffff8561e160
trap number = 12
panic: page fault
cpuid = 0
time = 1794734882
KDB: stack backtrace:
#0 0xffffffff817b0e29 at kdb_backtrace+0x119 sys/kern/subr_kdb.c:451
#1 0xffffffff816c1b57 at vpanic+0x257 sys/kern/kern_shutdown.c:959
#2 0xffffffff816c18f5 at panic+0xb5 sys/kern/kern_shutdown.c:887
#3 0xffffffff8239a914 at trap_pfault+0xc64 trap_fatal
sys/amd64/amd64/trap.c:1028 [inline]
#3 0xffffffff8239a914 at trap_pfault+0xc64 sys/amd64/amd64/trap.c:-1
#4 0xffffffff8239869a at trap+0x39a sys/amd64/amd64/trap.c:531
#5 0xffffffff823423f8 at calltrap+0x8 sys/amd64/amd64/exception.S:285
#6 0xffffffff8253004a at link_elf_load_file+0x292a sys/kern/link_elf_obj.c:1269
#7 0xffffffff816362b7 at linker_load_module+0x17b7 LINKER_LOAD_FILE
usr/obj/usr/src/amd64.amd64/sys/SYZKALLER/./linker_if.h:251 [inline]
#7 0xffffffff816362b7 at linker_load_module+0x17b7 linker_load_file
sys/kern/kern_linker.c:480 [inline]
#7 0xffffffff816362b7 at linker_load_module+0x17b7 sys/kern/kern_linker.c:2294
#8 0xffffffff8163b70e at kern_kldload+0x25e sys/kern/kern_linker.c:1238
#9 0xffffffff81929212 at vfs_byname_kld+0xa2 sys/kern/vfs_init.c:155
#10 0xffffffff8193d0e5 at sys_mount+0x1c5 sys/kern/vfs_mount.c:1094
#11 0xffffffff8239b88e at amd64_syscall+0x45e syscallenter
sys/amd64/amd64/../../kern/subr_syscall.c:193 [inline]
#11 0xffffffff8239b88e at amd64_syscall+0x45e sys/amd64/amd64/trap.c:1267
#12 0xffffffff82342ceb at fast_syscall_common+0xf8
sys/amd64/amd64/exception.S:570
Uptime: 42s
Automatic reboot in 15 seconds - press a key on the console to abort
VM DIAGNOSIS:
17:29:18 Registers:
info registers vcpu 0
CPU#0
RAX=fffffe006ae94960 RBX=ffffffff83a32e90 RCX=fffffe0071e00000
RDX=00000000000003fd
RSI=00000000000003fd RDI=0000000000000000 RBP=fffffe0056b242f0
RSP=fffffe0056b24298
R8 =0000000000000000 R9 =0000000000000001 R10=0000000000000000
R11=0000000000000007
R12=0000000000000005 R13=0000000000000001 R14=0000000000000000
R15=00000000000003f8
RIP=ffffffff817758e4 RFL=00000046 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =003b 0000000000000000 ffffffff 00c0f300 DPL=3 DS [-WA]
CS =0020 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA]
SS =0028 0000000000000000 ffffffff 00a09300 DPL=0 DS [-WA]
DS =003b 0000000000000000 ffffffff 00c0f300 DPL=3 DS [-WA]
FS =0013 000035aa3863f780 ffffffff 00c0f300 DPL=3 DS [-WA]
GS =001b ffffffff84a10000 ffffffff 00c0f300 DPL=3 DS [-WA]
LDT=0000 0000000000000000 ffffffff 00c00000
TR =0048 ffffffff84a10384 00002068 00008b00 DPL=0 TSS64-busy
GDT= ffffffff84a103ec 00000067
IDT= ffffffff8417b4e0 00000fff
CR0=80050033 CR2=ffffffff85009670 CR3=00000000500844dd CR4=007706e0
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000
DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000d01
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
YMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM02=0000000000000000 0000000000000000 ffffff0000000000 ffffffffffff0000
YMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000001
YMM04=0000000000000000 0000000000000000 0000000000000000 000000ffffffffff
YMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM06=0000000000000000 0000000000000000 5555555555555555 5555555555555555
YMM07=0000000000000000 0000000000000000 3333333333333333 3333333333333333
YMM08=0000000000000000 0000000000000000 0f0f0f0f0f0f0f0f 0f0f0f0f0f0f0f0f
YMM09=0000000000000000 0000000000000000 00000000000000ff 00000000000000ff
YMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000
info registers vcpu 1
CPU#1
RAX=fffffe0000000000 RBX=fffffe005852a000 RCX=fffffe0002bfe6e8
RDX=0000000000000000
RSI=0000000000000000 RDI=fffffe005852a2f8 RBP=fffffe0056c3dbd0
RSP=fffffe0056c3dbd0
R8 =0000000000000000 R9 =0000000000000000 R10=0000000000000018
R11=fffffe005852a550
R12=0000000000000000 R13=dffff7c000000000 R14=fffff7800ad87b88
R15=fffffe0058527040
RIP=ffffffff81778d2c RFL=00000286 [--S--P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =003b 0000000000000000 ffffffff 00c0f300 DPL=3 DS [-WA]
CS =0020 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA]
SS =0028 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA]
DS =003b 0000000000000000 ffffffff 00c0f300 DPL=3 DS [-WA]
FS =0013 000035cbb9e012f0 ffffffff 00c0f300 DPL=3 DS [-WA]
GS =001b ffffffff84a11000 ffffffff 00c0f300 DPL=3 DS [-WA]
LDT=0000 0000000000000000 ffffffff 00c00000
TR =0048 ffffffff84a11384 00002068 00008b00 DPL=0 TSS64-busy
GDT= ffffffff84a113ec 00000067
IDT= ffffffff8417b4e0 00000fff
CR0=80050033 CR2=000000110c85d873 CR3=000000006e1e43d7 CR4=007706e0
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000
DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000d01
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
YMM00=0000000000000000 0000000000000000 a9ccbb4dd5b4a6bd 000000000000002a
YMM01=0000000000000000 0000000000000000 ff0000000000ffff ffff00000000ffff
YMM02=0000000000000000 0000000000000000 0008000000000004 0000000b000c000a
YMM03=0000000000000000 0000000000000000 0008ffffffa20000 0000030000000000
YMM04=0000000000000000 0000000000000000 0000000000000000 000000ffffffffff
YMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM06=0000000000000000 0000000000000000 5555555555555555 5555555555555555
YMM07=0000000000000000 0000000000000000 3333333333333333 3333333333333333
YMM08=0000000000000000 0000000000000000 0f0f0f0f0f0f0f0f 0f0f0f0f0f0f0f0f
YMM09=0000000000000000 0000000000000000 00000000000000ff 00000000000000ff
YMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000
```
--
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-300979-227@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!srl.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!srl.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 300979] Fatal trap NUM: page fault while in kernel mode in link_elf_load_file Date: Sat, 21 Nov 2026 11:40:25 +0000 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <bug-300979-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="87169"; 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=1795261224; 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=v4ZdLrgsUWU6ytKuDFdzgpX5Mmi42mf8aOtt8rFoovo=; b=t+cm0XhgG4JoefsoB0oyu4lflH0PMBSGApQZepMGwlUt1mlWgnsD3oSQDeU9d1c/GpbdSq afShSizdaO+t6edzHtUZjhSYAyd6r70pWoq0I2AzCJRyZU85IUmEtUpoSL+bSNiivyBl9G ktbV3U29Mh2nhueaSMS1FA23ohRJKYb2fDWwi5OcoCsuBkfWAFJ698hafc9967+GVBhsli h/DesZou9oN7z5pnzgFm4vTWB1Qv5+cEaqksBj6rgUJjX8aQBcHwgw0yyRYNnIQtzxgYJZ bc6p2qWbm0cB6O5t0KExvTkzNd8VNXjb5/onUQ7SKvws0PoUQgYZV9P0F2G6Bw== 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