Thread View: muc.lists.freebsd.bugs
1 messages
1 total messages
Started by bugzilla-noreply
Sat, 21 Nov 2026 07:09
[Bug 300963] Fatal trap NUM: page fault while in kernel mode in xpt_action_default
Author: bugzilla-noreply
Date: Sat, 21 Nov 2026 07:09
Date: Sat, 21 Nov 2026 07:09
97 lines
6209 bytes
6209 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300963
Bug ID: 300963
Summary: Fatal trap NUM: page fault while in kernel mode in
xpt_action_default
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/c reproducers can be found at
https://drive.google.com/drive/folders/1X_gzDYEd7A69gq6w_eYtAqBtP0TzeOa6?usp=drive_link.
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 = 0xfffff7bf6000000a
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff81779cd1 kasan_shadow_4byte_isvalid
sys/kern/subr_asan.c:358 [inline]
instruction pointer = 0x20:0xffffffff81779cd1 kasan_shadow_check
sys/kern/subr_asan.c:426 [inline]
instruction pointer = 0x20:0xffffffff81779cd1 __asan_load4_noabort
sys/kern/subr_asan.c:1127
stack pointer = 0x28:0xfffffe00569dbcd0
frame pointer = 0x28:0xfffffe00569dbcd0
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 = 1627 (syz-executor)
rdi: fffffffb00000053 rsi: ffffffff83208ed0 rdx: fffffffb00000056
rcx: 0000003f6000000a r8: 0000000000000000 r9: 0000000700000009
rax: fffff78000000000 rbx: fffffe0053b13740 rbp: fffffe00569dbcd0
r10: f3f3f3f3f3f3f3f3 r11: fffffe0058550cd0 r12: fffffffb00000053
r13: fffff7800ad3b7a8 r14: fffffe0053f9d800 r15: fffffffb00000003
trap number = 12
panic: page fault
cpuid = 0
time = 1795186659
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 0xffffffff80395690 at xpt_action_default+0xbe0 sys/cam/cam_xpt.c:2618
#7 0xffffffff8038bdea at cam_periph_runccb+0x25a sys/cam/cam_periph.c:1279
#8 0xffffffff80423f29 at passsendccb+0x429 sys/cam/scsi/scsi_pass.c:2245
#9 0xffffffff80422aad at passdoioctl+0x85d sys/cam/scsi/scsi_pass.c:1831
#10 0xffffffff80421913 at passioctl+0x33 sys/cam/scsi/scsi_pass.c:1751
#11 0xffffffff812e31d7 at devfs_ioctl+0x267 sys/fs/devfs/devfs_vnops.c:964
#12 0xffffffff81993f32 at vn_ioctl+0x432 VOP_IOCTL
usr/obj/usr/src/amd64.amd64/sys/RNFREEBSD/./vnode_if.h:633 [inline]
#12 0xffffffff81993f32 at vn_ioctl+0x432 sys/kern/vfs_vnops.c:1900
#13 0xffffffff812e4289 at devfs_ioctl_f+0x69 sys/fs/devfs/devfs_vnops.c:895
#14 0xffffffff8180d1d0 at kern_ioctl+0x5b0 fo_ioctl sys/sys/file.h:388 [inline]
#14 0xffffffff8180d1d0 at kern_ioctl+0x5b0 sys/kern/sys_generic.c:811
#15 0xffffffff8180cb29 at sys_ioctl+0x2e9 sys/kern/sys_generic.c:716
#16 0xffffffff8239c88e at amd64_syscall+0x45e syscallenter
sys/amd64/amd64/../../kern/subr_syscall.c:193 [inline]
#16 0xffffffff8239c88e at amd64_syscall+0x45e sys/amd64/amd64/trap.c:1267
#17 0xffffffff823446ab at fast_syscall_common+0xf8
sys/amd64/amd64/exception.S:570
Uptime: 50s
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
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