Article View: muc.lists.freebsd.bugs
Article #610[Bug 300970] Fatal trap NUM: page fault while in kernel mode in _thread_lock
From: 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
Technical Details
Message-ID:
<bug-300970-227@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!srv.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!srv.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 300970] Fatal trap NUM: page fault while in kernel mode in _thread_lock Date: Sat, 21 Nov 2026 08:03:11 +0000 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <bug-300970-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="35642"; 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=1795248191; 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=RRkDxlmcmI0E13L49yONpQPqVncrl/vflF8LQ4OC2ZU=; b=VQ1kU7j4KhcbocRE5mG3RdukWiqARyss1oeN2mgTSrwbpX0HdhYDfnEdez8GUZcbPAjSPw 37GmaF2dSuw1Oqypy1WEamJhdDPfg9+W3hyI03xfFnOU2BctmXOZbZuSJy+L4FzOlLG5PU 5VaBO7+1xNqeETgOSH+miJaYJA/e5imO+w7XI9D3cBunBW6W0869fGbVrszu9VRCL2X04G VZUvitqu8a7jChXQGjI6VRTpog72wKpe1o7gJwx0GYTKzvV77tZu988cJNnom95nvlwIH/ fvbio6GFvRDdUuoS+jYbyEYlBL7W8pJT/o5LIljrnZEanODeHZFDZoXCWjiJZw== 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