Thread View: muc.lists.freebsd.bugs
2 messages
2 total messages
Started by bugzilla-noreply
Sat, 21 Nov 2026 08:03
[Bug 300970] Fatal trap NUM: page fault while in kernel mode in _thread_lock
Author: bugzilla-noreply
Date: Sat, 21 Nov 2026 08:03
Date: Sat, 21 Nov 2026 08:03
95 lines
5731 bytes
5731 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300970
Bug ID: 300970
Summary: Fatal trap NUM: page fault while in kernel mode in
_thread_lock
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 ACPI(?) 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/1ROIKEx8fAtLgrge5RjUeHSTUAUFeBmdz?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 = 0; apic id = 00
fault virtual address = 0x18
fault code = supervisor write data, page not present
instruction pointer = 0x20:0xffffffff8176ef32 atomic_cmpset_long
sys/amd64/include/atomic.h:184 [inline]
instruction pointer = 0x20:0xffffffff8176ef32 kasan_atomic_cmpset_acq_ptr
sys/kern/subr_asan.c:853
stack pointer = 0x28:0xfffffe0056988480
frame pointer = 0x28:0xfffffe00569884a0
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 = 0 (acpi_task_1)
rdi: 0000000000000018 rsi: fffffe0002bfe6e8 rdx: fffffe00079fe780
rcx: 0000000000000000 r8: 0000000000000000 r9: 0000000000000003
rax: 0000000000000000 rbx: fffffe0093b3d000 rbp: fffffe00569884a0
r10: 0000000000000000 r11: fffffe00584dacd0 r12: 0000000000000000
r13: fffffe00079fe780 r14: 0000000000000018 r15: fffffe00079fe780
trap number = 12
panic: page fault
cpuid = 0
time = 1795196950
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 0xffffffff81663d8e at _thread_lock+0x5e sys/kern/kern_mutex.c:866
#7 0xffffffff816fdf84 at thread_single+0x524 sys/kern/kern_thread.c:1284
#8 0xffffffff8167b2f2 at stop_all_proc+0x722 sys/kern/kern_proc.c:3589
#9 0xffffffff8066dc1f at acpi_EnterSleepState+0x5df sys/dev/acpica/acpi.c:3394
#10 0xffffffff8067b809 at acpi_sleep_force_task+0x29 sys/dev/acpica/acpi.c:3147
#11 0xffffffff8066685c at acpi_task_execute+0x2c
sys/dev/acpica/Osd/OsdSchedule.c:140
#12 0xffffffff817eb92d at taskqueue_run_locked+0x4ad
sys/kern/subr_taskqueue.c:517
#13 0xffffffff817eefa8 at taskqueue_thread_loop+0x228
sys/kern/subr_taskqueue.c:829
#14 0xffffffff816004ae at fork_exit+0xde sys/kern/kern_fork.c:1200
#15 0xffffffff82344dde at fork_trampoline+0xe sys/amd64/amd64/exception.S:1065
Uptime: 59s
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
[Bug 300970] Fatal trap NUM: page fault while in kernel mode in _thread_lock
Author: bugzilla-noreply
Date: Sat, 21 Nov 2026 16:13
Date: Sat, 21 Nov 2026 16:13
16 lines
2501 bytes
2501 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300970
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