Thread View: muc.lists.freebsd.bugs
2 messages
2 total messages
Started by bugzilla-noreply
Sat, 21 Nov 2026 11:28
[Bug 300978] Fatal trap NUM: page fault while in kernel mode in handleevents
Author: bugzilla-noreply
Date: Sat, 21 Nov 2026 11:28
Date: Sat, 21 Nov 2026 11:28
202 lines
11947 bytes
11947 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300978
Bug ID: 300978
Summary: Fatal trap NUM: page fault while in kernel mode in
handleevents
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 callout(?) 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/1SJcX-AqZ1me0Pv1jsYeVBkfCOgVxwrmM?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 = 0x0
fault code = supervisor write data, page not present
instruction pointer = 0x20:0xffffffff8170d668 callout_process
sys/kern/kern_timeout.c:498
stack pointer = 0x28:0xfffffe00568ed460
frame pointer = 0x28:0xfffffe00568ed5b0
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = resume, IOPL = 0
current process = 7 (dom0)
rdi: 0000000000000000 rsi: 0000000000000000 rdx: 0000000000000000
rcx: fffffe0002bfe6e8 r8: 0000000000000000 r9: 0000000000000001
rax: fffffe0000000000 rbx: fffffe0057c27ea0 rbp: fffffe00568ed5b0
r10: 0b1450b25e159d49 r11: fffffe009baddcd0 r12: 0000000000000000
r13: fffffe0057c27eda r14: 0000000000000000 r15: 0000000000000000
trap number = 12
panic: page fault
cpuid = 0
time = 1048611
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 0xffffffff81582135 at handleevents+0x445 sys/kern/kern_clocksource.c:212
#7 0xffffffff81583aea at timercb+0x5aa sys/kern/kern_clocksource.c:353
#8 0xffffffff8256a6d5 at lapic_handle_timer+0x145 sys/x86/x86/local_apic.c:1465
#9 0xffffffff823440e1 at Xtimerint+0xb1 sys/amd64/amd64/apic_vector.S:125
#10 0xffffffff82356779 at smp_targeted_tlb_shootdown_native+0x659 critical_exit
sys/sys/systm.h:202 [inline]
#10 0xffffffff82356779 at smp_targeted_tlb_shootdown_native+0x659
sys/amd64/amd64/mp_machdep.c:675
#11 0xffffffff82366ed9 at pmap_remove_all+0xf59 sys/amd64/amd64/pmap.c:6574
#12 0xffffffff8208baee at vm_page_try_remove_all+0xfe vm_page_try_blocked_op
sys/vm/vm_page.c:4594 [inline]
#12 0xffffffff8208baee at vm_page_try_remove_all+0xfe sys/vm/vm_page.c:4615
#13 0xffffffff8209b3bc at vm_pageout_scan_inactive+0xf7c
sys/vm/vm_pageout.c:1609
#14 0xffffffff82096611 at vm_pageout_worker+0xcf1 vm_pageout_inactive_dispatch
sys/vm/vm_pageout.c:1711 [inline]
#14 0xffffffff82096611 at vm_pageout_worker+0xcf1 vm_pageout_inactive
sys/vm/vm_pageout.c:1760 [inline]
#14 0xffffffff82096611 at vm_pageout_worker+0xcf1 sys/vm/vm_pageout.c:2193
#15 0xffffffff8209589e at vm_pageout+0x2ce sys/vm/vm_pageout.c:2427
#16 0xffffffff815ff54e at fork_exit+0xde sys/kern/kern_fork.c:1200
#17 0xffffffff8234341e at fork_trampoline+0xe sys/amd64/amd64/exception.S:1065
Uptime: 1m19s
Automatic reboot in 15 seconds - press a key on the console to abort
VM DIAGNOSIS:
10:05:59 Registers:
info registers vcpu 0
CPU#0
RAX=0000000000000065 RBX=ffffffff83a32e90 RCX=0000000000000065
RDX=00000000000003f8
RSI=00000000000003f8 RDI=0000000000000000 RBP=fffffe00568ec7f0
RSP=fffffe00568ec7f0
R8 =0000000000000000 R9 =0000000000000001 R10=0000000000000017
R11=fffffe009baddcd0
R12=0000000000000000 R13=00000000000003f8 R14=0000000000000001
R15=ffffffff83a32e98
RIP=ffffffff817769a5 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 00002d764ea03af0 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=8005003b CR2=0000000000000000 CR3=000000000498a520 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=0000000000000000 RBX=fffffe00568fc508 RCX=ffffffff817b4948
RDX=0000000000000400
RSI=0000000000000000 RDI=ffffffff817b495d RBP=fffffe00568fc470
RSP=fffffe00568fc450
R8 =0000000000000000 R9 =0000000000000001 R10=0000000000000000
R11=fffffe009bae2cd0
R12=ffffffff832000a0 R13=fffffe00568fc500 R14=fffffe00568fc500
R15=00000000000003f2
RIP=ffffffff817b4952 RFL=00000246 [---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 00002d764ea03af0 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=8005003b CR2=0000000826283f08 CR3=000000000498a002 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
```
--
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
[Bug 300978] Fatal trap NUM: page fault while in kernel mode in handleevents
Author: bugzilla-noreply
Date: Sat, 21 Nov 2026 16:10
Date: Sat, 21 Nov 2026 16:10
16 lines
2501 bytes
2501 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300978
Mark Linimon <linimon@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |crash
--
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads